On Wed, 14 Jan 2004, Martinez, Michael wrote: > In the 2.4.9 kernel series is it possible to assign a "Memory Use > Priority" that will make the memory subsystem prioritize keeping a > program's data space in memory rather than being swapped, similar to the > "nice" program that adjusts a program's scheduling priority? No, Linux does not have this possibility yet. In some versions (2.4-rmap, RHEL3, UL1) there is support for ULIMIT_RSS, which means that tasks exceeding their RSS limit are swapped out more aggressively. True support for memory priorities isn't there yet, though the CKRM project <http://ckrm.sf.net> has something that should work (and is almost ready). cheers, Rik -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/