[dpdk-dev] Running multiple threads on a single core

Martin Drašar drasar at ics.muni.cz
Mon Sep 21 16:35:49 CEST 2015


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='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


More information about the dev mailing list