[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [BUG] Linux process vruntime accounting in Xen
On Mon, May 16, 2016 at 11:33 PM, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx> wrote: > On 05/16/2016 05:38 PM, Tony S wrote: >> The issue behind it is that the process execution calculation(e.g., >> delta_exec) in virtualized environment should not be calculated as it >> did in physical enviroment. >> >> Here are two solutions to fix it: >> >> 1) Based on the vcpu->runstate.time(running/runnable/block/offline) >> changes, to determine how much time the process on this VCPU is >> running, instead of just "delta_exec = now - exec_start"; >> >> 2) Build another clock inside the guest OS which records the exect >> time that the VCPU runs. All vruntime calculation is based on this >> clock, instead of hyperivosr clock/time(real clock). > > Looks like CONFIG_PARAVIRT_TIME_ACCOUNTING is used for adjusting process > times. KVM uses it but Xen doesn't. Is someone on the Linux side going to put this on their to-do list then? :-) -George _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |