[libvirt] [RFC PATCH v2 1/4] numa: describe siblings distances within cells

Daniel P. Berrange berrange at redhat.com
Mon Jul 3 09:34:18 UTC 2017


On Mon, Jul 03, 2017 at 11:19:07AM +0200, Wim ten Have wrote:
> On Wed, 28 Jun 2017 15:21:29 +0100
> "Daniel P. Berrange" <berrange at redhat.com> wrote:
> 
>     Hi Daniel,
> 
>   Appreciate your input and comments. Let me work on package and return
>   asap.
> 
>   One quick question; For future i am looking into way to somehow auto-
>   tune node (cell/socket/cpu) assignment under <numa> directive. Such
>   in a way brings intelligence into libvirt and therefor not wanted.

On the <vcpu> elemnet we have a placement=auto attribute, which tells
libvirt to pick host pCPU placement for vCPUs automatically. In the
QEMU driver, this asks 'numad' for best placement.   This is only
done during initial guest startup - there's no active monitoring or
adjustment thereafter.

Anything more advanced than this, is out of scope for libvirt and
best served by an external app above.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list