tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Prefer pageing to swapping



On Fri, 04 Jul 2008, Andrew Doran wrote:
> I notice that ftp.netbsd.org is swapping even when not paging. This patch
> changes the pagedaemon to prefer paging to swapping, and ups the minimum
> free limit.
> 
>       http://www.netbsd.org/~ad/pdaemon.diff

It has comments saying "try to keep 0.5% of available RAM free", but I
think it will actually try to keep 0.5% * NCPU.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index