All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Performance optimization of ACL build process
@ 2016-08-16 14:01 Vladyslav Buslov
  2016-08-16 14:01 ` [PATCH] acl: use rte_calloc for temporary memory allocation Vladyslav Buslov
  2016-08-31 15:24 ` [PATCH] Performance optimization of ACL build process Stephen Hemminger
  0 siblings, 2 replies; 7+ messages in thread
From: Vladyslav Buslov @ 2016-08-16 14:01 UTC (permalink / raw)
  To: konstantin.ananyev; +Cc: dev

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

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

end of thread, other threads:[~2016-08-31 15:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-16 14:01 [PATCH] Performance optimization of ACL build process Vladyslav Buslov
2016-08-16 14:01 ` [PATCH] acl: use rte_calloc for temporary memory allocation Vladyslav Buslov
2016-08-31  1:27   ` Ananyev, Konstantin
2016-08-31  8:38     ` Vladyslav Buslov
2016-08-31  9:33       ` Thomas Monjalon
2016-08-31  9:59       ` Ananyev, Konstantin
2016-08-31 15:24 ` [PATCH] Performance optimization of ACL build process Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.