[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
Wed Aug 10 09:25:06 UTC 2016


Hi Bhanu Prakash,

With the below configuration, i am running IPSEC on the VM, which is not
scaling more than 400M unidirectional traffic per VM with Intel
Atom C2518 at 1.7Ghz.

ksoftirqd/0 process in the VM is shooting up to 95% for 400M, and it is not
able to handle any more traffic. Is there anything i can do to get better
performance with the quad core Atom CPU. Will assigning multiple queues in
the qemu/vhost/vm help ?

"For better performance (core 0 - platform logic/ core 1 - VM1 qemu thread/
core 2 - VM2 qemu thread/ core 3 - pmd thread)."

Regards
Kapil.

On Mon, Aug 1, 2016 at 10:45 PM, Kapil Adhikesavalu <kapil20084 at gmail.com>
wrote:

> 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/20160810/7a413433/attachment-0002.html>


More information about the discuss mailing list