From owner-freebsd-questions@FreeBSD.ORG Thu Feb 7 04:14:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 551AA16A420 for ; Thu, 7 Feb 2008 04:14:37 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id EC6F813C461 for ; Thu, 7 Feb 2008 04:14:36 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 19605 invoked from network); 6 Feb 2008 22:14:37 -0600 Received: from 124-170-113-73.dyn.iinet.net.au (HELO localhost) (124.170.113.73) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 6 Feb 2008 22:14:36 -0600 Date: Thu, 7 Feb 2008 15:14:15 +1100 From: Norberto Meijome To: Wojciech Puchar Message-ID: <20080207151415.06393db1@meijome.net> In-Reply-To: <20080206205042.H4868@wojtek.tensor.gdynia.pl> References: <50460.33951.qm@web34512.mail.mud.yahoo.com> <20080206205042.H4868@wojtek.tensor.gdynia.pl> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.7; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "millueradfa@yahoo.com" Subject: Re: Some ideas for FreeBSD 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: Thu, 07 Feb 2008 04:14:37 -0000 On Wed, 6 Feb 2008 20:53:28 +0100 (CET) Wojciech Puchar wrote: > > > > My first is to allow for dynamically resizeable swap > > file of some sort, and via kqueue, a notification > > especially with todays drives - it's waste of time to implement this. > nobody use swap FILES at all if swapping is needed unless he/she have no > choice. > > swapping partition always will be faster. > > > believe this happened to when the swap partition and a > > swap file were on the same drive. Perhaps a way should > > be looked at to have multiple swap partititions and > > why you simply won't make swap partition BIGGER on the first place. > > swapping to files will be always much slower. Even if you HAD to use files, i can't imagine that writing a script that groks the output of the proper sysctl and creates a new swap file on demand would be that hard. But I agree with Wojciech..do you really want to use swap files? B _________________________ {Beto|Norberto|Numard} Meijome There are no stupid questions, but there are a LOT of inquisitive idiots. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.