Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 15:14:15 +1100
From:      Norberto Meijome <freebsd@meijome.net>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org, "millueradfa@yahoo.com" <millueradfa@yahoo.com>
Subject:   Re: Some ideas for FreeBSD
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 6 Feb 2008 20:53:28 +0100 (CET)
Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080207151415.06393db1>