Hi all,

I have an application framework that starts up two shared libraries in two 
separate threads. One of these libraries is mine, and in its initialisation I 
call rte_eal_init(). However, this has the unfortunate side-effect of making 
both threads run on the same CPU core, resulting in a throughput drop from an 
ideal 2.5Gbps to about 1Gbps. I've tried options like:

    --lcores='(0-19)@(0-19)'

Or

    taskset f start_framework other_lib.so my_dpdk_lib.so
then in my_dpdk_lib.so code:
    rte_eal_init(2, {"-c", "fff0"});

Or in my_dpdk_lib.so code

    rte_thread_unregister();

And various combinations of the above, but nothing works.

I've read the Programmer's Guide chapter 4.3, but I'm not getting anything to 
work. Am I missing something simple, or is there anywhere I can get a more 
in-depth explanation of this stuff?

Thanks,
Ken

Reply via email to