[dpdk-dev] [PATCH] Performance optimization of ACL build process

Vladyslav Buslov vladyslav.buslov at harmonicinc.com
Tue Aug 16 16:01:27 CEST 2016


Hello,

In our application we need to be able to allocate tens of thousands of ACLs at runtime.
Testing revealed significant performance problems. We were able to track them to memset in calloc function which caused multiple page walks per invocation.
Modifying tb_mem to use huge page memory resulted ~2x performance gain for that operation.

Regards,
Vladyslav

Vladyslav Buslov (1):
  acl: use rte_calloc for temporary memory allocation

 lib/librte_acl/tb_mem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.8.3



More information about the dev mailing list