VPP-847: improve bihash template memory allocator performance 50/6750/2
authorDave Barach <dave@barachs.net>
Thu, 18 May 2017 00:20:50 +0000 (20:20 -0400)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 18 May 2017 15:38:52 +0000 (15:38 +0000)
commitba7ddfe9b77771c47f99df5475e6e92b8d80816e
tree3c04fc256af5828fbaf1934bb2f91ae7daadbbee
parent287ca3c9162456a93380f55090354e3ce0e7cb2f
VPP-847: improve bihash template memory allocator performance

Particularly in the DCLIB_VEC64=1 case, using vectors vs. raw
clib_mem_alloc'ed memory causes abysmal memory allocator performance.

Change-Id: I07a4dec0cd69ca357445385e2671cdf23c59b95d
Signed-off-by: Dave Barach <dave@barachs.net>
src/vppinfra/bihash_template.c
src/vppinfra/bihash_template.h
src/vppinfra/mheap.c
src/vppinfra/mheap_bootstrap.h
src/vppinfra/test_bihash_template.c