sorry for late reply

we have reinstall the OVS, but still having the same issue.

we tried to set the pmd-cpu-mask=3, but only CPU1 is occupied.
%Cpu0  :100.0 us,  0.0 sy,  0.0 ni,  0.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.0 us,  0.0 sy,  0.0 ni,100.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st

#  /usr/local/bin/ovs-vsctl get Open_vSwitch . other_config
{dpdk-init="true", pmd-cpu-mask="3"}

# /usr/local/bin/ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 0:
isolated : false
port: dpdk0 queue-id: 0
pmd thread numa_id 0 core_id 1:
isolated : false

is it because there is only one nodes available in numa?

#  numactl -H
available: 1 nodes (0)
node 0 cpus: 0 1 2 3
node 0 size: 8191 MB
node 0 free: 2633 MB
node distances:
node   0
  0:  10







On Fri, Sep 22, 2017 at 9:16 PM, Flavio Leitner <f...@sysclose.org> wrote:
> On Fri, 22 Sep 2017 15:02:20 +0800
> Sun Paul <paul...@gmail.com> 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
>
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to