[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] [dpdk-ovs] dpdk pmd threads use only one numa node
From:       eunho.cha () atto-research ! com (=?UTF-8?B?7LCo7J2A7Zi4?=)
Date:       2015-06-25 8:30:40
Message-ID: CAJoD7yQ-Qm3zRwsuUi8i6J=O1XXJq0gnYPJV5nWjq3OKhyG5Mw () mail ! gmail ! com
[Download RAW message or body]

Hello.

I am trying to build VM to VM scheme using ovs (git branch-2.4) and DPDK
2.0.0.

I start ovs-vswitchd like this.

# ovs-vswitchd --dpdk -cuse_dev_name my-vhost-net -c 0x401 -n 4
--socket-mem 1024,1024 -- unix:$DB_SOCK --pidfile --detach

and for increase pmd threads, I use following command. (This system has 2
numa nodes and each node has 10 cores.)

# ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=401

but pmd threads are created only on numa node 0. pmd threads are not
created on numa node 1.

So. I test bandwidth rate VM to VM.
VM1, VM2 are on numa node 0
VM3, VM4 are on numa node 1

bandwidth between VM1 to VM2 is about 10Gbps.
but bandwidth between VM3 to VM4 is about 6Gbps.

I think that pmd threads are created on numa node 1, bandwidth between VM3
to VM4 is up to 10Gbps.

Why does pmd threads use only numa node 0?
How can I use pmd threads on all numa nodes?

Thanks,
Cha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20150625/aa0e3c67/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic