Re: [ovs-discuss] how many CPU cannot allocate for PMD thread?

2017-09-22 Thread Flavio Leitner
On Fri, 22 Sep 2017 15:02:20 +0800 Sun Paul wrote: > hi > > we have tried on that. e.g. if we set to 0x22, we still only able to > see 2 cpu is in 100%, why? Because that's what you told OVS to do. The mask 0x22 is 0010 0010 and each '1' there represents a CPU. -- Flavio

[ovs-discuss] Cannot dump packet capture using dpdk-pdump

2017-09-22 Thread Sun Paul
Hi I am trying to configured dpdk-pdump to dump the packet in the OVS bridge, however, I am failed. no packet is capture on ingress or egress, any idea? the command I used is ./dpdk-pdump -- --pdump port=1,queue=*,rx-dev=/tmp/pkts_rx.pcap,tx-dev=/tmp/pkts_tx.pcap

[ovs-discuss] CPU freqency is not max when running ovs_DPDK

2017-09-22 Thread 王志克
Hi All, I am using OVS_DPDK, and the target CPU has running 100%. However, I notice the cpu frequency is NOT exceeding the max value, so the performance may not reach the best value. I have 2 pmd only for now, each is hyper-thread core in one physical core. I am not sure the reason, and do

Re: [ovs-discuss] how many CPU cannot allocate for PMD thread?

2017-09-22 Thread Per-Erik Westerberg
Hi, Using bit-mask 0x22 is still only two bits set which will result in two CPUs being used, use 0x33 or 0x0f for four CPUs etc.   Regards / Per-Erik On fre, 2017-09-22 at 15:02 +0800, Sun Paul wrote: > hi > > we have tried on that. e.g. if we set to 0x22, we still only able to > see 2 cpu is

Re: [ovs-discuss] how many CPU cannot allocate for PMD thread?

2017-09-22 Thread Sun Paul
hi we have tried on that. e.g. if we set to 0x22, we still only able to see 2 cpu is in 100%, why? # ovs-vsctl get Open_vSwitch . other_config {dpdk-init="true", n-dpdk-rxqs="2", pmd-cpu-mask="0x22"} Sep 22 22:54:29 host1 ovs-vswitchd[3504]: ovs|00196|netdev_dpdk|WARN|Failed to enable flow