User: Password:
|
|
Subscribe / Log in / New account

Nostalgia: Bye bye swap cache!

Nostalgia: Bye bye swap cache!

Posted Oct 23, 2008 14:31 UTC (Thu) by jzbiciak (subscriber, #5246)
Parent article: 2.6.28 merge window, part 2

Another VM improvement causes the system to free a page's swap space after that page is brought back into RAM; this effectively increases the amount of swap available on the system.

I remember hearing about the swap cache waaaaay back when (2.0 or earlier). Granted, the VM's changed a lot since then. So, with this change, is the swap cache going away?


(Log in to post comments)

Nostalgia: Bye bye swap cache!

Posted Oct 23, 2008 17:40 UTC (Thu) by riel (subscriber, #3142) [Link]

No, the swap cache is still there. However, since nowadays many systems have more RAM than swap, it makes sense to be a little more aggressive about freeing swap space, while in the days where systems had little RAM and lots of swap it made sense to hang on to swap space.

Nostalgia: Bye bye swap cache!

Posted Oct 23, 2008 21:09 UTC (Thu) by ballombe (subscriber, #9523) [Link]

... but nowadays we have suspend-to-disk which require a lot of swap-space
to be on the safe side, and disk-space is cheap.


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds