On Fri, 1 Feb 2002, Luigi Rizzo wrote:

> HZ also has an impact on select() behaviour when timeouts are
> used (and device drivers using timeouts as well).
> A lot of software uses select() with a very short timeout which
> is usually rounded up to the next tick. If the author of the software
> is unaware of what goes on (likely) there might be negative effects
> on performance because such programs stay idle longer than they should.
>
>       cheers
>       luigi

True, I had forgotten about that effect.  Ironic, since I was quite
annoyed by the limitations of 10ms accuracy last semester.  Increasing the
resolution of select/usleep is a good argument for increasing the HZ
default, but I'm not sure how great the impact would be on slower
machines.

Mike "Silby" Silbersack


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to