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 35A4CA058A for ; Fri, 17 Apr 2020 10:25:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0F8E71DE86; Fri, 17 Apr 2020 10:25:16 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 213691DE86 for ; Fri, 17 Apr 2020 10:25:15 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 0A704A058B; Fri, 17 Apr 2020 10:25:15 +0200 (CEST) From: bugzilla@dpdk.org To: spp@dpdk.org Date: Fri, 17 Apr 2020 08:25:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: SPP X-Bugzilla-Component: main X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yamashita.hideyuki@ntt-tx.co.jp X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: yasufum.o@gmail.com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [spp] [Bug 443] spp primary takes up the complete hugepages X-BeenThere: spp@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Soft Patch Panel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spp-bounces@dpdk.org Sender: "spp" https://bugs.dpdk.org/show_bug.cgi?id=3D443 --- Comment #6 from Hideyuki Yamashita (yamashita.hideyuki@ntt-tx.co.jp) --- Hello Vipin, Thanks for your response. Unfortunately I could not observe the issue using DPDK19.11+SPP19.11. [Hugepage usage] Before primary process invoke=20 $ cat /proc/meminfo | grep -i HugePages AnonHugePages: 0 kB ShmemHugePages: 0 kB HugePages_Total: 16 HugePages_Free: 16 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB During primary process invoke $ cat /proc/meminfo | grep -i HugePages AnonHugePages: 0 kB ShmemHugePages: 0 kB HugePages_Total: 16 HugePages_Free: 14 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 1048576 kB It looks that only 2 pages are used per primary invokation. [SPP primary startup parameters] sudo ./src/primary/x86_64-native-linuxapp-gcc/spp_primary \ -l 1 \ -n 4 \ --socket-mem 512,512 \ --huge-dir /mnt/huge1G \ --proc-type primary \ -- \ -p 0x03 \ -n 10 \ -s 127.0.0.1:5555 [How to reserve hugepages] /etc/default/grub GRUB_CMDLINE_LINUX=3D"DEBCONF_DEBUG=3D5 ksdevice=3Dbootif default_hugepages= z=3D1G hugepagesz=3D1G hugepages=3D16" hugepages mount directory /mnt/huge_1GB sudo mount |grep huge nodev on /mnt/huge1G type hugetlbfs (rw,relatime,pagesize=3D1024M) Thanks, Hideyuki --=20 You are receiving this mail because: You are on the CC list for the bug.=