NetBSD-Bugs archive

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

Re: kern/55166: uvm_pdpolicy_clock params (anon/exec/file max/min) defaults



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

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/55166: uvm_pdpolicy_clock params (anon/exec/file max/min)
 defaults
Date: Sun, 12 Apr 2020 23:38:14 +0200

 On Sat, Apr 11, 2020 at 04:40:00PM +0000, Izumi Tsutsui wrote:
 > There parameters can be changed by sysctl(8), but initial values
 > are hardcorded in uvmpdpol_init():
 
 What about actually tuning the initial parameters on the amount of RAM
 in the system? That seems much more sensible than hard-coding different
 option sets in various kernels. It's not like it is going to add a lot
 of (cold) code.
 
 > Using the following sysctl vm values on dreamcast and x68k
 > makes many applications (including twitter/mastodon clients)
 > work as they can be used as demonstrations at conferences:
 > ---
 > vm.anonmax=30
 > vm.anonmin=10
 > vm.execmax=50
 > vm.execmin=20
 > vm.filemax=1
 > vm.filemin=0
 
 filemax seems questionable to me, the rest sound a useful default for
 systems with <= 16MB RAM. 
 
 Joerg
 


Home | Main Index | Thread Index | Old Index