>-----Original Message-----
>From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Kapil
>Adhikesavalu
>Sent: Monday, August 1, 2016 5:13 PM
>To: discuss@openvswitch.org
>Subject: [ovs-discuss] Minimum number of processor cores needed to run
>OVS+DPDK in a kvm - HOST OS + VM environment
>
>Hello,
>
>What will be minimum number of processor cores needed to run OVS+DPDK
>in a kvm - HOST OS + VM environment?
>
>core 1: Host OS
>core 2: VM
>core 3: PMD - for NIC dpdk + vhost ports - default it picks 1 core i believe.
Yes, If pmd-cpu-mask not specified, the pmd thread defaults to core 0.  
In case you want to explicitly pin pmd thread to core 3, pass pmd-cpu-mask=4. 
For more information check ovs-vswitchd.conf.db man pages.

>core 4: DPDK lcore - dpdk-lcore-mask
You don't have to explicitly pin dpdk control threads in this case.

>
>i have only a 4 core CPU, so i am just looking if i can run 2 VM's instead of 
>1 as
>in above.
You should be able to run 2 VMs on 4 core CPU. 
For better performance (core 0 - platform logic/ core 1 - VM1 qemu thread/ core 
2 - VM2 qemu thread/ core 3 - pmd thread).

Regards,
Bhanu Prakash.

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to