[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suggestions for a new AMD64 system



On Fri, Nov 25, 2005 at 12:03:52PM -0500, Lennart Sorensen wrote:

> Well if an application can't swap in to finish its job, it might leave a
> file corrupted.

That is not _filesystem_ corruption. And it is not worse than just
cutting the power, so "disk containing swap dies" is no worse than any
other crash.

> Unless there is something that ram is needed for there is no point
> swapping things out.  Windows may not belive that, but linux at least
> seems to try and avoid swapping.

Linux pushes out inactive pages to swap so it can cache more active
pages in RAM. As long as the size of your working set (data you either
read or write) exceeds the size of RAM, getting rid of unneeded pages
and using the memory for caching is a win.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences,
     Laboratory of Parallel and Distributed Systems
     Address   : H-1132 Budapest Victor Hugo u. 18-22. Hungary
     Phone/Fax : +36 1 329-78-64 (secretary)
     W3        : http://www.lpds.sztaki.hu
     ---------------------------------------------------------



Reply to: