linux-stable-rt/Documentation
Eric Dumazet a47a126ad5 vmallocinfo: add NUMA information
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
0xffffc20000000000-0xffffc20000201000 2101248 alloc_large_system_hash+0x204/0x2c0 pages=512 vmalloc N0=128 N1=128 N2=128 N3=128
0xffffc20000201000-0xffffc20000302000 1052672 alloc_large_system_hash+0x204/0x2c0 pages=256 vmalloc N0=64 N1=64 N2=64 N3=64
0xffffc2000031a000-0xffffc2000031d000   12288 alloc_large_system_hash+0x204/0x2c0 pages=2 vmalloc N1=1 N2=1
0xffffc2000031f000-0xffffc2000032b000   49152 cramfs_uncompress_init+0x2e/0x80 pages=11 vmalloc N0=3 N1=3 N2=2 N3=3
0xffffc2000033e000-0xffffc20000341000   12288 sys_swapon+0x640/0xac0 pages=2 vmalloc N0=2
0xffffc20000341000-0xffffc20000344000   12288 xt_alloc_table_info+0xfe/0x130 [x_tables] pages=2 vmalloc N0=2
0xffffc20000344000-0xffffc20000347000   12288 xt_alloc_table_info+0xfe/0x130 [x_tables] pages=2 vmalloc N1=2
0xffffc20000347000-0xffffc2000034a000   12288 xt_alloc_table_info+0xfe/0x130 [x_tables] pages=2 vmalloc N2=2
0xffffc2000034a000-0xffffc2000034d000   12288 xt_alloc_table_info+0xfe/0x130 [x_tables] pages=2 vmalloc N3=2
0xffffc20004381000-0xffffc20004402000  528384 alloc_large_system_hash+0x204/0x2c0 pages=128 vmalloc N0=32 N1=32 N2=32 N3=32
0xffffc20004402000-0xffffc20004803000 4198400 alloc_large_system_hash+0x204/0x2c0 pages=1024 vmalloc vpages N0=256 N1=256 N2=256 N3=256
0xffffc20004803000-0xffffc20004904000 1052672 alloc_large_system_hash+0x204/0x2c0 pages=256 vmalloc N0=64 N1=64 N2=64 N3=64
0xffffc20004904000-0xffffc20004bec000 3047424 sys_swapon+0x640/0xac0 pages=743 vmalloc vpages N0=743
0xffffffffa0000000-0xffffffffa000f000   61440 sys_init_module+0xc27/0x1d00 pages=14 vmalloc N1=14
0xffffffffa000f000-0xffffffffa0014000   20480 sys_init_module+0xc27/0x1d00 pages=4 vmalloc N0=4
0xffffffffa0014000-0xffffffffa0017000   12288 sys_init_module+0xc27/0x1d00 pages=2 vmalloc N0=2
0xffffffffa0017000-0xffffffffa0022000   45056 sys_init_module+0xc27/0x1d00 pages=10 vmalloc N1=10
0xffffffffa0022000-0xffffffffa0028000   24576 sys_init_module+0xc27/0x1d00 pages=5 vmalloc N3=5
0xffffffffa0028000-0xffffffffa0050000  163840 sys_init_module+0xc27/0x1d00 pages=39 vmalloc N1=39
0xffffffffa0050000-0xffffffffa0052000    8192 sys_init_module+0xc27/0x1d00 pages=1 vmalloc N1=1
0xffffffffa0052000-0xffffffffa0056000   16384 sys_init_module+0xc27/0x1d00 pages=3 vmalloc N1=3
0xffffffffa0056000-0xffffffffa0081000  176128 sys_init_module+0xc27/0x1d00 pages=42 vmalloc N3=42
0xffffffffa0081000-0xffffffffa00ae000  184320 sys_init_module+0xc27/0x1d00 pages=44 vmalloc N3=44
0xffffffffa00ae000-0xffffffffa00b1000   12288 sys_init_module+0xc27/0x1d00 pages=2 vmalloc N3=2
0xffffffffa00b1000-0xffffffffa00b9000   32768 sys_init_module+0xc27/0x1d00 pages=7 vmalloc N0=7
0xffffffffa00b9000-0xffffffffa00c4000   45056 sys_init_module+0xc27/0x1d00 pages=10 vmalloc N3=10
0xffffffffa00c6000-0xffffffffa00e0000  106496 sys_init_module+0xc27/0x1d00 pages=25 vmalloc N2=25
0xffffffffa00e0000-0xffffffffa00f1000   69632 sys_init_module+0xc27/0x1d00 pages=16 vmalloc N2=16
0xffffffffa00f1000-0xffffffffa00f4000   12288 sys_init_module+0xc27/0x1d00 pages=2 vmalloc N3=2
0xffffffffa00f4000-0xffffffffa00f7000   12288 sys_init_module+0xc27/0x1d00 pages=2 vmalloc N3=2

