From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 8DEEA1C0B for ; Fri, 30 Jun 2017 18:12:34 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 05D8020A13; Fri, 30 Jun 2017 12:12:34 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Fri, 30 Jun 2017 12:12:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Wdh M6qENN6d9FQCVmbwPy2hLLjKu56zX7QqL+jHpdGo=; b=H8LHoVBAD+Q5hfW71ny lTHRXFHS/z7zHXmlL6ovWxaLyemf+04W/yq6KUAnT5j5QAIfwHQ10+BnrRZ56eIR GWnoXwHmAGp2mfB0ZMReQ+beGJU4sbg1+OMp0K36t8cmN4kIXKBmQPVdYGVtbe0o 5ahjTnvXo2BpGyeZf0Gf2YLc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=WdhM6qENN6d9FQCVmbwPy2hLLjKu56zX7QqL+jHpd Go=; b=MjFs1WIhmqjzPtmJdpwrbdjTD+rC/xHCJ3MTcOUAEifSghJUxmz1amnYS lRyHg1c0UIlP8q8oH8oDvQ0ZCGWAkE330CrBaTWpPMIimmSsmiznUf/EdsxNr6KN KmV2uOIdw27UqH+2inBfNNQGBcHlcUU5mFtlxUgcfjOcvJKYP0eDP0Jt/1OArka/ SAeSR4wiXoGxB15PhXuLxwja4tBAU0GAWwXi7kwWdoJPXGXuKLF+bsSYJZJ10dWF ebrxmoly1QYWepGXuYAVGTdpQRmNFpLkP+iS1w2gEFOl7akd3KlYHA6QXoH18/c1 iU+60lwGe8OONAf/dLmw2ox7dDkSQ== X-ME-Sender: X-Sasl-enc: 3GJ8ojjcQwKTacIjOX1x3OWtuhoYYVrunTHVp7iJQF1W 1498839153 Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 712DE7E5C8; Fri, 30 Jun 2017 12:12:33 -0400 (EDT) From: Thomas Monjalon To: Ilya Maximets Cc: dev@dpdk.org Date: Fri, 30 Jun 2017 18:12:22 +0200 Message-Id: <20170630161224.7532-1-thomas@monjalon.net> X-Mailer: git-send-email 2.13.1 In-Reply-To: <1498715960-2668-1-git-send-email-i.maximets@samsung.com> References: <1498715960-2668-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v11 0/2] Balanced allocation of hugepages X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 16:12:34 -0000 Version 11: * Fixed test-build.sh for missing libnuma dependency 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 | 6 +- lib/librte_eal/linuxapp/eal/Makefile | 3 + lib/librte_eal/linuxapp/eal/eal_memory.c | 120 ++++++++++++++++++++++++++++-- mk/rte.app.mk | 3 + 8 files changed, 132 insertions(+), 11 deletions(-) -- 2.13.1