Serge Bets <[EMAIL PROTECTED]> writes:

> On Thursday, July 24, 2008 at 1:48:40 +0000, Bill Unruh wrote:

>> Apparently the HPET disables the rtc interrupts and takes them over.

>Those HPET emulated RTC interrupts indeed seem to be nothing else than
>unusable rubbish, by design. They introduce an unacceptable level of
>error in the measures. Error 4 orders of magnitude greater than what's
>reasonably expectable from proper RTC interrupts.

Three orders. (avg 8ms vs about 20usec) but yes, that is pretty terrible. 




>> No amount of care in the hwclock program can get around this kind of
>> nonesense.

>Exactly. Disabling HPET seems the only solution to have proper RTC
>interrupts. Alternatively tell hwclock to *not* use interrupts, via
>either the --directisa or --nointerrupt options. This is less elegant,
>and costs many processor cycles. But accuracy should be good.


Reading the HPET spec and the hpet.c code in the kernel it would seem to me
that you could disable the legacy behaviour while keeping the hpet for high
speed timing/cpu clock/tickless operation. 


>Serge.
>-- 
>Serge point Bets arobase laposte point net

_______________________________________________
questions mailing list
questions@lists.ntp.org
https://lists.ntp.org/mailman/listinfo/questions

Reply via email to