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 360FA45BB4 for ; Wed, 23 Oct 2024 18:54:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC52340B97; Wed, 23 Oct 2024 18:54:57 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id DD920409FA for ; Wed, 23 Oct 2024 18:54:56 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-71ec12160f6so19539b3a.3 for ; Wed, 23 Oct 2024 09:54:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729702496; x=1730307296; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=CFmDZZwzmdBH02ukBgyaPr/bO5UnNWoFPNQ7Jn7hRdA=; b=W8ZJQkHEgGEeq979fHTq1gsNTZSIquFKdF0nriDO2T0ZZh1XWKC/klkPSbQk4jokXK sNdllQGFY2Hmob5O1ez0VAT3a7R1bti7OS6SQ8iuZL0W8dNj74V47odt0f3JhRZ28ERf sfM8Jq2J3eyhbVj7qmH08m1VhtTThjulsCSN/TShzWa72NEoIfTRUffWkl/plKymxsHK GjPPyDbe5mlh08TvHxGPsGT0B1g2J0s3HW/ANIhFfC6U2cG4Mv8QgRxv3zI8pse6K97A 9rP7Mc7NU8Ps3yVYj6evqay+GA7OhJM1+4jk3v4CTj7RF58lHYr6bDZBKAEQ6XFKTuLG IZIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729702496; x=1730307296; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CFmDZZwzmdBH02ukBgyaPr/bO5UnNWoFPNQ7Jn7hRdA=; b=MJPQjtP1Jm8UBKNcC9oSj72jT44p20ZNZ4/g09O5XNulmF2kmfEVd6Fb5kD6BGbYuj 7/32HnXWIuR+v62vshFc/bov3hCILFHlclafOEuWSrvHG8omQo/q67c1s8MR9wZVsu3c b9I7qN1Y+eLMPotZILKGeMnrzoo0I+ilGitoyHcp8pNGeKXpn4UvHzcHzzwFjPzQrF+L 2disfx9mU3KGym9Dj4zy7wC6yixy9UVnHojh1nx0HY3/w6Gm3YuliP8cP7YSw3PujmvA wLO1+canhCUujkh7VzEmxSBVb3x34ymz7HRRohg6aKhF4PQVlL1R+MYPWtitcHVEsRmL xR+Q== X-Gm-Message-State: AOJu0YwJhCi1jDIPkdIifbBVDM9fDmZq3LVMb7JbnlU9jMoAY6Ax0Lxd MJiJy2Y7CQ6fPrj/fu1+FYRBXqaBrfmWbkXyu0I/t3qD9fzHYwML1YWB9GaPkAs= X-Google-Smtp-Source: AGHT+IGjfGgZeoCgdkDnUMB4rYVO9WhUgPQLurdeWVm9IyV7FY++gNDrc2l05G+obE0YWJ5K3AQABw== X-Received: by 2002:a05:6a00:23c2:b0:71e:659:f2e7 with SMTP id d2e1a72fcca58-72030a930cdmr4994219b3a.8.1729702495898; Wed, 23 Oct 2024 09:54:55 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71ec13eaac5sm6792108b3a.172.2024.10.23.09.54.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Oct 2024 09:54:55 -0700 (PDT) Date: Wed, 23 Oct 2024 09:54:54 -0700 From: Stephen Hemminger To: David Aldrich Cc: users Subject: Re: Help needed with hugepages Message-ID: <20241023095454.459bd52b@hermes.local> In-Reply-To: References: <20241023083917.6580b33b@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Wed, 23 Oct 2024 17:51:28 +0100 David Aldrich wrote: > I guess it is because the huge pages are not mounted. Is mounting > required if using kernel parameters to specify the sizes? >=20 > On Wed, Oct 23, 2024 at 5:47=E2=80=AFPM David Aldrich > wrote: > > > > On Wed, Oct 23, 2024 at 4:39=E2=80=AFPM Stephen Hemminger > > wrote: =20 > > > > > > On Wed, 23 Oct 2024 16:04:06 +0100 > > > David Aldrich wrote: > > > =20 > > > > Hi, we are running on Ubuntu 24.04. The kernel parameters include: > > > > > > > > default_hugepagesz=3D1G hugepagesz=3D1G hugepages=3D25 hugepagesz= =3D2M hugepages=3D1024 > > > > =20 > > > > > > Maybe mixing hugepage sizes can cause confusion? > > > > > > Did you try using dpdk-hugepages script? =20 > > > > Thanks. The script shows: > > > > $ dpdk-hugepages.py -s > > Node Pages Size Total > > 0 1024 2Mb 2Gb > > 0 25 1Gb 25Gb > > > > So that looks correct. =20 The DPDK uses the mounted huge pages to find/use them. https://edc.intel.com/content/www/us/en/design/products/ethernet/config-gui= de-e810-dpdk/hugepages-setup/