[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] libvirt support for scheduler credit2


  • To: Juergen Gross <JGross@xxxxxxxx>, Kevin Stange <kevin@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jim Fehlig <jfehlig@xxxxxxxx>
  • Date: Wed, 22 Jan 2020 18:56:58 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zXA3EkeHE3mMEy+ogOYnao5GbQt6drKy4LDrDIeQmx4=; b=EwdgsO6Nl3srmPNDTyjm8RV2QycAWJpWMHSl7L73RiuNbkkdxqj4bD+Ta+OboVzdu/OcRiZcRID/LsKwZlLZ1I+x+a50uzRFcHJQrVfhJcOLC37wprNhzCnqyMMsiFVluplrW2GfaZdkAmz2GYkf+1CAA9vfOUiV0u9t0Nl2LqAaJFE0+/4sCr7sFNsXKjUrVXNrxyVHde2sdNNdZOBehWWxf6aTQ5WvwXJvLLPu+l2VVyEXxc+wzeJc3c3UJwsQtZp0v7ymqdvoj9+vcupCKp+fZUopzA4/VkW6JWPP68annVq//E5AwxbdlQwiO278m2UJ9yXyiV8JDbEOujSm+Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZaDVj6h+YMIU1cEylTTh7Dvvf4po0yL2WJ7iGVreDxxLLIWHUjzgPrt992ZakU3KwzqUzchUhNwX1Py9tSifc3czWSuiWwDvIpHRIJwc5Q46cpPq1A3iQLtBuRwAN41MJ4opEpQLatTaktmkHXeRhhG3q9aTlroQDqNB7xjTtOd5pRcszjBbAaTZU446Sz3bP5W/UfURQh4kMi1qvBbDHvkQXBt1PhWZN5k6YlzWe+jRbQbsm/JQxoaCY0paSvTCelOrr5UASrwS6z9FV6W0KVABUqJjTih88DWGtzCsqwMhS0qhBqMPmnHMrIXgzSfi62+pITP2zxey2EE/D4aFvw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jfehlig@xxxxxxxx;
  • Delivery-date: Wed, 22 Jan 2020 19:05:52 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHV0Hvtf6QEb3pbvkm9aw4Pu75O/af1WQ4AgAGxRwA=
  • Thread-topic: [Xen-devel] libvirt support for scheduler credit2

On 1/21/20 10:05 AM, Jürgen Groß wrote:
> On 21.01.20 17:56, Kevin Stange wrote:
>> Hi,
>>
>> I looked around a bit and wasn't able to find a good answer to this, so
>> George suggested I ask here.
> 
> Cc-ing Jim.
> 
>>
>> Since Xen 4.12, credit2 is the default scheduler, but at least as of
>> libvirt 5.1.0 virsh doesn't appear to understand credit2 and produces
>> this sort of output:

You would see the same with libvirt.git master, sorry. ATM the libvirt libxl 
driver is unaware of the credit2 scheduler. Hmm, as I recall Dario was going to 
provide a patch for libvirt :-). But he is quite busy so it will have to be 
added to my very long todo list.

Regards,
Jim

>>
>> # xl sched-credit2 -d yw6hk7mo6zy3k8
>> Name                                ID Weight  Cap
>> yw6hk7mo6zy3k8                       4     10    0
>> # virsh schedinfo yw6hk7mo6zy3k8
>> Scheduler      : credit2
>>
>> Compared to a host running credit:
>>
>> # xl sched-credit -d gvz2b16sq38dv9
>> Name                                ID Weight  Cap
>> gvz2b16sq38dv9                      14    800    0
>> # virsh schedinfo gvz2b16sq38dv9
>> Scheduler      : credit
>> weight         : 800
>> cap            : 0
>>
>> Trying to change the weight does nothing, not even producing an error
>> message:
>>
>> # virsh schedinfo syuxplsmdihcwc --weight 300
>> Scheduler      : credit2
>>
>> # xl sched-credit2 -d syuxplsmdihcwc
>> Name                                ID Weight  Cap
>> syuxplsmdihcwc                      23    400    0
>>
>> Is there a version of libvirt where I can expect this to work, or is it
>> not supported yet?  As a workaround for now I've added sched=credit to
>> my command line, but it would be nice to gain the benefits of improved
>> scheduling at some point.
>>
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.