sanjay
2012-Jun-30 19:54 UTC
[libvirt-users] Query:Creating a Guest that requires memory and vCPUs across socket boundary
Hi! If a KVM-QEMU guest (spawned using libvirt) requires memory and CPU cores that spans across socket boundaries and it wants to avoid memory access across NUMA nodes, what is the best way to proceed ? I came across the following statement during my search ?If a guest requires eight virtual CPUs, as each NUMA node only has four physical CPUs, a better utilization may be obtained by running a pair of four virtual CPU guests and splitting the work between them, rather than using a single 8 CPU guest.? Is this statement still valid ? Can one use ?numatune? XML tag with ?auto? placement to create a guest, where vCPUs and memory is allocated in a efficient manner across sockets based on available memory? If one allocates memory across sockets and passes the topology information to Guest using 'numa' tag, will it help in avoiding the NUMA penalty (ex: <numa>/<cell cpus='0' memory=256000'><cell cpus='1' memory='512000') ? Any advise on this subject will be appreciated. -- Regards, Sanjay -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120630/8497f267/attachment.htm>
Maybe Matching Threads
- Re: HugePages - can't start guest that requires them
- Re: HugePages - can't start guest that requires them
- Re: HugePages - can't start guest that requires them
- Re: HugePages - can't start guest that requires them
- Re: HugePages - can't start guest that requires them