[dpdk-dev] Compiler hardening flags for libraries and performance implications

Mcnamara, John john.mcnamara at intel.com
Wed Jul 27 14:58:12 CEST 2016



> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matthew Hall
> Sent: Tuesday, July 26, 2016 5:44 PM
> To: Luca Boccassi <lboccass at Brocade.com>
> Cc: dev at dpdk.org; christian.ehrhardt at canonical.com;
> cjcollier at linuxfoundation.org; ricardo.salveti at linaro.org
> Subject: Re: [dpdk-dev] Compiler hardening flags for libraries and
> performance implications
> 
> On Tue, Jul 26, 2016 at 02:53:13PM +0000, Luca Boccassi wrote:
> > While working on uploading DPDK to Ubuntu and Debian, we were
> > wondering if anyone had any thoughts/opinions on enabling compiler
> > hardening flags for the DPDK libraries and the possible performance
> implications.
> 
> Most of the C profilers, both VTune and Perf based tools, have not given
> me that much helpful data. They make it very hard to go from slow
> functions down to actual slow lines of code causing performance issues
> that I should fix. So I would love to see a MUCH better DPDK tuning guide,
> because the current one is really generic and gives no useful advice
> beyond what any programmer has already heard many times that doesn't
> really add much value.

Hi Matthew,

Maybe you kick this off and submit something to the new howto section of the docs with whatever tuning tips you have so far.

Then we can get people to contribute over time until we have something more useful.

John


More information about the dev mailing list