Re: [LAD] [Jack-Devel] How is the TSC calibration accuracy on dual core 2 computers? (And what about HPET?)

From: Jussi Laako <jussi@email-addr-hidden>
Date: Tue Apr 28 2009 - 23:25:58 EEST

Kjetil S. Matheussen wrote:
> Paul Davis wrote:
>> the cycle counter on intel systems is (was?) guaranteed to run exactly
>> in sync. AMD had a problem a few generations back where they neglected
>> to provide this feature and it caused havoc for several different
>> categories of users. they corrected their error very quickly and i
>> believe that all their chipsets will now also always have precisely
>> A synced cycle counter.
>
> Thanks.

I would just warn that, AFAIK, on some CPUs frequency scaling affects
TSC while not on some others... And the frequency of CPU clock is not
necessarily very precise and can vary depending on hardware/temperature/etc.

Some hardwares may employ spread spectrum on the clock - ie. generating
jitter on the clock to lower EMI.

Best option for timing is usually to use hardware intended for timing.
Kernel can use HPET as clock source with "clocksource=hpet" parameter.

        - Jussi
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Apr 29 00:15:02 2009

This archive was generated by hypermail 2.1.8 : Wed Apr 29 2009 - 00:15:02 EEST