[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8a5470cd-0cb2-5019-c7d3-7c407e6a6005@redhat.com>
Date: Thu, 20 Apr 2017 16:00:50 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: KVM list <kvm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
cgroups@...r.kernel.org
Cc: Gonglei <arei.gonglei@...wei.com>,
"Jason Wang (jasowang@...hat.com)" <jasowang@...hat.com>,
"Huangweidong (C)" <weidong.huang@...wei.com>,
linqiangmin@...wei.com, Rik van Riel <riel@...hat.com>
Subject: Re: about CPU QoS in KVM
Adding Rik.
Paolo
On 20/04/2017 15:32, Gonglei (Arei) wrote:
> Hi all,
>
> Currently, KVM do the CPU resource reservation by the cgroup mechanism
> which can't do entire accurate separation because the capacity of the Linux
> scheduler. Take the public cloud as an example, some customers rent one vm
> with 8 CPUs paid by enough money, they want to get enough response
> speed on CPU scheduling. So we (the cloud platform providers ) reserve 1GHz
> CPU resources by cgroup for those VM's vcpu/pcpu.
>
> But the actual effects can't meet those requirements because the cgroup is
> limiting share usage of other processes in order to attach the reservation proportion,
> but the scheduler can't assure that. This mechanism is different with Xen,
> We can directly change the CPU weight on Xen hypervisor so that we can
> get entire accurate control on CPU resources based on accurate capacity (upper limit),
> share (weight) and reservation.
>
> So my question is do we have a good method to do CPU reservation in KVM?
>
> Thanks,
> -Gonglei
>
>
Powered by blists - more mailing lists