|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH/RFC] Wrong account for cpus other than 0 on hotpl
On 13/10/06 6:50 pm, "Glauber de Oliveira Costa" <gcosta@xxxxxxxxxx> wrote:
> Is a x86_64 system with multiple CPUs, process accounting is done wrong after
> one cpu goes off and on again (i.e.: a CPU bounded process is running
> but gets 0% cpu for a time, until situation becomes normal again).
>
> The following patch is a first attempt to fix it. The struct keeps
> zeroed after HYPERVISOR_vcpu_op() is called, thus leading to wrong
> results. Accounting seems to be done right without it. However, I'm not
> 100 % sure we can just poke it out. Comments on this are very welcome.
This patch turns off the missing ticks accounting entirely, as the
runstate_info structure will never be updated. Are you sure this appears to
be an x86_64-specific issue?
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|