[64studio-devel] [Jackit-devel] CPU load reading too high on dual-core and SMP machines?

Lee Revell rlrevell at joe-job.com
Tue Nov 7 20:32:10 UTC 2006


On Tue, 2006-11-07 at 21:10 +0200, Jussi Laako wrote:
> Lee Revell wrote:
> > A distro that targets 64 bit machines MUST configure JACK to use
> > gettimeofday().  No other time source is reliable.
> 
> Please don't state gettimeofday() being right option as it's wrong.
> clock_gettime() is the only correct one... ;) NTP can pretty well fsck
> up your gettimeofday().
> 

Sorry, you're right - I tend to think of them as interchangeable because
both use sys_gettimeofday() syscall.

> In any case jack will automagically use clock_gettimeofday() if
> available at configure time instead of gettimeofday() which is a
> fallback for oldie non-POSIX-RT -compliant systems (kernel < 2.6.x).
> 
> However, the selectable clock source in jack has three options (on x86),
> 'cycle', 'hpet' and 'system'. And in this case the correct answer would
> be 'system', ie. "--clocksource s" parameter for the jackd.
> 

What is the default?

> 
> BR,
> 
> 	- Jussi
> 




More information about the 64studio-devel mailing list