login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
4
Re: [PATCH] vmallocinfo: Add NUMA informations
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <randy.dunlap@...>
To: Eric Dumazet <dada1@...>
Cc: Andrew Morton <akpm@...>, <kosaki.motohiro@...>, <clameter@...>, <nickpiggin@...>, <hugh@...>, <linux-kernel@...>
Subject:
Re: [PATCH] vmallocinfo: Add NUMA informations
Date: Wednesday, June 4, 2008 - 11:33 am
On Wed, 04 Jun 2008 17:01:04 +0200 Eric Dumazet wrote:
quoted text
> Here is an updated patch. > > It now allocates the array in vmalloc_open(). > If this allocation fails, we just proceed and dont provide NUMA information. > > I included missing documentation for /proc/vmallocinfo as well. > > > [PATCH] vmallocinfo: Add NUMA informations > > Christoph recently added /proc/vmallocinfo file to get information about vmalloc allocations. > > This patch adds NUMA specific information, giving number of pages allocated on each memory node. > > This should help to check that vmalloc() is able to respect NUMA policies. > > Example of output on a four nodes machine (one cpu per node) > > 1) network hash tables are evenly spreaded on four nodes (OK) > (Same point for inodes and dentries hash tables) > 2) iptables tables (x_tables) are correctly allocated on each cpu node (OK). > 3) sys_swapon() allocates its memory from one node only. > 4) each loaded module is using memory on one node. > > Sysadmins could tune their setup to change points 3) and 4) if necessary. > > grep "pages=" /proc/vmallocinfo > [snip]
quoted text
> > Signed-off-by: Eric Dumazet <dada1@cosmosbay.com> > --- > Documentation/filesystems/proc.txt | 44 +++++++++++++++++++++++++++ > fs/proc/proc_misc.c | 15 +++++++-- > mm/vmalloc.c | 20 ++++++++++++ > 3 files changed, 77 insertions(+), 2 deletions(-) > > diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt > index dbc3c6a..b707d9a 100644 > --- a/Documentation/filesystems/proc.txt > +++ b/Documentation/filesystems/proc.txt > @@ -296,6 +296,7 @@ Table 1-4: Kernel info in /proc > uptime System uptime > version Kernel version > video bttv info of video resources (2.4) > + vmallocinfo Show vmalloced areas > .............................................................................. > > You can, for example, check which interrupts are currently in use and what > @@ -550,6 +551,49 @@ VmallocTotal: total size of vmalloc memory area > VmallocUsed: amount of vmalloc area which is used > VmallocChunk: largest contigious block of vmalloc area which is free > > +.............................................................................. > + > +vmallocinfo: > + > +Provides information about vmalloced/vmaped areas. One line per area, > +containing the virtual address range of the area, size in bytes, > +caller information of the creator, and optional informations depending
s/informations/information/
quoted text
> +on the kind of area : > + > + pages=nr number of pages > + phys=addr if a physical address was specified > + ioremap I/O mapping (ioremap() and friends) > + vmalloc vmalloc() area > + vmap vmap()ed pages > + user VM_USERMAP area > + vpages buffer for pages pointers was vmalloced (huge area) > + N<node>=nr (Only on NUMA kernels) > + Number of pages allocated on memory node <node>
--- ~Randy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Mon Jun 2, 2:54 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Mon Jun 2, 3:09 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Mon Jun 2, 11:37 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Tue Jun 3, 5:40 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:16 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Mon Jun 9, 5:05 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Pekka Enberg
, (Mon Jun 9, 5:12 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Wed Jun 4, 11:01 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:19 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Randy Dunlap
, (Wed Jun 4, 11:33 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Tue Jun 3, 12:35 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 10:14 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 27/56] microblaze_v2: support for a.out
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Rafael J. Wysocki
[Bug #10493] mips BCM47XX compile error
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
12 users
and
964 guests
online.
Online users
carinsuranceknj
seofirmyhcym
articlemarketi
zeekec
strcmp
freebabydiaper
wordpressdirec
deskmatzhgw
britaxyfp
truthaboutabsi
dataentryemplo
bacterialyeast
Syndicate