Still waiting for swap prefetch
Posted Jul 26, 2007 2:21 UTC (Thu) by butlerm
Parent article: Still waiting for swap prefetch
Isn't this precisely the sort of thing that should be controlled from user space? i.e. let the kernel provide the mechanism and let a user space daemon implement the policy?
For example, couldn't one create a virtual file called /proc/<pid>/swapin that when written to, fetches all the swapped data for that process back into ram?
The advantage, of course, would be that no existing users would be affected, and the optimal swap prefetch policy could be adjusted according to the application.
to post comments)