OpenBSD cvs log

created 2022-04-17T01:15:27Z
begin 2022-04-13T00:00:00Z
end 2022-04-14T00:00:00Z
path src/sys
commits 1

date 2022-04-13T10:08:10Z
author sthen
files src/sys/conf/param.c log diff annotate
message Use a simpler "formula" to decide a default kern.maxthread value;
just 2*NPROCESS rather than NPROCESS+8*MAXUSERS. Results in a slightly
higher maxthread value - the previous value was fairly likely to be
exceeded on a system running a couple of heavily threaded processes.

> previous new
> MAXUSERS NPROCESS maxthread (2*NPROCESS)
> 80 1310 1950 2620
> 64 1054 1566 2108
> 32 542 798 1084

ok kettenis@