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

Flavio Leitner fbl at sysclose.org
Tue Sep 19 12:02:42 UTC 2017


On Tue, 19 Sep 2017 13:43:25 +0800
Sun Paul <paulrbk at gmail.com> 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
> ea7f2b40-b7b3-4f11-a81f-cf25a56f8172
>     Bridge "gtp1"
>         Port "dpdk0"
>             Interface "dpdk0"
>                 type: dpdk
>                 options: {dpdk-devargs="0000:04:00.2", n_rxq="4"}
>         Port "gtp1"
>             Interface "gtp1"
>                 type: internal
>         Port "dpdk1"
>             Interface "dpdk1"
>                 type: dpdk
>                 options: {dpdk-devargs="0000:04:00.3", n_rxq="4"}
> 
> 
> 
> On Tue, Sep 19, 2017 at 4:09 AM, Flavio Leitner <fbl at sysclose.org> wrote:
> > On Mon, 18 Sep 2017 16:51:33 +0800
> > Sun Paul <paulrbk at gmail.com> 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 dpif-netdev/pmd-rxq-show
> >> pmd thread numa_id 0 core_id 1:
> >> isolated : false
> >> port: dpdk0 queue-id: 0
> >> pmd thread numa_id 0 core_id 2:
> >> isolated : false
> >> port: dpdk1 queue-id: 0  
> >
> > Could you post the DPDK configuration and what do you want?
> >
> > Thanks,
> > --
> > Flavio
> >  



-- 
Flavio



More information about the discuss mailing list