* does vswitchd runs multiple threads when i added dpdk devices
@ 2014-07-28 7:33 Srinivas Reddi
[not found] ` <8d11521a13174f06811f621bd002ed19-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Srinivas Reddi @ 2014-07-28 7:33 UTC (permalink / raw)
To: discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org
Cc: dev-VfR2kkLFssw@public.gmane.org
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] 3+ messages in thread[parent not found: <8d11521a13174f06811f621bd002ed19-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org>]
* Re: [ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices [not found] ` <8d11521a13174f06811f621bd002ed19-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org> @ 2014-07-28 16:15 ` Ben Pfaff [not found] ` <20140728161448.GA6127-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Ben Pfaff @ 2014-07-28 16:15 UTC (permalink / raw) To: Srinivas Reddi Cc: dev-VfR2kkLFssw@public.gmane.org, discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20140728161448.GA6127-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>]
* Re: [ovs-discuss] does vswitchd runs multiple threads when i added dpdk devices [not found] ` <20140728161448.GA6127-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org> @ 2014-07-28 18:02 ` Alex Wang 0 siblings, 0 replies; 3+ messages in thread From: Alex Wang @ 2014-07-28 18:02 UTC (permalink / raw) To: Ben Pfaff Cc: dev-VfR2kkLFssw@public.gmane.org, Srinivas Reddi, discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org [-- Attachment #1.1: Type: text/plain, Size: 1058 bytes --] 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-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org> 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-yBygre7rU0TnMu66kgdUjQ@public.gmane.org > http://openvswitch.org/mailman/listinfo/discuss > [-- Attachment #1.2: Type: text/html, Size: 1653 bytes --] [-- Attachment #2: Type: text/plain, Size: 165 bytes --] _______________________________________________ discuss mailing list discuss-yBygre7rU0TnMu66kgdUjQ@public.gmane.org http://openvswitch.org/mailman/listinfo/discuss ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-28 18:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 7:33 does vswitchd runs multiple threads when i added dpdk devices Srinivas Reddi
[not found] ` <8d11521a13174f06811f621bd002ed19-AcH5Oudqfb99HHjWtI06IMyo0RDPibkP@public.gmane.org>
2014-07-28 16:15 ` [ovs-discuss] " Ben Pfaff
[not found] ` <20140728161448.GA6127-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>
2014-07-28 18:02 ` Alex Wang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox