login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
4
Re: [PATCH] vmallocinfo: Add NUMA informations
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Randy Dunlap
Subject:
Re: [PATCH] vmallocinfo: Add NUMA informations
Date: Wednesday, June 4, 2008 - 8: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
, (Sun Jun 1, 11:54 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Mon Jun 2, 12:09 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Mon Jun 2, 8:37 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, KOSAKI Motohiro
, (Mon Jun 2, 9:35 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Tue Jun 3, 2:40 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Eric Dumazet
, (Wed Jun 4, 8:01 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Randy Dunlap
, (Wed Jun 4, 8:33 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 7:14 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 7:16 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Christoph Lameter
, (Mon Jun 9, 7:19 am)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Andrew Morton
, (Mon Jun 9, 2:05 pm)
Re: [PATCH] vmallocinfo: Add NUMA informations
, Pekka Enberg
, (Mon Jun 9, 2:12 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stephen Smalley
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Borislav Petkov
drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2...
git
:
Mike Miller
git message
Wincent Colaiuta
Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Kevin Ballard
Re: git check-attr -z and quoting
Marcel Holtmann
Re: Remove unneeded packs
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Sebastian Andrzej Siewior
[PATCH v2] net/core: use ntohs for skb->protocol
Badalian Vyacheslav
Re: tc filter flow hash question
Parav Pandit
ip6 route output() and ip_route_output_key() by drivers
Jarek Poplawski
Re: tc filter flow hash question
git-commits-head
:
Linux Kernel Mailing List
mm: fix build on non-mmu machines
Linux Kernel Mailing List
ALSA: hda: Use olpc-xo-1_5 quirk for Toshiba Satellite P500-PSPGSC-01800T
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
Staging: rt2870: Removal of kernel_thread() API
openbsd-misc
:
Tony Abernethy
Re: The Atheros story in much fewer words
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
ropers
Re: Real men don't attack straw men
Nick Holland
Re: Install OpenBSD from USB ?
Colocation donated by:
Syndicate