Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 09:28:57 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-questions@freebsd.org, "millueradfa@yahoo.com" <millueradfa@yahoo.com>
Subject:   Re: Some ideas for FreeBSD
Message-ID:  <20080207092634.J22656@wojtek.tensor.gdynia.pl>
In-Reply-To: <20080207151415.06393db1@meijome.net>
References:  <50460.33951.qm@web34512.mail.mud.yahoo.com> <20080206205042.H4868@wojtek.tensor.gdynia.pl> <20080207151415.06393db1@meijome.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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.

for those usable to write simple script - there is 
/usr/ports/sysutils/swapd

still - in XXI century disk sizes, even some overcommiting swap space 
doesn't make a problem.

if program needs 10 or more times swap than memory, the program should be 
changed to use less memory hungry algorithm, or be tunable (like sort with 
-S)

swap is NOT memory replacement



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