Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1421069

Re: [PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats

Path csiph.com!news.mixmin.net!goblin1!goblin2!goblin.stu.neva.ru!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Christoph Lameter <cl@linux.com>
Newsgroups linux.kernel
Subject Re: [PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats
Date Mon, 13 Jun 2016 19:30:01 +0200
Message-ID <rJDQt-To-13@gated-at.bofh.it> (permalink)
References <rIcyZ-1vR-3@gated-at.bofh.it> <rIcz0-1vR-41@gated-at.bofh.it>
X-Original-To Mel Gorman <mgorman@techsingularity.net>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1465838775; bh=/xoUdsq96rawr4NdtHt3eQkhaG8QTnJNQyILY7L8yo0=; h=Received:Received:Received:Received:Date:From:To:Subject: Message-ID:Content-Type; b=DzQaD55C9S4ImY6Qh+UAUOOu9AJuYUZdbqycWhHeBBG5ACXzeo8OFlINF2TECS5rQ zcG5Qfo7z4MPFG7Yd8FfZekiARSEytCE9ANh0uDxi4PWx4tsbczBWaMAxGr3vB8525 LJJhbBGFRwMBQkO34aP2Pzryr8Iyw6H7CaNxhE8PTcYs80oDjdfheEnTVbZ6gFpDSy IECD5yrkOKblbG96u7lqYVvV97/fgo5eZw/uxTVSAebCPmssZWMDJZkTvJfpAf582x 5LYmmS0wt+Y72xPNlKw7zNna4pl/0QKax1tlBmCrFY5Zl7ESxaOxUhZmGm9h9JMPO+ A4Hovw0zfk97A==
X-X-Sender cl@east.gentwo.org
Content-Type text/plain; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 17
Organization linux.* mail to news gateway
X-Original-Cc Andrew Morton <akpm@linux-foundation.org>, Linux-MM <linux-mm@kvack.org>, Rik van Riel <riel@surriel.com>, Vlastimil Babka <vbabka@suse.cz>, Johannes Weiner <hannes@cmpxchg.org>, LKML <linux-kernel@vger.kernel.org>
X-Original-Date Mon, 13 Jun 2016 12:26:13 -0500 (CDT)
X-Original-Message-ID <alpine.DEB.2.20.1606131208110.25027@east.gentwo.org>
X-Original-References <1465495483-11855-1-git-send-email-mgorman@techsingularity.net> <1465495483-11855-2-git-send-email-mgorman@techsingularity.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1421069

Show key headers only | View raw


On Thu, 9 Jun 2016, Mel Gorman wrote:

> VM statistic counters for reclaim decisions are zone-based. If the kernel
> is to reclaim on a per-node basis then we need to track per-node statistics
> but there is no infrastructure for that. The most notable change is that

There is node_page_state() so the value of any counter per node is already
available. Note that some of the counters (NUMA_xx) for example do not
make much sense as per zone counters and are effectively used as per node
counters.

So the main effect you are looking for is to have the counters stored in
the per node structure as opposed to the per zone struct in order to
avoid the summing? Doing so duplicates a large amount of code it seems.

If you do this then also move over certain counters that have more of a
per node use from per zone to per node. Like the NUMA_xxx counters.

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 01/27] mm, vmstat: Add infrastructure for per-node  vmstats Christoph Lameter <cl@linux.com> - 2016-06-13 19:30 +0200
  Re: [PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats Mel Gorman <mgorman@techsingularity.net> - 2016-06-14 16:30 +0200

csiph-web