headsup: swap_pager.c

Dag-ErlingSmørgrav des at des.no
Fri Aug 1 02:22:07 PDT 2003


"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> The thing you overlook is that often when things gets paged out, the
> system is short on memory and therefore more likely to not do anything
> productive, whereas when things gets paged in, there are a better chance
> of some other process being able to use the CPU time productively.
> If we did predictive pageouts like some of the "serious" mainfram OS's
> this would be less true.

How hard would it be to get the kernel to write the pages "most likely
to be swapped out" to swap in the idle loop, to save time if / when
they actually need to be swapped out later?

I thought we already did this to some extent (ref. FAQ 16.1), but
apparently I was wrong?

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-arch mailing list