Re: PATCH: Allow user to force 'tsc' to be treated as stable.

From: Ingo Molnar
Date: Thu Feb 05 2009 - 16:03:00 EST



* Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:

> Ingo Molnar wrote:
>> * Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote:
>>
>>> Allow user to force TSC as stable clock-source.
>>> Works around BIOS issues in the FWA-7304 (Via CN700 chipset)
>>> system, and possibly others.
>>>
>>> This is against 2.6.29-rc3.
>>
>> What 'issues' does that work around, exactly?
>
> Without this, my system comes up with no stable high-res
> clock, and the getnstimeofday seems to return something
> with around 1ms granularity. I have HZ set to 1000, so
> its probably just using the 'jiffy' clocksource.
> This in turn screws up my patched version of pktgen and
> likely is sub-optimal for other things as well.
>
> It seems the TSC on this system is stable, but I got lost
> trying to understand the watchdog testing code, so I'm
> not certain if it is wrong or not. With this force in
> place, the system seems stable and ran overnight under
> network load fine.

What does this tool output:

http://people.redhat.com/mingo/time-warp-test/time-warp-test.c

? (you can run it both the patched or on the unpatched system)

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/