commence Franz Reinhardt quotation: > On Sunday, 3. November 2002 03:09, you wrote: >> On 2 Nov 2002, Nishant Sharma wrote: >> > pages only under memory pressure. If the mem >> > consumption is less than the onboard ram then i suppose >> > no swapping should take place. Am i right here ??? >> >> Yes. >> >> > What will be the scenario like if i dont specify a swap >> > device at all ? >> >> The system will reclaim file-backed cache memory. > > Does it mean it takes a file (i.e. somewhere in /tmp ) for swapping ? No, I believe it means that the kernel will look for pages that cache file data and start throwing away the "eligible" ones. I don't know *exactly* what happens with dirty (modified) pages, but they would obviously be written to disk before being reclaimed. > What can I do to stop swapping at all ? Simply don't perform a swapon. -- / | [|] Sean Neakums | Questions are a burden to others; [|] <sneakums@zork.net> | answers a prison for oneself. \ | -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/