Hi , I'm looking for a possibility to simulate a VM (to be used as a host) reporting no or empty NUMA <cells> in 'virsh capabilities'. 'virsh capabilities' usually reports single NUMA in the VMs, like <numa> <cell id='0' cpus='0-63' memory='16777216' unit='KiB'/> </numa> I appreciate if someone could advise Thank you Polina -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20200701/efe57df9/attachment.htm>
On Wed, Jul 01, 2020 at 12:08:35PM +0300, Polina Agranat wrote:> Hi , > > I'm looking for a possibility to simulate a VM (to be used as a host) > reporting no or empty NUMA <cells> in 'virsh capabilities'. 'virsh > capabilities' usually reports single NUMA in the VMs, > like > <numa> > <cell id='0' cpus='0-63' memory='16777216' unit='KiB'/> > </numa>If the "host" doesn't report any NUMA topology, the libvirt will always synthesize a single NUMA cell. So there is no scenario in which the <numa> info will be empty with current generation libvirt. 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 :|
Thank you, Daniel, for the response. Polina On Wed, Jul 1, 2020 at 12:34 PM Daniel P. Berrangé <berrange@redhat.com> wrote:> On Wed, Jul 01, 2020 at 12:08:35PM +0300, Polina Agranat wrote: > > Hi , > > > > I'm looking for a possibility to simulate a VM (to be used as a host) > > reporting no or empty NUMA <cells> in 'virsh capabilities'. 'virsh > > capabilities' usually reports single NUMA in the VMs, > > like > > <numa> > > <cell id='0' cpus='0-63' memory='16777216' unit='KiB'/> > > </numa> > > If the "host" doesn't report any NUMA topology, the libvirt will always > synthesize a single NUMA cell. So there is no scenario in which the > <numa> info will be empty with current generation libvirt. > > 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 :| > >
Maybe Matching Threads
- Re: no/empty NUMA cells on domain XML
- docs/reference for NUMA usage?
- [RFC 0/3] virtio: NUMA-aware memory allocation
- [RFC 0/3] virtio: NUMA-aware memory allocation
- Inconsistent behavior between x86_64 and ppc64 when creating guests with NUMA node placement