login
Header Space

 
 

Re: clocksources: order of preference

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Philipp Kohlbecher <xt28@...>
Cc: <linux-kernel@...>, John Stultz <johnstul@...>
Date: Thursday, May 8, 2008 - 6:59 am

On Thu, 8 May 2008, Philipp Kohlbecher wrote:

Performance. TSC access is extremly fast as it is a per CPU
register. HPET is a chipset device and scales bad when multiple CPUs
try to access it simultanously as the access is serialized in
hardware. Even on a UP system the access overhead is somewhere in the
range of factor 100.


We always tried to use TSC as the first choice.
 

No, we only use the TSC, when:

- the TSC is known to be stable (not affected by CPU frequency changes)
- the TSC is sychronized accross CPUs

We also check the TSC with a watchdog mechanism, which verifies that
is is keeping accurate time. When we detect that TSC does not, we
replace it by the next available clock source.


You may submit one, but it's very unlikely that is gets applied. :)

Thanks,
	tglx
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
clocksources: order of preference, Philipp Kohlbecher, (Thu May 8, 6:40 am)
Re: clocksources: order of preference, Thomas Gleixner, (Thu May 8, 6:59 am)
Re: clocksources: order of preference, Philipp Kohlbecher, (Thu May 8, 7:07 am)
Re: clocksources: order of preference, Thomas Gleixner, (Thu May 8, 7:46 am)
speck-geostationary