Re: [1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-04 Thread Guillaume Chazarain
2007/3/5, Andi Kleen <[EMAIL PROTECTED]>: An older one (Banias) I assume? (please post /proc/cpuinfo) No, a Dothan. I attached cpuinfo in the previous mail, but here is it again: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : Inte

Re: [1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-04 Thread Andi Kleen
On Sunday 04 March 2007 19:33, Guillaume Chazarain wrote: > 2007/3/4, Andi Kleen <[EMAIL PROTECTED]>: > > > On what hardware? > > Pentium M 798 MHz -> 2GHz An older one (Banias) I assume? (please post /proc/cpuinfo) Assuming that: > > And how many frequency transitions do you have per second?

Re: [1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-04 Thread Guillaume Chazarain
2007/3/4, Andi Kleen <[EMAIL PROTECTED]>: On what hardware? Pentium M 798 MHz -> 2GHz And how many frequency transitions do you have per second? 10 in a kernel compile exhibiting audio skips. Anyway, the "Clocksource tsc unstable (delta = -263211549 ns)" line in the dmesg I attached to th

Re: [1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-04 Thread Andi Kleen
On Sunday 04 March 2007 16:41, Guillaume Chazarain wrote: > 2007/3/4, Andi Kleen <[EMAIL PROTECTED]>: > > What weirdnesses? > > Audio playback skipping (with no xrun), mouse stalls. Total freeze for > 0.1~0.5 seconds. > Note that I use the ondemand governor, but I reproduced the audio > skipping e

Re: [1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-04 Thread Andi Kleen
On Saturday 03 March 2007 22:41, Guillaume Chazarain wrote: > http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9690982b8c2f9a2c65acdc113e758ec356676a3 > caused a regression by letting sched_clock use the TSC even when cpufreq > disabled it. This caused scheduling weirdne

[1/3] Bugfix: Don't use the TSC in sched_clock if unstable

2007-03-03 Thread Guillaume Chazarain
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f9690982b8c2f9a2c65acdc113e758ec356676a3 caused a regression by letting sched_clock use the TSC even when cpufreq disabled it. This caused scheduling weirdnesses. Signed-off-by: Guillaume Chazarain <[EMAIL PROTECTED]> ---