From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ZRIzBzqUNxI5fxw/pTAVvSRNX/yPbSv402QfStGKp2M=; b=FKtaLayjKMpnwe/xF6DVisr2Jn8dK/5Wfcq6Oiv9blkc5N32gP21AVcsFuqghj1Mz8 xbyDfc38SjRImZq6l4VjlgpKJlRDoTXZVjW9UJA+2UjcDkMrcE0eyxBExw4KeU79VgrR C+Hp6c8nE3nSIr3oelWL11famoRpPauLyGMxAoyqQypG5ufcdlLUtLnhL3eQu/OQlXch 0bBYzWL1+PqVAWXY8/ITDJPfRJ0aEacoAoLfaopmSl1NpbS4qH9E9hhoWE738HyIFxEG 6X4wCnwBX/ikUdBmkFF/1gxQMGKi8c8lcO2mFaRs1dHjZtH5ZghwvowObvYCLNI3dSeL jJ7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ZRIzBzqUNxI5fxw/pTAVvSRNX/yPbSv402QfStGKp2M=; b=Veemye7V6GFOI8xJxPmHUYa3pu5Q78TbY9jTdOWxjqsCI8Hx15Vr9gz10Qm1ESkiPG ljvxVGqaik1vTihPNri1mYHOrFYGiEIxeRgJN6U04DpJGMAF1N2Ow9gDG5JcKYXmvnkW Unx6bYc/+1SQAQXfY3/0fuOBGH7e+de+muNPPjdvWfsLbo0RR5cRbYOwoM7AdHbPzlgm WoYF6uZLQLHLe0Sw3azEby74IhUgPtZ2lNkkXVUW6cEtNRjbyBHpxKJTAQ5D+ipN2afq jNoR2AG3o1LQSoYMJnlAAzgtacw9VM/xjFQHPXc4asMNkZK9jornCnhPOC92tizQTL6R OGGg== X-Gm-Message-State: AA6/9RkajJ6Vp0o+tEJqZn3aXbl3rjgcNO/wtKqRmbihqqjLxsrXVdtaYqPqo74tSWvcMiPA X-Received: by 10.194.106.103 with SMTP id gt7mr7887320wjb.201.1474649212138; Fri, 23 Sep 2016 09:46:52 -0700 (PDT) Received: from xps13.localnet (232.204.154.77.rev.sfr.net. [77.154.204.232]) by smtp.gmail.com with ESMTPSA id e187sm3901792wma.21.2016.09.23.09.46.50 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Sep 2016 09:46:51 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, pablo.de.lara.guarch@intel.com, bruce.richardson@intel.com Date: Fri, 23 Sep 2016 18:42:15 +0200 Message-ID: <210678799.D43kTmEU8u@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1473680288-29525-1-git-send-email-olivier.matz@6wind.com> References: <1473680288-29525-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] app/test: decrease memory requirements for hash X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 16:46:52 -0000 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