From: "Pavey, Nicholas" <npavey@akamai.com>
To: Anupam Kapoor <anupam.kapoor@gmail.com>,
"Wiles, Keith" <keith.wiles@intel.com>
Cc: David Aldrich <David.Aldrich@emea.nec.com>,
"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Is DPDK compatible with C++11 threads?
Date: Thu, 10 Nov 2016 12:49:33 +0000 [thread overview]
Message-ID: <F06841E7-CA0F-4D4E-B8A2-7948EE27C95F@akamai.com> (raw)
In-Reply-To: <CAEXHiZFpCrX0v_Fpmpj4WyU1qCjHpx-iQ0RKC4jcAwN1Q9Q3cg@mail.gmail.com>
Yes, agreed. We only use the STL in general purpose code, not the DPDK fast path.
Nick
From: Anupam Kapoor <anupam.kapoor@gmail.com>
Date: Wednesday, November 9, 2016 at 11:14 PM
To: "Wiles, Keith" <keith.wiles@intel.com>
Cc: David Aldrich <David.Aldrich@emea.nec.com>, "Pavey, Nicholas" <npavey@akamai.com>, "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Is DPDK compatible with C++11 threads?
On Thu, Nov 10, 2016 at 2:30 AM, Wiles, Keith <keith.wiles@intel.com<mailto:keith.wiles@intel.com>> wrote:
Also look at one of the DPDK examples as it uses a lthread on top of pthreads and it may give you some ideas as to how multiple threads can work. I am trying to remember which example and my dev machine is down at this time, but just search for lthread.
this one: http://dpdk.org/doc/guides/sample_app_ug/performance_thread.html<https://urldefense.proofpoint.com/v2/url?u=http-3A__dpdk.org_doc_guides_sample-5Fapp-5Fug_performance-5Fthread.html&d=DgMFaQ&c=96ZbZZcaMF4w0F4jpN6LZg&r=ssgET6RyiWLuSGT5U4X0s-CtLYP5dr-AKGa5XH84zdM&m=7hZrbWDcflak8oiYezM8ikKmkjXi6bqa-uc-Tj8hzsE&s=Q6FKkqcR_EKo71KN5FKQYQEJGU--5ZdNjkqs5hLKk34&e=>
one more thing that you probably need to watch out for would be libc interactions within your C++11 application e.g. usage of stl containers might exact a severe performance penalty...
--
kind regards
anupam
In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda.
prev parent reply other threads:[~2016-11-10 12:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-08 13:12 David Aldrich
2016-11-08 17:04 ` Wiles, Keith
2016-11-08 17:23 ` Pavey, Nicholas
2016-11-09 8:40 ` David Aldrich
2016-11-09 21:00 ` Wiles, Keith
2016-11-10 4:14 ` Anupam Kapoor
2016-11-10 12:49 ` Pavey, Nicholas [this message]
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=F06841E7-CA0F-4D4E-B8A2-7948EE27C95F@akamai.com \
--to=npavey@akamai.com \
--cc=David.Aldrich@emea.nec.com \
--cc=anupam.kapoor@gmail.com \
--cc=keith.wiles@intel.com \
--cc=users@dpdk.org \
/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).