From owner-freebsd-questions@FreeBSD.ORG Mon Oct 2 04:49:27 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9311816A412 for ; Mon, 2 Oct 2006 04:49:27 +0000 (UTC) (envelope-from bob@tania.servebbs.org) Received: from mail1.panix.com (mail1.panix.com [166.84.1.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E7BD43D53 for ; Mon, 2 Oct 2006 04:49:26 +0000 (GMT) (envelope-from bob@tania.servebbs.org) Received: from mailspool3.panix.com (mailspool3.panix.com [166.84.1.78]) by mail1.panix.com (Postfix) with ESMTP id 6639A5A0AA for ; Mon, 2 Oct 2006 00:49:26 -0400 (EDT) Received: from tania.servebbs.org (pool-71-247-14-113.nycmny.east.verizon.net [71.247.14.113]) by mailspool3.panix.com (Postfix) with ESMTP id CE4C71130F42 for ; Mon, 2 Oct 2006 00:49:22 -0400 (EDT) From: Bob Organization: TamaraB To: freebsd-questions@freebsd.org Date: Mon, 2 Oct 2006 00:48:46 -0400 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610020048.47955.bob@tania.servebbs.org> Subject: SWAP priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Oct 2006 04:49:27 -0000 Hi: OK, I have 2 swaps, one on the main raid (4 20GB hot-swap drives) 1/0 and another on the secondary (2 20GB hot-swap drives) raid 1. All hardware raid via dell PERC2 Controllers. This is on my personal work-station, which I am now using multi-tasking more then I have ever done. When I first installed the system I allocated SWAP as a seperate partition on the main (logical) drive equal to 2X my phisical memory. It became obvious after a short while, that I had too little physical memory (1GB), and I was using swap often. While swapping, things slowed down. So, I added an additional 1GB of swap space (via swap file) on the secondary file system. I did this as per the manual. I now have more swap; my question is this: How can I tell the OS to use the new swap file BEFORE using the old one? Is there a way to tell the system to prioritize the use of multiple swaps? Bob