Re: Corrected gettimeofday() test code

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sun, 30 Nov 2003 01:02:47 +0100
In message <20031129192903.U99096_at_ganymede.hub.org>, "Marc G. Fournier" writes:
>On Sat, 29 Nov 2003, Don Bowman wrote:
>
>> For this config (below), kern.timecounter.method=0 reproduces the
>> problem, kern.timecounter.method=1 does not.
>
>Can anyone comment on what effect setting method to 1 has on the system?
>Like, would one notice a degradation in performance?

Setting it to 1 forces the timecounter to update every HZ.

You can say that 0 was an optimization which it seems may not be
safe on certain hardware combinations...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Sat Nov 29 2003 - 15:02:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC