|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] Disable Xen PowerNow! support on Opteron 2nd gen
> What are the deltas when time goes backwards? Bear in mind we already
> default to being silent for backwards deltas up to 10ms.
Largest observed delta was 36 ms; it was a bit of an outlier.
Most deltas were around 20 ms. I totaled 45 deltas over 10 ms
in 6 days with a frequency change every 15 seconds.
I think we can do better than that. There's lots of <1 ms
regressions happening, roughly 1 every other 4 transitions.
> The issue here could well be that if you take a timer
> interrupt towards the
> end of a frequency change but before Xen has been told that
> the frequency
> has changed, the time values that Xen and dom0 calculate will
> be off by
> potentially quite a bit. It's a small window of opportunity,
> but clearly you
> hit it a few times each day. I'm not sure how easy it is to
> close off that
> window cleanly with the MSR twiddling being controlled from dom0...
Would turning off interrupts solve it? It might be a bit brute
force, but there's certainly a prechange notifier event and a
postchange notifier event to use to turn them on and off.
Alternately, the prechange event could sleep until woken by
the timer interrupt, which would increase the chance that all
frequency changes take place at the start of an interrupt.
-Mark Langsdorf
Operating System Research Center
AMD
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|