If in-lining is that big a concern, you could create your own wrapper function and explicitly mark it no-inline. Personally, I haven't seen any inordinate increase in i-cache miss rates because of in-lining on the applications we have - prefetchers on IA are usually capable of keeping up. However, every application is different enough that there really is no "general" rule here.
-Venky -----Original Message----- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger Sent: Monday, February 17, 2014 8:42 AM To: jigsaw Cc: dev at dpdk.org Subject: Re: [dpdk-dev] Is it possible to have dpdk running with no dependency on a nic ? On Mon, 17 Feb 2014 14:49:47 +0200 jigsaw <jigsaw at gmail.com> wrote: > Hi Stephen, > > Have you tried link time optimization on DPDK application? Does it > decrease the I-cache miss rate evidently? > > thx & > rgds, > -Qinglai > We use link-time-optimization without any problem. No big performance gain, but I really don't think all the inlining of big functions is necessary.