swap or not?

Galen Arnold arnoldg at ncsa.uiuc.edu
Wed Feb 6 15:27:06 EST 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" ]
 then
       MAXMEM=1572864
 else
       MAXMEM=786432
 fi
 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.

-Galen






_______________________________________________
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf



More information about the Beowulf mailing list