[dpdk-dev] [PATCH v10 0/2] Balanced allocation of hugepages

Ilya Maximets i.maximets at samsung.com
Thu Jun 29 07:59:18 CEST 2017


Version 10:
	* Fixed typo in DPAA2 config.

Version 9:
	* Removed DPDK_DEP_NUMA from test-build.sh . Not needed
	  anymore.
	* Fixed out of bound write to essential_memory in case
	  where socket-mem not specified and SIGBUS occured.

Version 8:
	* helper functions from libnuma used to set mempolicy and
	  work with cpu mask.
	* Function now restores previous mempolicy instead of MPOL_DEFAULT.
	* Fixed essential_memory on SIGBUS.
	* Fixed restoring of mempolicy in case of errors (goto out).
	* Enabled by default for all linuxapp except armv7 and dpaa2.

Version 7:
	* RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES --> RTE_EAL_NUMA_AWARE_HUGEPAGES

Version 6:
	* Configuration option RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES
	  returned. Enabled by default for x86, ppc and thunderx.

Version 5:
	* Fixed shared build. (Automated build test will fail
	  anyway because libnuma-devel not installed on build servers)

Version 4:
	* Fixed work on systems without NUMA by adding check for NUMA
	  support in kernel.

Version 3:
	* Implemented hybrid schema for allocation.
	* Fixed not needed mempolicy change while remapping. (orig = 0)
	* Added patch to enable VHOST_NUMA by default.

Version 2:
	* rebased (fuzz in Makefile)

Ilya Maximets (2):
  mem: balanced allocation of hugepages
  config: enable vhost numa awareness by default

 config/common_base                        |   1 +
 config/common_linuxapp                    |   2 +
 config/defconfig_arm-armv7a-linuxapp-gcc  |   4 +
 config/defconfig_arm64-dpaa2-linuxapp-gcc |   4 +
 devtools/test-build.sh                    |   4 -
 lib/librte_eal/linuxapp/eal/Makefile      |   3 +
 lib/librte_eal/linuxapp/eal/eal_memory.c  | 120 ++++++++++++++++++++++++++++--
 mk/rte.app.mk                             |   3 +
 8 files changed, 129 insertions(+), 12 deletions(-)

-- 
2.7.4



More information about the dev mailing list