From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C2428A0679 for ; Thu, 28 Mar 2019 23:22:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 80D2C2BF4; Thu, 28 Mar 2019 23:22:27 +0100 (CET) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id AB7ED1B05 for ; Thu, 28 Mar 2019 23:22:26 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4215121B42; Thu, 28 Mar 2019 18:22:26 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 28 Mar 2019 18:22:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=eIOk/LJGnhdvJtzl0C/Q0fe6YMmCgFiLIC3AxcgKEic=; b=Lw+6OtWRABx7 aa1zcxGGb5bkgbx2O/mJsubVluCD22UrMjWVGwMDeANgKyFd5dLwXJclLpviblO9 98QKOcb0MmRXyUW6ymohVpbeyG8irWkI36oqhXT4KUoj6bz18gBK/le6j4l4RGFk t1dHAMFIyXIDEQj1SVLq8Yez28qbp7g= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=eIOk/LJGnhdvJtzl0C/Q0fe6YMmCgFiLIC3AxcgKE ic=; b=mUHAnnlZaQksrZcVzemabJSqUKBRiSSvU1WVeETR+KFXgLhHjPHzb1ONP TuzSQZHP76t7/rzOuHdCNhjCvMUcvEwL0iJiTBiwQ+RBEunZudS0fraQeooV4UR7 ZmTdCmOyHng9L6WogDyr2RdsvTfgOnzWDFNniMVdbMWvn1E3D9k4wfbxCfZv7Qtk YwkP5EQKMfY/waSWslHJ1EXs45//7wvxnouSQQV6r7Saqe7z3syMitKhXJNL72aR 89+lpkhz0GCfGNgZbrckJAIZ66HdgEEfKZqnsAD0l17RVJMCRfySfEcHIkJniRIR KpPnp0sCSQrQhUvfuhmQ5Si9IwyXQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrkeeggdduiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhh ohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2CC8DE49E7; Thu, 28 Mar 2019 18:22:25 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, maxime.leroy@6wind.com Date: Thu, 28 Mar 2019 23:22:23 +0100 Message-ID: <3860429.Y1zGKIDizg@xps> In-Reply-To: <0a770fb3968c0a270eb57ff7764d6fba4cf6f76d.1550851998.git.anatoly.burakov@intel.com> References: <0a770fb3968c0a270eb57ff7764d6fba4cf6f76d.1550851998.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 3/3] eal: attempt multiple hugepage allocations at init 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Message-ID: <20190328222223.uqWfzSg8OxQMECZAVdNkEafS8rq8SiMnBBvzuyc6y2I@z> 22/02/2019 17:14, Anatoly Burakov: > When requesting memory with ``-m`` or ``--socket-mem`` flags, > currently the init will fail if the requested memory amount was > bigger than any one memseg list, even if total amount of > available memory was sufficient. > > Fix this by making EAL to attempt to allocate pages multiple > times, until we either fulfill our memory requirements, or run > out of hugepages to allocate. > > Bugzilla ID: 95 > > Signed-off-by: Anatoly Burakov Series applied, thanks