From: =?UTF-8?Q?Martin_Dra=c5=a1ar?= Subject: Running multiple threads on a single core Date: Mon, 21 Sep 2015 16:35:49 +0200 Message-ID: <560015C5.6080101@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable To: "dev@dpdk.org" Return-path: Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.46]) by dpdk.org (Postfix) with ESMTP id 76771A6A for ; Mon, 21 Sep 2015 16:35:56 +0200 (CEST) Received: from [147.251.17.18] (dhcp17-18.ics.muni.cz [147.251.17.18]) (authenticated user=98998@is.muni.cz bits=0) by minas.ics.muni.cz (8.14.4/8.14.4/Debian-4) with ESMTP id t8LEZtlU055092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 21 Sep 2015 16:35:56 +0200 List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, I have a hard time understanding the configuration of multiple pthreads in eal initialization. Let's say I have a 4 lcore machine (2 phys. cores with HT) and I want to run 7 threads on it. I thought that these options would help me: -c 0xf -l 0-6 --lcores=3D'0,(1,3)@2,(2,4)@3,(5,6)@1' But all I am getting is "EAL: invalid parameter for --lcores". So my question is - how can I tell EAL to start 7 threads, pin them to given CPUs and made them accessible as lcores for issuing rte_eal_remote_launch? Thanks in advance, Martin