Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 01:02:47 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        'Kris Kennaway' <kris@obsecurity.org>
Subject:   Re: Corrected gettimeofday() test code 
Message-ID:  <21272.1070150567@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 29 Nov 2003 19:30:18 -0400." <20031129192903.U99096@ganymede.hub.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20031129192903.U99096@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21272.1070150567>