[Xen-devel] [BUG] Bugs existing Xen's credit scheduler cause long tail latency issues

2016-05-14 Thread Tony S
so contributes to the far end of the long tail latency. [Possible Solution] 1. add a lock to prevent csched_acct() from interleaving with csched_vcpu_wake(); 2. separate the BOOST state from UNDER and OVER states. --- Ple

[Xen-devel] [BUG] Linux process vruntime accounting in Xen

2016-05-14 Thread Tony S
llows: Hypervisor(Xen 4.5.0), Dom 0(Linux 3.18.21), Dom U(Linux 3.18.21). I also test longterm version Linux 3.18.30 and the latest longterm version, Linux 4.4.7. Those kernels all have this issue. Please confirm this bug. Thanks. -- Tony. S Ph. D student of University of Colorado, Colorado Spr

Re: [Xen-devel] [BUG] Bugs existing Xen's credit scheduler cause long tail latency issues

2016-05-16 Thread Tony S
On Mon, May 16, 2016 at 5:30 AM, Dario Faggioli wrote: > [Adding George, and avoiding trimming, for his benefit] > > On Sat, 2016-05-14 at 22:11 -0600, Tony S wrote: >> Hi all, >> > Hi Tony, > >> When I was running latency-sensitive applications in VMs on Xen, I

Re: [Xen-devel] [BUG] Linux process vruntime accounting in Xen

2016-05-16 Thread Tony S
On Mon, May 16, 2016 at 5:37 AM, Dario Faggioli wrote: > [Adding George again, and a few Linux/Xen folks] > > On Sat, 2016-05-14 at 18:25 -0600, Tony S wrote: >> In virtualized environments, sometimes we need to limit the CPU >> resources to a virtual machine(VM). For e

Re: [Xen-devel] [BUG] Linux process vruntime accounting in Xen

2016-05-16 Thread Tony S
On Mon, May 16, 2016 at 3:38 PM, Tony S wrote: > On Mon, May 16, 2016 at 5:37 AM, Dario Faggioli > wrote: >> [Adding George again, and a few Linux/Xen folks] >> >> On Sat, 2016-05-14 at 18:25 -0600, Tony S wrote: >>> In virtualized environments, sometimes we ne

Re: [Xen-devel] [BUG] Bugs existing Xen's credit scheduler cause long tail latency issues

2016-05-17 Thread Tony S
On Tue, May 17, 2016 at 3:27 AM, George Dunlap wrote: > On Sun, May 15, 2016 at 5:11 AM, Tony S wrote: >> Hi all, >> >> When I was running latency-sensitive applications in VMs on Xen, I >> found some bugs in the credit scheduler which will cause long tail >

Re: [Xen-devel] [BUG] Linux process vruntime accounting in Xen

2016-05-18 Thread Tony S
ut I'm > curious to see if it helps. Hi Dario, I did not see the patch. Can you please send me the patch and I will try to test it later. Best Tony > > Thanks again and Regards, > Dario > -- > <> (Raistlin Majere) > - > Dario Faggioli, Ph.D, ht

Re: [Xen-devel] [PATCH] xen: add steal_clock support on x86

2016-05-18 Thread Tony S
On Wed, May 18, 2016 at 11:20 AM, Boris Ostrovsky wrote: > On 05/18/2016 12:10 PM, Dario Faggioli wrote: >> On Wed, 2016-05-18 at 16:53 +0200, Juergen Gross wrote: >>> On 18/05/16 16:46, Boris Ostrovsky wrote: Won't we be accounting for stolen cycles twice now --- once from steal_ac

Re: [Xen-devel] [PATCH] xen: add steal_clock support on x86

2016-05-18 Thread Tony S
On Wed, May 18, 2016 at 11:59 AM, Tony S wrote: > On Wed, May 18, 2016 at 11:20 AM, Boris Ostrovsky > wrote: >> On 05/18/2016 12:10 PM, Dario Faggioli wrote: >>> On Wed, 2016-05-18 at 16:53 +0200, Juergen Gross wrote: >>>> On 18/05/16 16:46, Boris Ostrovs