On Wed, 2020-06-10 at 05:57 -0700, Gordon Messmer wrote:
> On 6/10/20 2:56 AM, Patrick O'Callaghan wrote:
> > In KVM/QEMU you can also pin specific cores to your VM to prevent
> > competition between the host and guest (mainly by avoiding cache
> > pollution as I understand it).
> 
> CPU affinity can improve performance for NUMA systems, and does improve 
> cache efficiency, but it does not (to my knowledge) prevent competition 
> between the host and guest.
> 
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/virtualization/ch33s08
> 
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_tuning_and_optimization_guide/sect-virtualization_tuning_optimization_guide-numa-numa_and_libvirt

My understanding is based on:

https://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-4-our-first.html

(search for vcpupin partway down the page). This doesn't relate to NUMA
systems but to cache efficiency (also mentioned in your second
reference), though it may be a matter of terminology. Perhaps I should
have said "avoid" or "mitigate" rather than "prevent".

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to