Re: questions around using numatune/numa/schedinfo

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

 



On 23.01.2015 19:46, Chris Friesen wrote:
> Hi,
> 
> I'm running into some problems with libvirt and hoping someone can point
> me at some instructions or maybe even help me out.
> 
> 
> First, are there any requirements on qemu version in order to use the
> "numatune" and/or "cpu/numa/cell" elements?  Or do they use cgroups and
> not the native qemu numa support?

For numatune you need a qemu with 'memory-backend-{ram,file}' objects.
Those were introduced in qemu-2.1.0. As of libvirt, you'll need
libvirt-1.2.7 at least. Although the newer the better - there were
couple of fixes recently.

> 
> 
> Second, are there any instructions on how to set up cgroups?  I
> initially hadn't had cgroups mounted and running "virsh schedinfo
> <domain>" gave an error.  So I mounted "/sys/fs/cgroup/memory" and
> "/sys/fs/cgroup/cpu" and restarted libvirtd but running "virsh schedinfo
> <domain>" still gives an error:
> 
> root@compute-1:~# virsh schedinfo 8
> Scheduler      : Unknown
> error: Requested operation is not valid: cgroup CPU controller is not
> mounted
> 
> What am I missing?
> 
> 

What's the libvirt version?

Michal

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux