From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app/test: decrease memory requirements for hash Date: Fri, 23 Sep 2016 18:42:15 +0200 Message-ID: <210678799.D43kTmEU8u@xps13> References: <1473680288-29525-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com, bruce.richardson@intel.com To: Olivier Matz Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 5B6FE68F2 for ; Fri, 23 Sep 2016 18:46:52 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id l132so40067068wmf.1 for ; Fri, 23 Sep 2016 09:46:52 -0700 (PDT) In-Reply-To: <1473680288-29525-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-09-12 13:38, Olivier Matz: > In hash autotest, the size of tables that should be succesfully created > is 32K entries (256KB), except for the table called "different_name", > which is 1M entries (8MB). When memory is too fragmented (with 2M > hugepages), the test can fail. > > To avoid allocation failures due to memory fragmentation, decrease the > size of the table to 32K. > > Signed-off-by: Olivier Matz Applied, thanks