[ovs-discuss] Minimum number of processor cores needed to run OVS+DPDK in a kvm - HOST OS + VM environment

Kapil Adhikesavalu kapil20084 at gmail.com
Mon Aug 1 17:15:16 UTC 2016


Hi Bhanu Prakash,

Thanks for the info. Will there be any performance benefit in allocating a
core for dpdk control threads using dpdk-lcore-mask ? when i have more
cores.

Regards,
kapil.



On Mon, Aug 1, 2016 at 10:28 PM, Bodireddy, Bhanuprakash <
bhanuprakash.bodireddy at intel.com> wrote:

> >-----Original Message-----
> >From: discuss [mailto:discuss-bounces at openvswitch.org] On Behalf Of Kapil
> >Adhikesavalu
> >Sent: Monday, August 1, 2016 5:13 PM
> >To: discuss at 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160801/f9640ece/attachment-0002.html>


More information about the discuss mailing list