Why use swap when there is RAM free?

Florian Diesch diesch at spamfence.net
Thu Aug 13 22:42:51 UTC 2009


Vincent Arnoux <vincent.arnoux at gmail.com> writes:

> On Thu, Aug 13, 2009 at 16:00, Smoot Carl-Mitchell<smoot at tic.com> wrote:
>> It will when the swapped pages are needed again.  There is no reason to
>> do the I/O when it is not required.
>
> OK, I had the impression it was smarter to put data back to RAM anyway
> as I will for sure need it at one point... 

It's often smarter to put data that seems not to be used into the swap
to free up RAM.

   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list