DPDK patches and discussions
 help / color / mirror / Atom feed
From: Srinivas Reddi <srinivas.reddi@aricent.com>
To: "discuss@openvswitch.org" <discuss@openvswitch.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] does vswitchd runs multiple threads when i added dpdk devices
Date: Mon, 28 Jul 2014 07:33:35 +0000	[thread overview]
Message-ID: <8d11521a13174f06811f621bd002ed19@GURMBXV02.AD.ARICENT.COM> (raw)

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."

             reply	other threads:[~2014-07-28  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  7:33 Srinivas Reddi [this message]
     [not found] ` <20140728161448.GA6127@nicira.com>
2014-07-28 18:02   ` [dpdk-dev] [ovs-discuss] " Alex Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8d11521a13174f06811f621bd002ed19@GURMBXV02.AD.ARICENT.COM \
    --to=srinivas.reddi@aricent.com \
    --cc=dev@dpdk.org \
    --cc=discuss@openvswitch.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).