Terry Lambert writes:
> > Anyway, am I able to remove the SMP ifdef's from the default_halt
> > function (on 4-stable, 2x1GHz PIII) and I have not noticed any change other
> > than a cooler office & longer runtime on a UPS. (I've not timed a
> > buildworld).
>
> You might be lucky in your SMP hardware, and you might just not
> be noticing the drop out of one CPU. 8-(.
FWIW, I just did a -j8 buildworld with & without HLT. The times were
nearly identical, with the HLT kernel being ~15 seconds faster (real
time) and using 56 seconds less system time. With a sample size of 1,
I admit its hard to make any meaningful performance comparisons;
but the system seems roughly as fast & did not deadlock.
At least on these machines, the cooler office seems worth the risk ;)
Drew
==> world.log.hlt <==
1757.06 real 1694.33 user 674.49 sys
16672 maximum resident set size
1060 average shared memory size
1059 average unshared data size
129 average unshared stack size
11280502 page reclaims
2380 page faults
0 swaps
24326 block input operations
4162 block output operations
18 messages sent
18 messages received
8 signals received
588857 voluntary context switches
371028 involuntary context switches
==> world.log <==
1771.65 real 1696.62 user 730.04 sys
16668 maximum resident set size
1049 average shared memory size
1043 average unshared data size
129 average unshared stack size
11268611 page reclaims
1901 page faults
0 swaps
17717 block input operations
4445 block output operations
19 messages sent
19 messages received
8 signals received
572960 voluntary context switches
363564 involuntary context switches
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message