On Fri, Apr 11, 2008 at 09:55:54AM +0200, Ingo Molnar wrote:
Actually there millions of non constant freq TSC CPUs shipped each
quarter ...
But you still get scheduling hickups even with the sanity check. If the
scheduler depends on a smooth time that is not good and my (admittedly much less
than yours) understanding of CFS is that it relies on that. Especially ondemand
can cause quite a lot of cpufreq changes on some workloads.
At some point you have to generate an offset to something and that
offset must be different for different frequencies, otherwise
you get large systematic errors
(<imagine complicated mathematical proof why this is so, but it should
be fairly obvious>)
-Andi
--