Some ideas for FreeBSD
Wojciech Puchar
wojtek at wojtek.tensor.gdynia.pl
Thu Feb 7 08:30:32 UTC 2008
>
> 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
More information about the freebsd-questions
mailing list