Hi Bhanu Prakash. I am already using the AES-NI in the VM, without that its performs worse. Processor also supports Intel QAT for crypto, will look at that.
Regards, Kapil. On Wed, Aug 10, 2016 at 3:39 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > > >-----Original Message----- > >From: Kapil Adhikesavalu [mailto:kapil20...@gmail.com] > >Sent: Wednesday, August 10, 2016 10:25 AM > >To: Bodireddy, Bhanuprakash <bhanuprakash.bodire...@intel.com> > >Cc: discuss@openvswitch.org > >Subject: Re: [ovs-discuss] Minimum number of processor cores needed to run > >OVS+DPDK in a kvm - HOST OS + VM environment > > > >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@1.7Ghz. > When running IPSEC, most cycles are spent on encryption/decryption. One > thing to check is > If the processor supports AES-NI instructions and to leverage them to > improve performance. > > > > >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 ? > In OVS, there is multiqueue and also manual pinning of rxqs support where > in you can explicitly pin a queue > to a core. But given that you have few cores(4) it may not help In your > case. > > Regards, > Bhanu Prakash. > > > > >"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 > ><kapil20...@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.bodire...@intel.com> wrote: > >>-----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