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 CEF4D4411C; Fri, 31 May 2024 08:53:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9F8BF4027D; Fri, 31 May 2024 08:53:05 +0200 (CEST) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mails.dpdk.org (Postfix) with ESMTP id 44FA14027C for ; Fri, 31 May 2024 08:53:03 +0200 (CEST) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5785f7347cdso1648186a12.0 for ; Thu, 30 May 2024 23:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1717138383; x=1717743183; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1N1QBFR6+SgTCPCnNVpO67X4ivypxOB7/6XR331XC40=; b=UZ3AeBCN+9/BoPJyr4Kl0O85jOa1hjvC+rc4FMDp1uak76h0iiSsYJRTJvSimtCKfY OkXIcBI1R7tir0LO9EkTVSnjuUbJAZswErfyagjx6aPixEnXNWxFn0aUr4c533ql+tLi EbzOrwYcRcQG26znpsp3FaUHe0hXL69PW06de1pZCbPttYV3l+39yIM42RcwDGFyL1Jo zvq3o0+su0N+ojbnTT+6BpQfTZnX1pBPyCaBWCZgyk8eFJweZQFSbvpcz6VxqaZN/8cy /7U33k+JjMmmmtPHifMLcSmDX0OM1eJCTPSymiO4YJAy6hcVww/AtiLvEfFr/OoVkXK0 hX2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717138383; x=1717743183; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1N1QBFR6+SgTCPCnNVpO67X4ivypxOB7/6XR331XC40=; b=FPDTDR9/4A8xg2V4lWuUe6F/44gxK3TCzO4YxrgJ0LKw80yUhzUBRROuMofhyzj/Yf EMpRnSk6J/YNi/JrOk7UTn1Khdv90SM8dMZAxRPUEJcYNJ7LD5IarAsqj+ZnijseZ6tc 4d/Y8pa9VhlG5G46HFUmYXYfzTBQGpW88DYJ+1WgKznbCikzc2HA5Doxkvp0Cvk00s8y 7J76crV36Z664QdcJ6S4KnR37ohGnilzshn6OcmP82VfJEPPyVeY/Gi21eFe/XNnqtPT F7M4LPziJaVvQWmks0gfuYXxZcFnhKHLUpID4Rr4sblqP0+4AOhvdWZunfC3vlPWOLqt 3riQ== X-Forwarded-Encrypted: i=1; AJvYcCX2rB6gwafDcvKbM/n9RT7J7X4atZq54fQnlsjeoaM8RbkbEZ6xbMeIPzlFEk+JxMK7JuKaWbifsUP1h3E= X-Gm-Message-State: AOJu0YyL9Gzlx4pt7+/si8dMxyb2wzwdB0Ll8hbxR3CaTiDkS2FNmjAr 3CRiSJZPKtDkY9EXHYIBOZabKrUrMFhi+S89pIyvjH6p4oGV14XwtgCHkZ1MNaIhccZrtGqG3eg apxQEtfluOZivPK8HPCVH6wV5THbXiCSK/sfbpQ== X-Google-Smtp-Source: AGHT+IH7IVqlHv600XcIb1fEZ5hRfENjhTsp141ICO7WRnQWwe6XnbgCfZc7FVeTEOUtKckd6PW2q2n8nqNFEdgaZgs= X-Received: by 2002:a50:d5c9:0:b0:57a:2327:d2d2 with SMTP id 4fb4d7f45d1cf-57a3653c87amr575896a12.29.1717138382974; Thu, 30 May 2024 23:53:02 -0700 (PDT) MIME-Version: 1.0 References: <20240430184533.29247-4-npratte@iol.unh.edu> <20240530193801.11867-1-npratte@iol.unh.edu> <20240530193801.11867-2-npratte@iol.unh.edu> In-Reply-To: <20240530193801.11867-2-npratte@iol.unh.edu> From: =?UTF-8?Q?Juraj_Linke=C5=A1?= Date: Fri, 31 May 2024 08:52:51 +0200 Message-ID: Subject: Re: [PATCH v8 1/2] dts: Change hugepage runtime config to 2MB Exclusively To: Nicholas Pratte Cc: luca.vizzarro@arm.com, jspewock@iol.unh.edu, paul.szczepanek@arm.com, bruce.richardson@intel.com, Honnappa.Nagarahalli@arm.com, yoan.picchi@foss.arm.com, probb@iol.unh.edu, dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 On Thu, May 30, 2024 at 9:38=E2=80=AFPM Nicholas Pratte wrote: > > The previous implementation configures and allocates hugepage sizes > based on a system default. This can lead to two problems: overallocation = of > hugepages (which may crash the remote host), and configuration of hugepag= e > sizes that are not recommended during runtime. This new implementation > allows only 2MB hugepage allocation during runtime; any other unique > hugepage size must be configured by the end-user for initializing DTS. > > If the amount of 2MB hugepages requested exceeds the amount of 2MB > hugepages already configured on the system, then the system will remount > hugepages to cover the difference. If the amount of hugepages requested i= s > either less than or equal to the amount already configured on the system, > then nothing is done. > > Bugzilla ID: 1370 > Signed-off-by: Nicholas Pratte > Reviewed-by: Jeremy Spewock Reviewed-by: Juraj Linke=C5=A1