Thank for the share.
I think I have missed an important information, our setup is on a VM
guest, so not sure it is related.
On Mon, Oct 16, 2017 at 7:26 PM, Guoshuai Li wrote:
> I can not answer your question, but I can share my environment:
>
>
> I have 32 cpu:
>
>
>
I can not answer your question, but I can share my environment:
I have 32 cpu:
[root@gateway1 ~]# cat /proc/cpuinfo | grep processor | wc -l
32
[root@gateway1 ~]#
I config my pmd-cpu-mask with 0xff00.
[root@gateway1 ~]# ovs-vsctl get Open_vSwitch . other_config
{dpdk-init="true",
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,
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
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
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
On Wed, 20 Sep 2017 09:13:55 +0800
Sun Paul wrote:
> sorry about that
>
> # ovs-vsctl get Open_vSwitch . other_config
> {dpdk-init="true", n-dpdk-rxqs="2", pmd-cpu-mask="0x6"}
Have you tried to change pmd-cpu-mask? Because that is mask of bits
representing the CPUs you allow
sorry about that
# ovs-vsctl get Open_vSwitch . other_config
{dpdk-init="true", n-dpdk-rxqs="2", pmd-cpu-mask="0x6"}
On Tue, Sep 19, 2017 at 8:02 PM, Flavio Leitner wrote:
> On Tue, 19 Sep 2017 13:43:25 +0800
> Sun Paul wrote:
>
>> Hi
>>
>> below is the
On Tue, 19 Sep 2017 13:43:25 +0800
Sun Paul wrote:
> Hi
>
> below is the output. currently, I am only able to set to use two CPU for PMD.
I was referring to the output of
ovs-vsctl get Open_vSwitch . other_config
fbl
>
> # ovs-vsctl show
>
Hi
below is the output. currently, I am only able to set to use two CPU for PMD.
# ovs-vsctl show
ea7f2b40-b7b3-4f11-a81f-cf25a56f8172
Bridge "gtp1"
Port "dpdk0"
Interface "dpdk0"
type: dpdk
options: {dpdk-devargs=":04:00.2", n_rxq="4"}
On Mon, 18 Sep 2017 16:51:33 +0800
Sun Paul wrote:
> Hi
>
> I have two interfaces mapped to DPDK, and run the OVS on top of it. I
> tried to set the cpu mask, but I cannot only allocate more than 2 CPU
> for pmd thread. any idea?
>
> # /usr/local/bin/ovs-appctl
Hi
I have two interfaces mapped to DPDK, and run the OVS on top of it. I
tried to set the cpu mask, but I cannot only allocate more than 2 CPU
for pmd thread. any idea?
# /usr/local/bin/ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 1:
isolated : false
port: dpdk0 queue-id: 0
12 matches
Mail list logo