Why use swap when there is RAM free?

Smoot Carl-Mitchell smoot at tic.com
Thu Aug 13 14:00:57 UTC 2009


On Thu, 2009-08-13 at 15:08 +0200, Vincent Arnoux wrote:
> Hi,
> Currently, my RAM is used up to 43%, but I still have 5% of my swap
> space used. What doesn't linux send the data in swap back to RAM?

It will when the swapped pages are needed again.  There is no reason to
do the I/O when it is not required.
-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list