summaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile-os-Linux
diff options
context:
space:
mode:
authorYing Han <yinghan@google.com>2011-05-27 01:25:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-27 02:12:36 +0200
commit406eb0c9ba765eb066406fd5ce9d5e2b169a4d5a (patch)
tree71805cc1bcf4b1a4e7eb58a726d2ba21d913ba1a /arch/um/Makefile-os-Linux
parentmemcg: rename mem_cgroup_zone_nr_pages() to mem_cgroup_zone_nr_lru_pages() (diff)
downloadlinux-406eb0c9ba765eb066406fd5ce9d5e2b169a4d5a.tar.xz
linux-406eb0c9ba765eb066406fd5ce9d5e2b169a4d5a.zip
memcg: add memory.numastat api for numa statistics
The new API exports numa_maps per-memcg basis. This is a piece of useful information where it exports per-memcg page distribution across real numa nodes. One of the usecases is evaluating application performance by combining this information w/ the cpu allocation to the application. The output of the memory.numastat tries to follow w/ simiar format of numa_maps like: total=<total pages> N0=<node 0 pages> N1=<node 1 pages> ... file=<total file pages> N0=<node 0 pages> N1=<node 1 pages> ... anon=<total anon pages> N0=<node 0 pages> N1=<node 1 pages> ... unevictable=<total anon pages> N0=<node 0 pages> N1=<node 1 pages> ... And we have per-node: total = file + anon + unevictable $ cat /dev/cgroup/memory/memory.numa_stat total=250020 N0=87620 N1=52367 N2=45298 N3=64735 file=225232 N0=83402 N1=46160 N2=40522 N3=55148 anon=21053 N0=3424 N1=6207 N2=4776 N3=6646 unevictable=3735 N0=794 N1=0 N2=0 N3=2941 Signed-off-by: Ying Han <yinghan@google.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Acked-by: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Minchan Kim <minchan.kim@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Makefile-os-Linux')
0 files changed, 0 insertions, 0 deletions