Low Performance (KVM Vs VMware Hypervisor) When running multi-process application

Hello Everyone, Please advice. Any help will be highly appreciated. Thank you in advance. Test Setup: oVirt Centos 7.8 Virtulization Host Guest VM Centos 7.8 (Mutiqueue enabled 6 vCPUs with 6 Rx Tx Queues) The vCPUs are configured for host pass through (Pinned CPU). The Guest VM runs the application in userspace. The Application consists of the parent process that reads packets in raw socket mode from the interface and forwards then to child processes (~vCPUs) via IPC (shared memory – pipes). The performance (throughput / CPU utilization) that I get with KVM is half of what I get with VMware. Any thoughts on the below observations? Any suggestions? KVM Guest VMs degraded performance when running multi-process applications. High FUTEX time (Seen on the Guest VM when passing traffic). High SY: System CPU time spent in kernel space (Seen on both Hypervisor and the Guest VMs only when running my application.) -Rav Ya

On Tue, Sep 15, 2020 at 5:02 PM Ravin Ya <ravin.ya90@gmail.com> wrote:
Hello Everyone,
Please advice. Any help will be highly appreciated. Thank you in advance.
Test Setup: oVirt Centos 7.8 Virtulization Host Guest VM Centos 7.8 (Mutiqueue enabled 6 vCPUs with 6 Rx Tx Queues) The vCPUs are configured for host pass through (Pinned CPU).
The Guest VM runs the application in userspace. The Application consists of the parent process that reads packets in raw socket mode from the interface
Is this interface a virtual NIC? If so, please ensure to disable network filtering on the used vNIC profile before starting the VM. If there is a way to use SR-IOV/ passthrough vNIC profile, this would provide nearly bare metal performance of the virtual NIC.
and forwards then to child processes (~vCPUs) via IPC (shared memory – pipes). The performance (throughput / CPU utilization) that I get with KVM is half of what I get with VMware.
Any thoughts on the below observations? Any suggestions? KVM Guest VMs degraded performance when running multi-process applications. High FUTEX time (Seen on the Guest VM when passing traffic). High SY: System CPU time spent in kernel space (Seen on both Hypervisor and the Guest VMs only when running my application.)
-Rav Ya _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/QGR367Q6QGSURV...
participants (2)
-
Dominik Holler
-
Ravin Ya