DPDK usage discussions
 help / color / mirror / Atom feed
* Removing user threads from DPDK management
@ 2023-11-30  3:15 Nicolson Ken (ニコルソン ケン)
  2023-11-30  3:27 ` Nicolson Ken (ニコルソン ケン)
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolson Ken (ニコルソン ケン) @ 2023-11-30  3:15 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-30  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30  3:15 Removing user threads from DPDK management Nicolson Ken (ニコルソン ケン)
2023-11-30  3:27 ` Nicolson Ken (ニコルソン ケン)
2023-11-30  6:56   ` Nicolson Ken (ニコルソン ケン)

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