[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171113161102.rieyg55drdqkri6e@dhcp22.suse.cz>
Date: Mon, 13 Nov 2017 17:11:02 +0100
From: Michal Hocko <mhocko@...nel.org>
To: Roman Gushchin <guro@...com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
Johannes Weiner <hannes@...xchg.org>,
Mike Kravetz <mike.kravetz@...cle.com>,
"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>,
Andrea Arcangeli <aarcange@...hat.com>, kernel-team@...com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: show stats for non-default hugepage sizes in
/proc/meminfo
On Mon 13-11-17 16:03:02, Roman Gushchin wrote:
> Currently we display some hugepage statistics (total, free, etc)
> in /proc/meminfo, but only for default hugepage size (e.g. 2Mb).
>
> If hugepages of different sizes are used (like 2Mb and 1Gb on x86-64),
> /proc/meminfo output can be confusing, as non-default sized hugepages
> are not reflected at all, and there are no signs that they are
> existing and consuming system memory.
Yes this sucks but we do have per numa node per h-state stats in sysfs
already /sys/devices/system/node/node*/hugepages
I know it is another source of the information but is there any reason
you cannot use it?
--
Michal Hocko
SUSE Labs
Powered by blists - more mailing lists