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 2413143F66; Thu, 2 May 2024 13:55:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 88FED40299; Thu, 2 May 2024 13:55:52 +0200 (CEST) Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) by mails.dpdk.org (Postfix) with ESMTP id 9E6A14026F for ; Thu, 2 May 2024 13:55:50 +0200 (CEST) Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a55ab922260so1032000066b.3 for ; Thu, 02 May 2024 04:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1714650950; x=1715255750; 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=s63ni0eZqwun/7gSEEgwKwQwivrolZfXIWJ0ZqU9FSg=; b=XrsffN2XdFdcAJGXcfwEG/hdGfLPqV7HWtkNiamciMP63lzLrU1AzJa1AIWpC5jDju Qk+9+Gwxxi396POOvK52dNmt/4lY37ABvLbg9vu9XPoWTP1Jl+pFQ/asUCI+keqyBPBj tHPDSXQUEH4HXfb3/M9cIqmEjjl6E29UcjiczKNw5GXlypV0PCKd/sO3ITN+Q5FRfQgp RoNeETzBz/7UScqWJP+G3gO9xm6oj3SWOb1l6a2yL6H/yJTnOVGXz8WC1DEU0Fi2eNU1 ClOxmNNEkf76XpeRR2JubQEXGV5iRQYZuUGXn7xtlR7X3RIrV7n80dCw6h+VeG0iRkmh QfLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714650950; x=1715255750; 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=s63ni0eZqwun/7gSEEgwKwQwivrolZfXIWJ0ZqU9FSg=; b=Hn1xgo86fKM8IrHT7VzOJRKhv4SxO3kJupqraegpcW0ggPvQstmooCuoa9XQe6NyHL 8EylY5jJil4nmMEpHJY+aaxZYZHT8Y2HmyFIU6nYhkypJCCVEP2SrCXqxUJ1s0wcBQl0 SlfxR2+nMJui14BNJ+RrpLhkJ84jxtQw8kbQvCIg7+DXZ4URZf2bCZT7KP61Z9k2g6m7 LmD0g9Jrjfh7AxZWx+imWIJdFJAbsBJuppruM0m1kNSCMlLWd9Hmcjl8aptscCPZUQ1X iI7XO1En5++6UP52oKtPfxd9iiNS4vz6VLyFTTbB5ihoOdYHUjbZR2eqtGQmo8RxeFwo /0ZQ== X-Forwarded-Encrypted: i=1; AJvYcCX/gqOKlPZ0ijW77mZ3VlEouHnqI76vdd5vMRM8dKIeAfm6Gtv/6/QSU4e7AQkraAETVeI5xorY2UwWfuI= X-Gm-Message-State: AOJu0YyPu5IoWZgqmBoXqgHx+CwHI+BS0x8B/imncbNjX/AIvzkyceTR Y2aYQz/e84cz3cA/NdcDT+TWynOTApsS9SSzVvDTx+T8ljxxz36wpWC97qPasOUy6XRgos4YxXh LtXClKHFf++BV2XXlzsqtOa4hLZy/xBIW/nSqHg== X-Google-Smtp-Source: AGHT+IHijmtt3djolFQmOhqFnZCacd+E8Saz2j+aGlGsD6unIS2s9IPRoZuT6uJolt/TQETYqsoa5kSI+DO6zucyQrY= X-Received: by 2002:a50:99d8:0:b0:572:a723:f1f4 with SMTP id n24-20020a5099d8000000b00572a723f1f4mr1476461edb.3.1714650950325; Thu, 02 May 2024 04:55:50 -0700 (PDT) MIME-Version: 1.0 References: <20240430184533.29247-2-npratte@iol.unh.edu> In-Reply-To: <20240430184533.29247-2-npratte@iol.unh.edu> From: =?UTF-8?Q?Juraj_Linke=C5=A1?= Date: Thu, 2 May 2024 13:55:39 +0200 Message-ID: Subject: Re: [PATCH v5 1/2] dts: Change hugepage runtime config to 2MB Exclusively To: Nicholas Pratte Cc: yoan.picchi@foss.arm.com, paul.szczepanek@arm.com, wathsala.vithanage@arm.com, thomas@monjalon.net, Honnappa.Nagarahalli@arm.com, probb@iol.unh.edu, dev@dpdk.org, Jeremy Spewock 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 Tue, Apr 30, 2024 at 8:47=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