On 2015-01-03, John Merriam <j...@johnmerriam.net> wrote:
>
> Is it worth messing around with to try to get HPET working on the 
> OptiPlex 320 in OpenBSD or would it be written off as buggy hardware?  I 
> guess that assumes it could work at all...

Probably write off as buggy. Some automated way to detect that it's buggy
might be nice though...

> Here's another question that I have after reading up on this stuff.  Is 
> it worth using the HPET or ACPI timers in OpenBSD for non desktop 
> machines?  Obviously it depends on one's particular situation but from 
> my reading it sounds like the most common reason to want better timers 
> is multimedia which is usually not something to worry about on most servers.

Some programs call gettimeofday() a *lot*, and there's quite a difference in
performance between the various clock sources.

On my laptop, timing a loop of 5,000,000 gettimeofday() calls:

acpihpet: 0m3.29s
acpitimer: 0m10.49s
i8254: 0m21.44s

(I wonder how an ITSC-based timecounter would look...)

Reply via email to