[dpdk-dev] Performance - linking against DPDK shared vs static libraries

Stephen Hemminger stephen at networkplumber.org
Wed Jul 23 20:08:47 CEST 2014


On Wed, 23 Jul 2014 15:58:06 +0000
"Kavanagh, Mark B" <mark.b.kavanagh at intel.com> wrote:

> Hi,
> 
> I build a switching application, which links against DPDK shared libraries; when I run the application, I see throughput of X.  I then build the application again, except this time I link against DPDK shared libraries, having modified the application's build parameters appropriately.  In this case, I see a performance drop of around .04%, which given the high throughput of the application is significant.
> 
> Is such performance degradation to be expected when using DPDK shared libraries, and if not, are there any best-known methods for preventing performance degradation, assuming that I may be constrained to using shared libraries going forward?
> 
> Thanks,
> Mark
> --------------------------------------------------------------
> Intel Shannon Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
> Business address: Dromore House, East Park, Shannon, Co. Clare
> 
> This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
> 

Shared libraries live on different pages and cause more TLB misses.


More information about the dev mailing list