From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from jaguar.aricent.com (jaguar.aricent.com [121.241.96.11]) by dpdk.org (Postfix) with ESMTP id 79592959 for ; Mon, 28 Jul 2014 09:31:58 +0200 (CEST) Received: from jaguar.aricent.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E3EC8218822; Mon, 28 Jul 2014 13:03:42 +0530 (IST) Received: from GURCASV03.AD.ARICENT.COM (unknown [10.203.26.102]) by jaguar.aricent.com (Postfix) with ESMTPS id C470721881D; Mon, 28 Jul 2014 13:03:42 +0530 (IST) Received: from GURMBXV02.AD.ARICENT.COM (10.203.26.97) by GURMBXV01.AD.ARICENT.COM (10.203.26.96) with Microsoft SMTP Server (TLS) id 15.0.847.32; Mon, 28 Jul 2014 13:03:37 +0530 Received: from GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) by GURMBXV02.AD.ARICENT.COM ([169.254.4.204]) with mapi id 15.00.0847.030; Mon, 28 Jul 2014 13:03:36 +0530 From: Srinivas Reddi To: "discuss@openvswitch.org" Thread-Topic: does vswitchd runs multiple threads when i added dpdk devices Thread-Index: Ac+qNj09tchcck+oR1KJVCnQIIuPvQ== Date: Mon, 28 Jul 2014 07:33:35 +0000 Message-ID: <8d11521a13174f06811f621bd002ed19@GURMBXV02.AD.ARICENT.COM> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.203.2.27] MIME-Version: 1.0 X-TM-AS-MML: disable Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: [dpdk-dev] does vswitchd runs multiple threads when i added dpdk devices X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 07:31:59 -0000 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=3Ddpdk ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=3Ddpdk https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK In the above link it is mentioned as " [ Once first DPDK port is added to v= switchd, 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 e= xpected 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 privi= leged 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 m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."