Archives


- Beowulf
- Beowulf Announce
- Scyld-users
- Beowulf on Debian

swap or not?

Many of your questions may have already been answered in earlier discussions or in the FAQ. The search results page will indicate current discussions as well as past list serves, articles, and papers.

Search

Galen Arnold 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" ]
 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









More information about the Beowulf mailing list