From: Jason Lefley <jason.lefley@aclectic.com>
To: users@dpdk.org
Cc: "<yahya@aclectic.com>" <yahya@aclectic.com>
Subject: [dpdk-users] Using DPDK EAL with existing multi-threaded application
Date: Mon, 7 Nov 2016 22:39:04 -0800 [thread overview]
Message-ID: <A806B085-DCB5-4481-9693-EE5DE9FE7829@aclectic.com> (raw)
I am working on leveraging SPDK (which internally uses EAL from DPDK) from an existing application that uses Intel’s TBB. I do not need to use EAL for multithreading but SPDK does require at least huge page support and PCI access from EAL.
I noticed that if I try to use TBB’s parallel_for() after I have called rte_eal_init(), then the TBB operation doesn’t actually run in parallel. If I remove the call to rte_eal_init(), the TBB operations work as expected however I then cannot use SPDK. Does anyone have any input regarding how I can keep my existing multi-threaded application working as intended as I integrate SPDK/DPDK?
Thanks
next reply other threads:[~2016-11-08 6:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 6:39 Jason Lefley [this message]
2016-11-09 17:12 ` Jason Lefley
2016-11-11 18:19 ` Daniel Verkamp
2016-11-15 23:32 ` Jason Lefley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A806B085-DCB5-4481-9693-EE5DE9FE7829@aclectic.com \
--to=jason.lefley@aclectic.com \
--cc=users@dpdk.org \
--cc=yahya@aclectic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).