Re: incorrect usleep/select delays with HZ > 2500

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: incorrect usleep/select delays with HZ > 2500

by Garrett Wollman-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In article <20090906155154.GA8283@...> you write:
>(this problem seems to affect both current and -stable,
>so let's see if here i have better luck)
>
>I just noticed [Note 1,2] that when setting HZ > 2500 (even if it is
>an exact divisor of the APIC/CPU clock) there is a significant
>drift between the delays generated by usleep()/select() and those
>computed by gettimeofday().  In other words, the error grows with
>the amount of delay requested.

If I may be so bold as to suggest: if you think you want HZ > 1000,
you're probably wrong.

-GAWollman
--
Garrett A. Wollman    | What intellectual phenomenon can be older, or more oft
wollman@...| repeated, than the story of a large research program
Opinions not shared by| that impaled itself upon a false central assumption
my employers.         | accepted by all practitioners? - S.J. Gould, 1993
_______________________________________________
freebsd-arch@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@..."