DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] DPDK and Link-time Optimizations
@ 2019-04-29 16:39 Mattias Rönnblom
  2019-04-29 16:39 ` Mattias Rönnblom
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Mattias Rönnblom @ 2019-04-29 16:39 UTC (permalink / raw)
  To: dev

Hi.

Did anyone on the list successfully build DPDK with GCC Link-time 
Optimizations (LTO) enabled? I tried and failed a while back, although 
the detailed reasons of my failure eludes me for the moment.

If LTO builds would work "out of the box", DPDK could gradually migrate 
from away from having static inline functions in the header files.

Those interested squeezing out as much performance as possible would 
build with LTO (and static linking), and those applications who cared 
more about independent upgrades would use dynamic linking and non-LTO 
builds. With the extra cost of using DPDK as a shared library 
(-fPIC-compiled code, more expensive TLS accesses etc), I'm guessing 
this is the case already today.

Regards,
	Mattias

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

end of thread, other threads:[~2019-11-08 14:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 16:39 [dpdk-dev] DPDK and Link-time Optimizations Mattias Rönnblom
2019-04-29 16:39 ` Mattias Rönnblom
2019-04-29 16:50 ` Stephen Hemminger
2019-04-29 16:50   ` Stephen Hemminger
2019-11-08 14:31 ` Thomas Monjalon

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