swap or not?
arnoldg at ncsa.uiuc.edu
Wed Feb 6 12:27:06 PST 2002
Thanks to all who replied to my original question. While I received no
solid evidence that "/sbin/swapoff -a" is unworkable, I've decided to
implement something like this as suggested by Jim Phillips:
if [ $ppn = "1" ]
ulimit -m $MAXMEM
ulimit -d $MAXMEM
...in my job launching scripts. That's for systems with 1.5G memory. I
did test swapoff on 2.2.16 and 2.4.7 kernels with no ill effects.
More information about the Beowulf