|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64 SMP Vi
1) I made the change mainly for timer1 of HPET. Actually I don't know exactly
how x64 SMP Vista uses HPET's timer1 to adjust the wall clock time; but without
the patch, HPET's timer1 can generate and inject interrupts with a frequency of
20KHz or so! and the wall clock time would become slow.
2) Yes. I think the vcpu_kick() in hpet_timer_fn() is actually unnecessary.
Thanks for pointing out this!
-- Dexuan
-----Original Message-----
From: Keir Fraser [mailto:keir@xxxxxxxxxxxxx]
Sent: 2007年1月10日 19:37
To: Cui, Dexuan; xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Keir Fraser
Subject: Re: [Xen-devel] [Patch] Fix the slow wall clock time issue in x64 SMP
Vista
On 10/1/07 11:29, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx> wrote:
> In x64 SMP Vista HVM guest (vcpus=2 in the configuration file), the wall
> clock time is 50% slower than that in the real world. The attached patch
> fixes the issue.
Looks like this code will inject fewer HPET interrupts. How does that make
time go *faster*?
Also, looking at hpet_timer_fn() is vcpu_kick() actually required? The PIC
logic invoked from hpet_route_interrupt() should do any required kicking.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|