NCSA mlockall pbs_mom patch for ia64 cluster April, 2002 Wayne Louis Hoyenga, louis@ncsa.uiuc.edu Galen Arnold, arnoldg@ncsa.uiuc.edu What's this? ____________ This patch file modifies src/resmom/mom_main.c . A call to mlockall() is added to the first pass through the primary loop [near the end] to lock pbs_mom into RAM. We did this to keep pbs_mom from getting paged out on nodes actively paging. The modified pbs_mom responds better to qstat when a node is under load and it should stay alive and responsive as long as the kernel does. You can check memory usage and locked memory with this command on linux: for momid in `/sbin/pidof pbs_mom` do grep Vm /proc/${momid}/status done The patch has been run and tested on our ia64 linux cluster. mlockall() should work under Solaris and Irix too, but we have not tested it on those platforms. How to patch PBS: _________________ The patch was generated from OpenPBS_2_3_12 source. It should be compatible with other closely numbered versions. patch -N -p1 -l < pbs_mlockall.patch