[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Thomas Monjalon
2016-08-31 08:38, Vladyslav Buslov: > Would you accept this change as config file compile-time parameter with libc > calloc as default? > It is one line change only so it is easy to ifdef. The configuration should not be compile-time. Please think about a runtime configuration via an API.

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Ananyev, Konstantin
Hi Vlad, > > Hi Konstantin, > > Thanks for your feedback. > > Would you accept this change as config file compile-time parameter with libc > calloc as default? > It is one line change only so it is easy to ifdef. It is an option, but the main requirements from the community is to minimize nu

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Vladyslav Buslov
Hi Konstantin, Thanks for your feedback. Would you accept this change as config file compile-time parameter with libc calloc as default? It is one line change only so it is easy to ifdef. Regards, Vlad -Original Message- From: Ananyev, Konstantin [mailto:konstantin.anan...@intel.com]

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-31 Thread Ananyev, Konstantin
Hi Vladyslav, > -Original Message- > From: Vladyslav Buslov [mailto:vladyslav.buslov at harmonicinc.com] > Sent: Tuesday, August 16, 2016 3:01 PM > To: Ananyev, Konstantin > Cc: dev at dpdk.org > Subject: [PATCH] acl: use rte_calloc for temporary memory allocation > > Acl build process u

[dpdk-dev] [PATCH] acl: use rte_calloc for temporary memory allocation

2016-08-16 Thread Vladyslav Buslov
Acl build process uses significant amount of memory which degrades performance by causing page walks when memory is allocated on regular heap using libc calloc. This commit changes tb_mem to allocate temporary memory on huge pages with rte_calloc. Signed-off-by: Vladyslav Buslov --- lib/librte_