Can swap-in be improved?
Posted May 31, 2007 17:04 UTC (Thu) by
anton (guest, #25547)
In reply to:
Can swap-in be improved? by giraffedata
Parent article:
On-demand readahead
A lot of it is reading in memory mapped program
files. Speeding that up isn't as easy.
I think it's not very hard. You just need some history-based
prediction mechanism. A student of mine has done his
Master's
thesis (in German) on speeding up the startup time of programs by
recording the blocks accessed when starting a program, and then
prefetching them (Windows XP does something like that for the OS
startup). Similarly, one could record the pages or blocks accessed
soon after a major page fault, and then prefetch all of them the next
time the page faults.
(
Log in to post comments)