NetBSD-Users archive

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

7.0_RC1 slow boot



Hello,

I just tested NetBSD 7.0_RC1, and it seems that 7.0 is *very* slow to
boot compared to 6.1.5. The problem seems to be entirely in the userland
because 7.0 kernel with 6.1.5 userland is just as fast as 6.1.5 kernel.
And based on vmstat -s fork numbers right after boot, the problem is
likely just in the rc system.

Just for the record, I did the tests on a qemu sparc emulator with no
other configuration than rc_configured=YES: 6.1.5 boots in 11 seconds
(with 6.1.5 and 7.0 kernels), 7.0_RC1 takes 45 seconds.

A few vmstat -s numbers after boot:

userland+kernel 6.1.5:
55483 total faults taken
28643 traps
5072 CPU context switches
60741 system calls
285 forks
9765 anon page faults
11357 object faults
13705 total name lookups
11417 good hits
1947 miss

userland+kernel 7.0_RC1:
288771 total faults taken
147872 traps
11634 CPU context switches
159367 system calls
1064 forks
30715 anon page faults
63240 object faults
34700 total name lookups
31061 good hits
2108 miss


I also tested 7.99.19, and it is just as slow to boot as 7.0_RC1, and
vmstat numbers are pretty much the same.
In the not very scientific qemu boot time test -current kernel is also
unfortunately slightly slower to boot 6.1.5 userland than 6.1.5 or 7.0
kernel.

Arto


Home | Main Index | Thread Index | Old Index