Can swap-in be improved?
Can swap-in be improved?
Posted Jun 2, 2007 2:30 UTC (Sat) by giraffedata (guest, #1954)In reply to: Can swap-in be improved? by anton
Parent article: On-demand readahead
That's actually different, and a little harder, than what we're talking about here. We're talking about resuming a process that has been idle for a while. So all the history you need is the list of pages that were resident the last time the process ran.
That by itself can't get you to the level of speed that we discussed with anonymous pages, where all those pages were contiguous on disk.
I know I've seen somewhere a system where you don't ordinarily start a program, but rather reload and resume an entire process. In that case, the two prefetching problems are probably the same.
Posted Jun 7, 2007 13:29 UTC (Thu)
by anton (subscriber, #25547)
[Link]
Using a history-based prefetcher might have the following
advantages, though:
Yes, fetching all the pages that were resident is certainly an
approach for the problem that would work.
Can swap-in be improved?
That being said, a well-balanced history-based prefetcher is certainly
a much larger project than loading the once-resident pages.