NetBSD-Bugs archive

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

Re: kern/57558: pgdaemon 100% busy - no scanning (ZFS case)



Thanks for that simpler fix to avoid the starvation state. Test have shown that that works in the

environment.

I am wondering, though, whether something needs to be done for the other cases.

-Frank


On 05/06/24 08:05, Chuck Silvers wrote:
[snip]
I think the right fix for this is to increase the amount of kmem space that we
allocate such that all of physical memory can be allocated as kmem without
the pagedaemon considering the system to be starved for kmem virtual space.
this means allocating an enough kmem space for 10/9 of physical memory,
so that even though only 9/10 of kmem virtual space can be used, there is still
enough kmem virtual space available for all of physical memory.

please try the attached patch.

-Chuck



Home | Main Index | Thread Index | Old Index