From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <users-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id D4C74A0547
	for <public@inbox.dpdk.org>; Wed, 29 Sep 2021 13:12:07 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id BDCE7410DB;
	Wed, 29 Sep 2021 13:12:07 +0200 (CEST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id B17F5410D7
 for <users@dpdk.org>; Wed, 29 Sep 2021 13:12:05 +0200 (CEST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46])
 by mailout.nyi.internal (Postfix) with ESMTP id 4E0A15C0100;
 Wed, 29 Sep 2021 07:12:05 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute6.internal (MEProxy); Wed, 29 Sep 2021 07:12:05 -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=fm2; bh=
 gBSfuY4+Ljmicbosp93uPRDdpR49a4JAsi1olMF1ia4=; b=TYagxa7LfFLFMIEg
 UpxqtbUrVomHVtP0jMRYcxPTlGVYANIROSXdO7T86w8jA2Lhd1gEqDWVdVXBaUgC
 tQ4Nj/cpstt0PIH0yNlPfJDZNtSAEDHfJWMu4oydHjYJ0lhB2p/gmadN2hCpCu/w
 q2OJsQefaqTT/Md7+6ELD8aZM4Rv7InoWwKFWXqW9/G/6zX9sX0GB8cMGBwM6XLV
 8ZxxUCi9+MLxLhYcam4Hh/92syK2qG48k1pe73DK5hetbVklgPdyclms8fz127xy
 RooJAHH/cVuTtOOtqygamwYMaqnLiL1jxo323MuoDGFjT7M1PT8Qj8rEoVZVnq5F
 MOqO6w==
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=fm3; bh=gBSfuY4+Ljmicbosp93uPRDdpR49a4JAsi1olMF1i
 a4=; b=GBaIlg3mqFRm7jjDgCp+n7xc7O9maxq8I6op3gyBv7jkiL1rJfkvgnPOV
 b7CDgYofng9tjZLO7SQu+qYyx3Fl+u2nnIixzdehfrK9D4mFVkWCWsmtOIA/lwOf
 NjbfF1u3gfnCEjKhZQRk0FtxMpaRtlnQUCmXERVO6KCUAafs4pxnznIZhNnheMYW
 tg3SAGSsx2oG5gJMcF2s9J8Y0maJpDDudgXUxpU6F+R/ozqybauqZp+JOhcC6xSU
 vsG3ltUQMbzFt4+8VQMjD3nc9Y3nSyAws++mULyC+MkPZ25EqnokdpClVgXIdn4e
 lmyagviYbEfl0/JcxMUbNt49zNGZg==
X-ME-Sender: <xms:BUpUYXa8Klv2M_ed1U42iLDhqczlcbdGCd8t6fUpoZdlIZb_aBtLTA>
 <xme:BUpUYWZeQo9jw0Z4AEngzbpPh4-AfQFAikiZKZe_IngdgJPSEQPYFQyvELD7FVbKh
 FX140hlwabIRaSZ7g>
X-ME-Received: <xmr:BUpUYZ8tehFPBSPi798hYGAd56ihjLhO93rH8dwMFjLC0NpRWs9BAABWGwPQW32gw5VLpd9avuEegU-jfBARsROv-w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekvddgfeeiucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr
 shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg
 ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu
 ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh
 homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth
X-ME-Proxy: <xmx:BUpUYdqyeWv4bT-QCq_Q2_MXh4IvDJndXldHGrTQ3L99_XdxYQXamg>
 <xmx:BUpUYSrHvEJ8RvkcWUUn5jAxR1J2wQU4iaFk_KyZyG4g_K4asiyXOA>
 <xmx:BUpUYTQl74yYCmLZZ-RgjLO6qnLvUT2jqY8IWNqP4uc6tdWDSPoS7w>
 <xmx:BUpUYblaPjh5BIE3kfiMuWkU3XAdSIs0Q5Bq9dIHAf41VgZ3E082OQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed,
 29 Sep 2021 07:12:04 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: Mohammad Masumi <mmasumi@gmail.com>, "Burakov,
 Anatoly" <anatoly.burakov@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>,
 "dmitry.kozliuk@gmail.com" <dmitry.kozliuk@gmail.com>, "Richardson,
 Bruce" <bruce.richardson@intel.com>,
 "stephen@networkplumber.org" <stephen@networkplumber.org>
Subject: Re: [dpdk-users] Memory allocation limits
Date: Wed, 29 Sep 2021 13:12:03 +0200
Message-ID: <1758092.NzVlmGAOTI@thomas>
In-Reply-To: <PH0PR11MB509303BFA63B5C9EF0888A8BF7A99@PH0PR11MB5093.namprd11.prod.outlook.com>
References: <CAFoxKyG1vEKKpzD0FAHeGqs_2m=Mm+56gZ2DEXumRGTzpGis5w@mail.gmail.com>
 <1728391.6pqWS55XY0@thomas>
 <PH0PR11MB509303BFA63B5C9EF0888A8BF7A99@PH0PR11MB5093.namprd11.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-BeenThere: users@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK usage discussions <users.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/users>,
 <mailto:users-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/users/>
List-Post: <mailto:users@dpdk.org>
List-Help: <mailto:users-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/users>,
 <mailto:users-request@dpdk.org?subject=subscribe>
Errors-To: users-bounces@dpdk.org

29/09/2021 12:14, Burakov, Anatoly:
> From: Thomas Monjalon <thomas@monjalon.net>
> > 26/09/2021 17:52, Mohammad Masumi:
> > > Hi
> > >
> > > I have HP server with 768GB memory 384GB in each Numa but I can't
> > > allocate more than 64GB by rte_malloc by changing some parameters in
> > > rte_config.h it increased to 128GB How to increase heap size?
> > 
> > adding people Cc to help
> > 
> 
> Hi,
> 
> This is intentional. In order to increase the amount of contiguous allocation possible to perform in DPDK, you need to adjust the following values in rte_config.h:
> 
> #define RTE_MAX_MEMSEG_PER_LIST 8192
> #define RTE_MAX_MEM_MB_PER_LIST 32768
> #define RTE_MAX_MEMSEG_PER_TYPE 32768
> #define RTE_MAX_MEM_MB_PER_TYPE 65536
> 
> I do not recommend arbitrarily changing them as this is untested, but increasing them proportionally (e.g. multiply all of them by 2 or 4) should not break anything.

It looks to be something to add in docs, right?