[akpm@linux-foundation.org: fix comment]
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Cc: Christoph Lameter <cl@linux-foundation.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:17 -07:00
..
ABI sysfs: add /sys/dev/{char,block} to lookup sysfs path by major:minor 2008-07-21 21:54:40 -07:00
DocBook uio-howto.tmpl: use unique output names 2008-07-21 21:54:58 -07:00
PCI PCI: doc/pci: create Documentation/PCI/ and move files into it 2008-04-20 21:46:51 -07:00
RCU rcu: make rcutorture even more vicious: invoke RCU readers from irq handlers (timers) 2008-06-26 09:24:33 +02:00
accounting Update taskstats-struct document for scaled time accounting 2008-07-04 10:40:06 -07:00
acpi
aoe
arm [MTD] [NAND] S3C2410 Large page NAND support 2008-04-22 21:39:16 +01:00
auxdisplay Miguel Ojeda has moved 2008-07-04 10:40:05 -07:00
blackfin
block block: Data integrity infrastructure documentation 2008-07-03 13:21:13 +02:00
cdrom cdrom: make unregister_cdrom() return void 2008-04-21 09:50:08 +02:00
connector
console
controllers devcgroup: fix odd behaviour when writing 'a' to devices.allow 2008-07-04 10:40:10 -07:00
cpu-freq [CPUFREQ] Remove documentation of removed ondemand tunable. 2008-05-20 22:13:09 -04:00
cpuidle
cris
crypto
device-mapper dm crypt: add documentation 2008-04-25 13:27:03 +01:00
driver-model
dvb
early-userspace Documentation: Remove last references to BitKeeper. 2008-04-21 22:19:05 +00:00
fault-injection
fb fbdev: intelfb: add support for the Intel Integrated Graphics Controller 965G/965GM 2008-04-28 08:58:41 -07:00
filesystems vmallocinfo: add NUMA information 2008-07-24 10:47:17 -07:00
firmware_class firmware_sample_driver.c: fix coding style 2008-04-21 22:23:30 +00:00
frv
hwmon hwmon: Update the sysfs interface documentation 2008-06-19 06:50:31 -04:00
i2c i2c: Convert the max6875 driver to a new-style i2c driver 2008-07-16 19:30:07 +02:00
i2o
ia64 [IA64] pvops: documentation on ia64/pv_ops 2008-05-27 15:16:47 -07:00
ide gayle: add "doubler" parameter 2008-04-27 15:38:30 +02:00
infiniband
input Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
ioctl IDE: Report errors during drive reset back to user space 2008-07-16 20:33:48 +02:00
isdn
ja_JP
kbuild kconfig-language.txt: remove bogus hint 2008-05-04 21:05:56 +02:00
kdump x86: fix documentation bug about relocatability 2008-07-08 13:16:18 +02:00
ko_KR
laptops acer-wmi: Remove LED colour comment from documentation 2008-07-16 23:27:02 +02:00
lguest lguest: notify on empty 2008-05-30 15:09:46 +10:00
m68k
make
mips au1xxx-ide: fix MWDMA support 2008-04-26 22:25:22 +02:00
mn10300
namespaces
netlabel
networking e1000: delete non NAPI code from the driver 2008-07-22 19:39:11 -04:00
parisc
pcmcia
power PM: Handle device registrations during suspend/resume 2008-04-19 19:10:24 -07:00
powerpc Merge commit 'origin/master' 2008-07-22 17:12:37 +10:00
prctl generic, x86: add tests for prctl PR_GET_TSC and PR_SET_TSC 2008-04-19 19:19:55 +02:00
s390 [S390] cio: Remove cio_msg kernel parameter. 2008-05-07 09:23:01 +02:00
scheduler sched: fix typo in Documentation/scheduler/sched-rt-group.txt 2008-06-18 12:34:15 +02:00
scsi [SCSI] aacraid: Add Power Management cards to documentation 2008-06-05 09:23:44 -05:00
serial Subject: [PATCH 1/2] serial: Add flush_buffer() operation to uart_ops 2008-07-20 17:12:34 -07:00
sh
sound remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
sparc
spi documentation: move spidev_fdx example to its own source file 2008-04-28 08:58:31 -07:00
sysctl
telephony remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
thermal thermal: update the documentation 2008-04-29 02:49:47 -04:00
timers Documentation: move timer related documentation to a single place 2008-04-17 12:22:31 +02:00
tracers doc: update mmiotrace doc to current status 2008-05-24 11:27:22 +02:00
uml
usb USB: use reset_resume when normal resume fails 2008-07-21 15:16:48 -07:00
video4linux remove mention of CONFIG_KMOD from documentation 2008-07-22 19:24:29 +10:00
vm Christoph has moved 2008-07-04 10:40:04 -07:00
w1
watchdog
x86 x86 boot: only pick up additional EFI memmap if add_efi_memmap flag 2008-07-08 13:10:41 +02:00
zh_CN
00-INDEX documentation: remove smart-config.txt 2008-04-25 18:24:20 -07:00
BUG-HUNTING
Changes
CodingStyle
DMA-API.txt doc: fix DMA-API function parameters 2008-04-29 08:06:12 -07:00
DMA-ISA-LPC.txt
DMA-attributes.txt powerpc/cell: Add DMA_ATTR_WEAK_ORDERING dma attribute and use in Cell IOMMU code 2008-07-22 10:39:36 +10:00
DMA-mapping.txt doc: replace yet another dev with pdev for consistency in DMA-mapping.txt 2008-04-29 08:55:01 -07:00
HOWTO HOWTO: change email addresses of James in HOWTO 2008-07-21 21:54:59 -07:00
IO-mapping.txt
IPMI.txt
IRQ-affinity.txt genirq: Expose default irq affinity mask (take 3) 2008-06-05 15:18:30 +02:00
IRQ.txt
Intel-IOMMU.txt
MSI-HOWTO.txt
ManagementStyle
README.DAC960
README.cycladesZ
SAK.txt
SM501.txt
SecurityBugs
Smack.txt
SubmitChecklist
SubmittingDrivers
SubmittingPatches doc: add suggestions about good practises for maintainers 2008-06-05 14:25:24 -07:00
VGA-softcursor.txt
applying-patches.txt
atomic_ops.txt
basic_profiling.txt
binfmt_misc.txt
braille-console.txt Basic braille screen reader support 2008-04-30 08:29:52 -07:00
cachetlb.txt
cciss.txt cciss: add new hardware support 2008-06-12 18:05:40 -07:00
cgroups.txt cgroups: document the effect of attaching PID 0 to a cgroup 2008-07-04 10:40:08 -07:00
cli-sti-removal.txt DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs. 2008-04-21 22:44:50 +00:00
computone.txt
cpqarray.txt
cpu-hotplug.txt
cpu-load.txt
cpusets.txt doc: document the relax_domain_level kernel boot argument 2008-07-04 10:40:10 -07:00
cputopology.txt cpu topology: always define CPU topology information 2008-06-13 10:09:46 +02:00
dcdbas.txt
debugging-modules.txt
debugging-via-ohci1394.txt firewire: fw-ohci: add option for remote debugging 2008-04-18 17:55:33 +02:00
dell_rbu.txt
devices.txt
digiepca.txt
dontdiff dontdiff: ignore timeconst.h 2008-04-28 22:51:56 +02:00
edac.txt
eisa.txt
email-clients.txt
exception.txt
feature-removal-schedule.txt netfilter: accounting rework: ct_extend + 64bit counters (v4) 2008-07-21 10:10:58 -07:00
floppy.txt
ftrace.txt ftrace: ftrace.txt updates 2008-07-15 18:57:20 -07:00
gpio.txt gpio: define gpio_is_valid() 2008-04-28 08:58:34 -07:00
hayes-esp.txt
highuid.txt [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
hpet.txt
hw_random.txt
initrd.txt
io_ordering.txt
ioctl-number.txt [S390] cio: Add chsc subchannel driver. 2008-07-14 10:02:12 +02:00
iostats.txt
irqflags-tracing.txt
isapnp.txt
java.txt
kernel-doc-nano-HOWTO.txt doc: document the kernel-doc conventions for kernel hackers 2008-06-06 11:29:12 -07:00
kernel-docs.txt doc: update to URL and status of kernel-docs.txt entry 2008-06-06 11:29:10 -07:00
kernel-parameters.txt mm: add a basic debugging framework for memory initialisation 2008-07-24 10:47:13 -07:00
keys-request-key.txt keys: allow the callout data to be passed as a blob rather than a string 2008-04-29 08:06:16 -07:00
keys.txt keys: make the keyring quotas controllable through /proc/sys 2008-04-29 08:06:17 -07:00
kobject.txt kobject: Documentation Spelling Patch 2008-06-11 16:50:40 -07:00
kprobes.txt powerpc/booke: Add kprobes support for booke style processors 2008-06-26 03:35:46 -05:00
kref.txt
ldm.txt
leds-class.txt leds: disable triggers on brightness set 2008-04-24 23:34:18 +01:00
local_ops.txt
lockdep-design.txt
lockstat.txt
logo.gif
logo.txt
magic-number.txt [SPARC]: Remove SunOS and Solaris binary support. 2008-04-21 15:10:15 -07:00
markers.txt
mca.txt
md.txt md: Tidy up rdev_size_store a bit: 2008-07-21 14:22:18 +10:00
memory-barriers.txt read_barrier_depends arch fixlets 2008-05-14 10:05:18 -07:00
memory-hotplug.txt
memory.txt
mono.txt
moxa-smartio
mtrr.txt
mutex-design.txt
nbd.txt
nmi_watchdog.txt x86: nmi_watchdog - documentation fix - v2 2008-07-08 13:16:10 +02:00
nommu-mmap.txt
numastat.txt
oops-tracing.txt Taint kernel after WARN_ON(condition) 2008-04-29 08:05:59 -07:00
paride.txt
parport-lowlevel.txt
parport.txt
pi-futex.txt
pnp.txt
preempt-locking.txt
prio_tree.txt
ramdisk.txt
rbtree.txt
rfkill.txt rfkill: improve documentation for kernel drivers 2008-06-26 14:21:22 -04:00
riscom8.txt
robust-futex-ABI.txt
robust-futexes.txt
rocket.txt
rt-mutex-design.txt
rt-mutex.txt
rtc.txt
serial-console.txt
sgi-ioc4.txt
sgi-visws.txt
sparse.txt
specialix.txt specialix: Code cleanups 2008-07-22 13:03:27 -07:00
spinlocks.txt Add additional examples in Documentation/spinlocks.txt 2008-04-11 13:21:14 -06:00
stable_api_nonsense.txt
stable_kernel_rules.txt
stallion.txt
svga.txt
sx.txt
sysfs-rules.txt sysfs-rules.txt: reword API stability statement 2008-07-21 21:54:59 -07:00
sysrq.txt sysrq: add show-backtrace-on-all-cpus function 2008-04-29 08:06:03 -07:00
tty.txt
unaligned-memory-access.txt
unicode.txt
unshare.txt
video-output.txt
volatile-considered-harmful.txt
voyager.txt
zorro.txt

README.cycladesZ

The Cyclades-Z must have firmware loaded onto the card before it will
operate.  This operation should be performed during system startup,

The firmware, loader program and the latest device driver code are
available from Cyclades at
    ftp://ftp.cyclades.com/pub/cyclades/cyclades-z/linux/