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 9630D45BB4 for ; Wed, 23 Oct 2024 19:09:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87C2F409FA; Wed, 23 Oct 2024 19:09:31 +0200 (CEST) Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) by mails.dpdk.org (Postfix) with ESMTP id BE7BF406BC for ; Wed, 23 Oct 2024 19:09:29 +0200 (CEST) Received: by mail-yb1-f177.google.com with SMTP id 3f1490d57ef6-e29047bec8fso968033276.0 for ; Wed, 23 Oct 2024 10:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729703369; x=1730308169; 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=h+1lZN9AD9IK2IjPihkhYtxdYlqfsGdnjbHO3mWj640=; b=TcrI/+7yA35tYttQA+dyMxYxtkqN0ZjLLxftbw2A3xr6ch3b2xGbMIDlYXCFVCBIDR ZN3FLifRUzpcloPaSf0wk6hVo2QHaCS5jdZYORWG76TZktD7N0hC3qCQViKnaYf+s5vf 0C1ojNOrXMcdFDNWxmCrSdbBgIA6Xo5WMg5K6DgGXWk8EeT+yOZQUYLG8781w9s/X4K2 huvHP2FegRgqHvSN7gEjOfeKXAFkfR3sV0x0r/jk9ggOrN2dOghCRPeL3huF5V6gKt+c Q0fI4F72kf8jpSzd8eIrFC6lJYQku3qau/zs0eMSMYQ1EfJ+WhHi+IR9CAHufPHOdJ+M Bteg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729703369; x=1730308169; 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=h+1lZN9AD9IK2IjPihkhYtxdYlqfsGdnjbHO3mWj640=; b=lvaasCNBkosjcsTRVH+ROVECStnOz7r8jHQBrzfgfMaW2S6ahkWXhb5SvNF5zGP16R idfsUlTg41iPtkzdLyszTUAuT2gi+frpMdNZjixQjuHSDfFlQ9Q7cuQ3vLMepKdxmtyl pQTkJFQNh7S7mY8/H0KcA/rC9KcjT4ivit+xTHHJmDfVhMsmQWrQYew4lmtCaDcOp9yj 3ksHXb7n0y5njPvl8Fn4rIeKPE9zeuS5soTaWgsWukTUBBNHPbHvxoQMXHAzKkncbb0k ImItTnfjXn2p3lg0tJjEMrf7sTysqK1kHxxP8OvKsfAl5dRwXj6j83cMJ7anyM3lTciD SpKQ== X-Gm-Message-State: AOJu0YxRPAhod0HXtoqeu9FeHluT21V8kv/YtvtnMRyqD8j/+E9rQleV ngMY1Bh7UVhAyJHMJIgmLaBX9hW1RXnWD1Pa9ehk05uZrbqaVwKE7oamhemWIT1IdziNcdhsx5Z WIJM2JeRHGpqC0x65ncaQkXqbkhw= X-Google-Smtp-Source: AGHT+IEGaslTQZCZxP5hx0VDGeYtJbELocvg8d3vAxS1+htZxKixfD2/utbthgoMMu45OetjttZGzmUTO9RxMvlHuoQ= X-Received: by 2002:a05:6902:120a:b0:e2b:9ae1:677c with SMTP id 3f1490d57ef6-e2e39ce88f7mr3235822276.22.1729703369025; Wed, 23 Oct 2024 10:09:29 -0700 (PDT) MIME-Version: 1.0 References: <20241023083917.6580b33b@hermes.local> <20241023095454.459bd52b@hermes.local> In-Reply-To: <20241023095454.459bd52b@hermes.local> From: David Aldrich Date: Wed, 23 Oct 2024 18:09:18 +0100 Message-ID: Subject: Re: Help needed with hugepages To: Stephen Hemminger Cc: users 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 Thanks for your help. On Wed, Oct 23, 2024 at 5:54=E2=80=AFPM Stephen Hemminger wrote: > > 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? > > > > 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: > > > > > > > > On Wed, 23 Oct 2024 16:04:06 +0100 > > > > David Aldrich wrote: > > > > > > > > > Hi, we are running on Ubuntu 24.04. The kernel parameters include= : > > > > > > > > > > default_hugepagesz=3D1G hugepagesz=3D1G hugepages=3D25 hugepagesz= =3D2M hugepages=3D1024 > > > > > > > > > > > > > Maybe mixing hugepage sizes can cause confusion? > > > > > > > > Did you try using dpdk-hugepages script? > > > > > > Thanks. The script shows: > > > > > > $ dpdk-hugepages.py -s > > > Node Pages Size Total > > > 0 1024 2Mb 2Gb > > > 0 25 1Gb 25Gb > > > > > > So that looks correct. > > The DPDK uses the mounted huge pages to find/use them. > > > https://edc.intel.com/content/www/us/en/design/products/ethernet/config-g= uide-e810-dpdk/hugepages-setup/