DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] does vswitchd runs multiple threads when i added dpdk devices
@ 2014-07-28  7:33 Srinivas Reddi
       [not found] ` <20140728161448.GA6127@nicira.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Srinivas Reddi @ 2014-07-28  7:33 UTC (permalink / raw)
  To: discuss; +Cc: dev

Hi,

I have taken the code form
https://github.com/openvswitch/ovs

I have added two dpdk devices

ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk


https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK


In the above link it is mentioned as " [ Once first DPDK port is added to vswitchd, it creates a Polling thread and
polls dpdk device in continuous loop. Therefore CPU utilization
for that thread is always 100%. ] "


As per my understanding  each  dpdk device is polled on different thread .
But in my case vswithcd is running in only single thread [on core 0]  , I expected to run on 3 cores ..

One thing I want to clarify   that .. does ovs-vswitchd runs on single core only  .. or multiple thereads .. when I added dpdk devices .
If vswitchd runs on multiple threads , when I added dpdk devices .. pls let me know how can I run .


Thanks,
Srinivas.



"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices
       [not found] ` <20140728161448.GA6127@nicira.com>
@ 2014-07-28 18:02   ` Alex Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Wang @ 2014-07-28 18:02 UTC (permalink / raw)
  To: Ben Pfaff; +Cc: dev, discuss

Hey Srinivas,

Right now, ovs has only one dpdk polling thread.  We are working on
creating multiple polling threads and pinning polling threads to the same
cpu socket as dpdk interface.


Thanks,
Alex Wang,


On Mon, Jul 28, 2014 at 9:15 AM, Ben Pfaff <blp@nicira.com> wrote:

> On Mon, Jul 28, 2014 at 07:33:35AM +0000, Srinivas Reddi wrote:
> > As per my understanding  each  dpdk device is polled on different thread
> .
> > But in my case vswithcd is running in only single thread [on core 0]  ,
> I expected to run on 3 cores ..
> >
> > One thing I want to clarify   that .. does ovs-vswitchd runs on single
> core only  .. or multiple thereads .. when I added dpdk devices .
> > If vswitchd runs on multiple threads , when I added dpdk devices .. pls
> let me know how can I run .
>
> It looks like right now OVS has only one dpdk polling thread.
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-28 18:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-28  7:33 [dpdk-dev] does vswitchd runs multiple threads when i added dpdk devices Srinivas Reddi
     [not found] ` <20140728161448.GA6127@nicira.com>
2014-07-28 18:02   ` [dpdk-dev] [ovs-discuss] " Alex Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).