From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E8EF4548F; Thu, 20 Jun 2024 03:56:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8DA7C402A3; Thu, 20 Jun 2024 03:56:02 +0200 (CEST) Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) by mails.dpdk.org (Postfix) with ESMTP id 2858D40273 for ; Thu, 20 Jun 2024 03:56:01 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 5538B138049A; Wed, 19 Jun 2024 21:56:00 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 19 Jun 2024 21:56:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1718848560; x=1718934960; bh=laI6kvnv/8EGR3q8q2Y3ntPEuXcd4/2jmBdjDAlrlQM=; b= EqnWwoRgvS/0KtMilctQXK5zspT6y0X0CJOLTdmbfLM0MCk1jXk2IKSqK+CVwo6C QXpBktLRgvwysWkaYQEDrI9m+BUHPiFjDfLFyR5KYVNuSIpfpV1G8LHCGFgobu30 8Z7aknq/IkGTjQUGz4gfhabDnJtFyL/qDoMZRB7uoYQt0MLMfmUH710RRzSUD7r9 kZvSHGNYO6ugMzNIWEc8WeI2x0Yqj4Gkf++1mOm8BMaF4mRdfgokhoLUHcqKNx9m AFeomuheMtsnwmdRDg6JH3zvCo0HclD/S4PyFNmYj2zw8mMhvT1tYintadFTHnb1 /PNCYHzeFHhfa1mM0ZDxmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718848560; x= 1718934960; bh=laI6kvnv/8EGR3q8q2Y3ntPEuXcd4/2jmBdjDAlrlQM=; b=h AcGs4sOFeNXymw17P3tc5u/GTAB6NtphGHOGIMcKBdhXGkypRsDGnQIW0Ed9OCJp z1BGdpJWGxKY/KyVszspuFhUh407n5F7txWsfIDnOdE6OhW0yrO+Rd2A6ljbin70 u1J/QwsxSBnPgzvDlO68SivSyXulHULC9baDlrvkEk3zNqH6jMXCY8O7fvZXOYmZ lFgESZaeRLtXThYXdlLIKPgAd+ujrwbGSzm6EUScxT92VA1u9n/chazwhv+iY1cD 0VXtcMt1oeTsSIiKSCxH5EuGWwyR6Xp2Y2IZ5++VB6BPhLSQHODiFAeKQ35rmM0Y Z2hpLVrIbMzlBrAvWfUrg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefuddghedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthhqredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeegtddtleejjeegffekkeektdejvedtheevtdekiedvueeuvdei uddvleevjeeujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jun 2024 21:55:58 -0400 (EDT) From: Thomas Monjalon To: Nicholas Pratte Cc: luca.vizzarro@arm.com, jspewock@iol.unh.edu, paul.szczepanek@arm.com, Honnappa.Nagarahalli@arm.com, yoan.picchi@foss.arm.com, juraj.linkes@pantheon.tech, probb@iol.unh.edu, bruce.richardson@intel.com, dev@dpdk.org Subject: Re: [PATCH v9 1/2] dts: Change hugepage runtime config to 2MB Exclusively Date: Thu, 20 Jun 2024 03:55:55 +0200 Message-ID: <1787400.8DbOzPnMyl@thomas> In-Reply-To: <20240610152048.23617-4-npratte@iol.unh.edu> References: <20240610152048.23617-2-npratte@iol.unh.edu> <20240610152048.23617-4-npratte@iol.unh.edu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 10/06/2024 17:20, Nicholas Pratte: > You may specify the optional hugepage configuration in the DTS conf= ig file. > If you do, DTS will take care of configuring hugepages, > - overwriting your current SUT hugepage configuration. > + overwriting your current SUT hugepage configuration. Configuration = of hugepages via DTS > + allows only for allocation of 2MB hugepages, as doing so prevents a= ccidental/over > + allocation of hugepage sizes not recommended during runtime due to > + contiguous memory space requirements. Thus, if you require hugepage > + sizes not equal to 2MB, then this configuration must be done outsid= e of the DTS framework. Lines must be broken logically, example: after a dot or comma. > =20 > * System under test configuration > =20 > @@ -453,11 +457,11 @@ _`Build target` > **Example**: ``ccache`` > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > =20 > -_`hugepages` > - *mapping* =E2=80=93 hugepages described as: > +_`hugepages_2mb` > + *mapping* =E2=80=93 hugepages_2mb described as: > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > - ``amount`` *integer* =E2=80=93 The amount of hugepages to c= onfigure. > + ``number_of`` *integer* =E2=80=93 The number of 2MB hugepages = to configure. The rename to "number_of" belongs to the next commit. > =20 > Hugepage size will be the system default. > ``force_first_numa`` (*optional*, defaults to ``false``) =E2=80=93 If= ``true``, it forces the > @@ -570,7 +574,7 @@ involved in the testing. These can be defined with th= e following mappings: > | | = | > | | The number of the memory channels to use. = | > +-----------------------+--------------------------------------------= =2D------------------------------------------+ > - | ``hugepages`` | (*optional*) See `hugepages`_. If unset, hu= gepages won't be configured | > + | ``hugepages_2mb`` | (*optional*) See `hugepages`_. If unset, 2M= B hugepages won't be configured | The link needs to be changed to hugepages_2mb here. There is an error in CI while generating doc.