2.6 swapping behavior
Posted May 6, 2004 17:05 UTC (Thu) by
guinan (subscriber, #4644)
Parent article:
2.6 swapping behavior
I've felt this - it is highly annoying when I come down to continue my work in the morning, and each of the 8 tabs in my Galeon window takes 10 seconds to page back in because updatedb and various other things that have no business leaving pages in the cache ran overnight.
I will try setting swappiness to 0, but why couldn't the kernel let processes provide a hint about page cache policy themselves? It would take a while for applications to catch up, but it keeps policy in userspace, on a per-application basis, instead of leaving it up to heuristics in the kernel. Examples,
updatedb,makewhatis,etc. - DISPOSABLE
galeon,evolution,etc. - INTERACTIVE
Use an ioctl(), /proc/self/ entry, whatever.
-Jamie
(
Log in to post comments)