From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A7D40A0350 for ; Wed, 24 Jun 2020 18:34:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 726F51D9FE; Wed, 24 Jun 2020 18:34:56 +0200 (CEST) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by dpdk.org (Postfix) with ESMTP id 8CD831D9FC for ; Wed, 24 Jun 2020 18:34:54 +0200 (CEST) Received: by mail-pl1-f195.google.com with SMTP id bh7so1244989plb.11 for ; Wed, 24 Jun 2020 09:34:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0OvuaLYZ6G89Hwodnm2pZ6GkeY9oXkJ37vRwGsaGGJI=; b=NiQY//Gi2SLR0oxdWDhy+L9FDjG4Uc6+Qyt6fAxxX7Y2QR1knbM1uiEBy0LRAY4ZSx LN0wozj8LaS/sZNJWG4vdyvlemVaXUJU1aCn1x6hWhGfetfvCcRDOyY44sV483gwnoGq Nx8gLywOXvUt8Zx8wn6+hWoll8iiv8voaYTPyMAblJ69+nFG5A6yCWAST6udolvq3ZAY KgtBlDHSNeys3hfV9WfAlYCL6ko5nxMk+kUDkOK/nQG9FBDo+nHC+NMiFDjQ2Lbj0bDM 6vcJyeBwI8/05d52tUaGLzS8kAMNzGwNgE7AlFixCa5PbqIunO3mO3WCDdCrO7Y3p2/g Wn8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0OvuaLYZ6G89Hwodnm2pZ6GkeY9oXkJ37vRwGsaGGJI=; b=p8Q2nJsBDEDrAUiuIVv+NRWq3w5edzW4bws/Ku/kXP4i6irHK9n2OOG6CzbcFuVYTf oxqwd7qxbKyke9+P70Ug/qP4OBJGsKuyjjXhES8iHrerOnPKEuD+e6/VzXGH40bDeEPi 0Ar8MZCcMqOy5NSB+MIkecggPrxDe2kC6fWIg2uJ9bZDb+YagnG0zkpkwrZrBMS+YX2u I7mcLzyruX8uVbY0RN9G/VBEfo61/03jk8uVSnyad1Ar6McZ8m7giQjgel31v0nE5JCW PkzMxmXZnJ8n/8Fe7s/jXigTTCbKvYnVfvwnGv+s/aKM9Cai1IoVDfHrSVk3nX7tnB6h 76Ow== X-Gm-Message-State: AOAM5307ijjxWyV+keGJu/zgray9LVz4S8xFrjANXJRmRRkFPZlmSIF7 JbanNNntmrBYmiKPqdqtv7LXGgkD1N0= X-Google-Smtp-Source: ABdhPJxayngTTJDZ6mn/FiQMBVoaLQM3gS5UGwS/GBohs7lpD9Yw8jX1zDIGY4i7Kyy8QwS95w2fQA== X-Received: by 2002:a17:902:8bc7:: with SMTP id r7mr29877131plo.57.1593016493149; Wed, 24 Jun 2020 09:34:53 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id n1sm5893688pjn.24.2020.06.24.09.34.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jun 2020 09:34:52 -0700 (PDT) From: Stephen Hemminger To: web@dpdk.org Cc: Stephen Hemminger Date: Wed, 24 Jun 2020 09:34:45 -0700 Message-Id: <20200624163445.13720-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-web] [PATCH] quick-start: use /dev/hugepages instead of /mnt/huge X-BeenThere: web@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK website maintenance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: web-bounces@dpdk.org Sender: "web" The standard mount location for hugepages on most Linux distributions is /dev/hugepages. Make the example safe, so that if hugepages are already mounted nothing needs to be done. Signed-off-by: Stephen Hemminger --- content/doc/quick-start.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/doc/quick-start.md b/content/doc/quick-start.md index a1c2a6cdf066..6b61b00ba166 100644 --- a/content/doc/quick-start.md +++ b/content/doc/quick-start.md @@ -22,14 +22,15 @@ To include the examples as part of the build, replace the meson command with: ``` + meson -Dexamples=all build ``` Reserve huge pages memory. ``` - mkdir -p /mnt/huge - mount -t hugetlbfs nodev /mnt/huge + mkdir -p /dev/hugepages + mountpoint -q /dev/hugepages || mount -t hugetlbfs nodev /dev/hugepages echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages ``` -- 2.26.2