LWN.net Logo

2.6 swapping behavior

2.6 swapping behavior

Posted May 7, 2004 21:53 UTC (Fri) by addw (guest, #1771)
In reply to: 2.6 swapping behavior by njhurst
Parent article: 2.6 swapping behavior

Trouble is that the kernel doesn't know that the updatedb is not going to look at those files ever again (well, 'till it runs again tomorrow). But the blocks from the file system are left in memory on the grounds that something recently used it likely to be used again in the near future.

Simple prediction doesn't always work.


(Log in to post comments)

2.6 swapping behavior

Posted May 13, 2004 0:19 UTC (Thu) by njhurst (guest, #6022) [Link]

I agree, my point is just that maybe some thought could be put into making updatedb more well behaved, rather than trying to get that behaviour directly out of the kernel?

I think it is allowable to have user space programs try to optimise their behaviour with the kernel :)

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