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)



The following reply was made to PR kern/57558; it has been noted by GNATS.

From: Frank Kardel <kardel%netbsd.org@localhost>
To: Chuck Silvers <chuq%chuq.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost, kern-bug-people%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/57558: pgdaemon 100% busy - no scanning (ZFS case)
Date: Thu, 9 May 2024 19:26:01 +0200

 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