SLUB: The unqueued slab allocator V4
Subsystems (4)
cover SLUB: The unqueued slab allocator V4
[PATCH] SLUB The unqueued slab allocator v4
V3->V4
- Rename /proc/slabinfo to /proc/slubinfo. We have a different format after all.
- More bug fixes and stabilization of diagnostic functions. This seems to be finally something that works wherever we test it.
- Serialize kmem_cache_create and kmem_cache_destroy via slub_lock (Adrian's idea)
- Add two new modifications (separate patches) to guarantee
a mininum number of objects per slab and to pass through large allocations.
Note that SLUB will warn on zero sized allocations. SLAB just allocates some memory. So some traces from the usb subsystem etc should be expected. There are very likely also issues remaining in SLUB.
V2->V3
- Debugging and diagnostic support. This is runtime enabled and not compile time enabled. Runtime debugging can be controlled via kernel boot options on an individual slab cache basis or globally.
- Slab Trace support (For individual slab caches).
- Resiliency support: If basic sanity checks are enabled (via F f.e.) (boot option) then SLUB will do the best to perform diagnostics and then continue (i.e. mark corrupted objects as used).
- Fix up numerous issues including clash of SLUBs use of page flags with i386 arch use for pmd and pgds (which are managed as slab caches, sigh).
- Dynamic per CPU array sizing.
- Explain SLUB slabcache flags
V1->V2
- Fix up various issues. Tested on i386 UP, X86_64 SMP, ia64 NUMA.
- Provide NUMA support by splitting partial lists per node.
- Better Slab cache merge support (now at around 50% of slabs)
- List slab cache aliases if slab caches are merged.
- Updated descriptions /proc/slabinfo output
This is a new slab allocator which was motivated by the complexity of the existing code in mm/slab.c. It attempts to address a variety of concerns with the existing implementation.
A. Management of object queues
A particular concern was the complex management of the numerous object queues in SLAB. SLUB has no such queues. Instead we dedicate a slab for each allocating CPU and use objects from a slab directly instead of queueing them up.
B. Storage overhead of object queues
SLAB Object queues exist per node, per CPU. The alien cache queue even has a queue array that contain a queue for each processor on each node. For very large systems the number of queues and the number of objects that may be caught in those queues grows exponentially. On our systems with 1k nodes / processors we have several gigabytes just tied up for storing references to objects for those queues This does not include the objects that could be on those queues. One fears that the whole memory of the machine could one day be consumed by those queues.
C. SLAB meta data overhead
SLAB has overhead at the beginning of each slab. This means that data cannot be naturally aligned at the beginning of a slab block. SLUB keeps all meta data in the corresponding page_struct. Objects can be naturally aligned in the slab. F.e. a 128 byte object will be aligned at 128 byte boundaries and can fit tightly into a 4k page with no bytes left over. SLAB cannot do this.
D. SLAB has a complex cache reaper
SLUB does not need a cache reaper for UP systems. On SMP systems the per CPU slab may be pushed back into partial list but that operation is simple and does not require an iteration over a list of objects. SLAB expires per CPU, shared and alien object queues during cache reaping which may cause strange hold offs.
E. SLAB has complex NUMA policy layer support
SLUB pushes NUMA policy handling into the page allocator. This means that allocation is coarser (SLUB does interleave on a page level) but that situation was also present before 2.6.13. SLABs application of policies to individual slab objects allocated in SLAB is certainly a performance concern due to the frequent references to memory policies which may lead a sequence of objects to come from one node after another. SLUB will get a slab full of objects from one node and then will switch to the next.
F. Reduction of the size of partial slab lists
SLAB has per node partial lists. This means that over time a large number of partial slabs may accumulate on those lists. These can only be reused if allocator occur on specific nodes. SLUB has a global pool of partial slabs and will consume slabs from that pool to decrease fragmentation.
G. Tunables
SLAB has sophisticated tuning abilities for each slab cache. One can manipulate the queue sizes in detail. However, filling the queues still requires the uses of the spin lock to check out slabs. SLUB has a global parameter (min_slab_order) for tuning. Increasing the minimum slab order can decrease the locking overhead. The bigger the slab order the less motions of pages between per CPU and partial lists occur and the better SLUB will be scaling.
G. Slab merging
We often have slab caches with similar parameters. SLUB detects those on boot up and merges them into the corresponding general caches. This leads to more effective memory use. About 50% of all caches can be eliminated through slab merging. This will also decrease slab fragmentation because partial allocated slabs can be filled up again. Slab merging can be switched off by specifying slub_nomerge on boot up.
Note that merging can expose heretofore unknown bugs in the kernel because corrupted objects may now be placed differently and corrupt differing neighboring objects. Enable sanity checks to find those.
H. Diagnostics
The current slab diagnostics are difficult to use and require a recompilation of the kernel. SLUB contains debugging code that is always available (but is kept out of the hot code paths). SLUB diagnostics can be enabled via the "slab_debug" option. Parameters can be specified to select a single or a group of slab caches for diagnostics. This means that the system is running with the usual performance and it is much more likely that race conditions can be reproduced.
I. Resiliency
If basic sanity checks are on then SLUB is capable of detecting common error conditions and recover as best as possible to allow the system to continue.
J. Tracing
Tracing can be enabled via the slab_debug=T,<slabcache> option during boot. SLUB will then protocol each action on that slabcache and dump the object contents on free.
K. On demand DMA cache creation.
Generally DMA caches are not needed. If a kmalloc is used with __GFP_DMA then just create this single slabcache that is needed. For systems that have no ZONE_DMA requirement the support is completely eliminated.
Tested on:
i386 SMP, x86_64 UP + SMP + NUMA emulation, IA64 NUMA + Simulator
SLUB Boot options
slub_nomerge Disable merging of slabs
slub_min_order=x Require a minimum order for slab caches. This
increases the managed chunk size and therefore reduces meta data and locking overhead.slub_debug Enable all diagnostics for all caches
slub_debug=<options> Enable selective options for all caches
slub_debug=<o>,<cache> Enable selective options for a certain set of
cachesslub_min_objects Mininum objects per slab. Default is 8.
Available Debug options
F Double Free checking, sanity and resiliency
R Red zoning
P Object / padding poisoning
U Track last free / alloc
T Trace all allocs / frees (only use on individual slabs).
To use SLUB: Apply this patch and then select SLUB as the default slab allocator. The output of /proc/slabinfo will then change. Here is a sample (this is an UP/SMP format. The NUMA display will show on which nodes the slabs were allocated). Flags are
a Cpucache Align requested
A Hardware Align required
C Constructor
d DMA cache
D Destructor
F Double free checking/Sanity
p Panic on failure
P Poisoning
r Objects are reclaimable
R RCU destroy
S Memory Spreading
U User Tracking
T Tracing
Z Red Zone
Thanks to Adrian Drzewiecki <[email protected]> for many ideas and spotting many bugs.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 1/3 SLUB core
SLUB core
Basic new slab allocator. See overview for details
fs/proc/proc_misc.c +18 -0
@@ -399,6 +399,21 @@ static const struct file_operations proc };#endif +#ifdef CONFIG_SLUB +extern struct seq_operations slubinfo_op; +static int slubinfo_open (struct inode *inode,struct file *file) +{ +return seq_open (file, &slubinfo_op); +} +static const struct file_operations proc_slubinfo_operations = { + .open = slubinfo_open, + .read = seq_read, + .llseek = seq_lseek, + .release = seq_release, +}; +#endif + +#ifdef CONFIG_SLAB static int slabinfo_open (struct inode *inode,struct file *file) {
@@ -789,6 +804,9 @@ void __init proc_misc_init(void)#endif create_seq_entry ("stat" ,0 , &proc_stat_operations);create_seq_entry ("interrupts" ,0 , &proc_interrupts_operations); +#ifdef CONFIG_SLUB +create_seq_entry ("slubinfo" ,S_IWUSR |S_IRUGO ,&proc_slubinfo_operations); +#endif #ifdef CONFIG_SLAB create_seq_entry ("slabinfo" ,S_IWUSR |S_IRUGO ,&proc_slabinfo_operations);#ifdef CONFIG_DEBUG_SLAB_LEAK
include/linux/mm_types.h +15 -2
@@ -19,10 +19,16 @@ struct page {unsigned long flags;/* Atomic flags, some possibly * updated asynchronously */ atomic_t _count;/* Usage count, see below. */ -atomic_t _mapcount;/* Count of ptes mapped in mms, +union { +atomic_t _mapcount;/* Count of ptes mapped in mms, * to show when page is mapped * & limit reverse map searches. */ +struct {/* SLUB uses */ +short unsigned int inuse; +short unsigned int offset; + }; + }; union { struct { unsigned long private; /* Mapping-private opaque data:
@@ -43,8 +49,15 @@ struct page {#if NR_CPUS >=CONFIG_SPLIT_PTLOCK_CPUS spinlock_t ptl;#endif +struct {/* SLUB uses */ +struct page *first_page;/* Compound pages */ +struct kmem_cache *slab;/* Pointer to slab */ + }; + }; +union { +pgoff_t index;/* Our offset within mapping. */ +void *freelist;/* SLUB: pointer to free object */ }; -pgoff_t index;/* Our offset within mapping. */ struct list_head lru;/* Pageout list, eg. active_list * protected by zone->lru_lock ! */
include/linux/slab.h +7 -1
@@ -32,6 +32,7 @@ typedef struct kmem_cache kmem_cache_t _#define SLAB_PANIC 0x00040000UL/* Panic if kmem_cache_create() fails */ #define SLAB_DESTROY_BY_RCU 0x00080000UL/* Defer freeing slabs to RCU */ #define SLAB_MEM_SPREAD 0x00100000UL/* Spread some memory over cpuset */ +#define SLAB_TRACE 0x00200000UL/* Trace allocations and frees */ /* Flags passed to a constructor functions */ #define SLAB_CTOR_CONSTRUCTOR 0x001UL/* If not set, then deconstructor */
@@ -95,9 +96,14 @@ static inline void *kcalloc(size_t n, si* the appropriate general cache at compile time. */ -#ifdef CONFIG_SLAB +#if defined(CONFIG_SLAB ) || defined(CONFIG_SLUB ) +#ifdef CONFIG_SLUB +#include <linux/slub_def.h> +#else #include <linux/slab_def.h> +#endif /* !CONFIG_SLUB */ #else +/* * Fallback definitions for an allocator not wanting to provide * its own optimized kmalloc definitions (like SLOB).
include/linux/slub_def.h new file +168 -0
168 lines not on this page · raw message
init/Kconfig +40 -13
71 lines not on this page · raw message
mm/Makefile +1 -0
@@ -26,6 +26,7 @@ obj-$(CONFIG_TMPFS_POSIX_ACL) += shmem_a obj-$(CONFIG_TINY_SHMEM) += tiny-shmem.o obj-$(CONFIG_SLOB) += slob.o obj-$(CONFIG_SLAB) += slab.o +obj-$(CONFIG_SLUB) += slub.o obj-$(CONFIG_MEMORY_HOTPLUG) += memory_hotplug.o obj-$(CONFIG_FS_XIP) += filemap_xip.o obj-$(CONFIG_MIGRATION) += migrate.o
mm/slub.c new file +2253 -0
2,253 lines not on this page · raw message
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 2/3 Large kmalloc pass through. Removal of large general slabs
In reply to Christoph LameterUnlimited kmalloc size and removal of general caches >=4.
We can directly use the page allocator for all allocations 4K and larger. This means that no general slabs are necessary and the size of the allocation passed to kmalloc() can be arbitrarily large. Remove the useless general caches over 4k.
mm/slub.c +29 -4
@@ -1101,6 +1101,13 @@ void kmem_cache_free(struct kmem_cache *if (unlikely (PageCompound (page))) page = page->first_page; +if (unlikely (!PageSlab (page))) { +if (x ==page_address (page)) { +put_page (page); +return ; + } + } +if (!s) s = page->slab;
@@ -1678,7 +1685,8 @@ static struct kmem_cache *get_slab(size_/* SLAB allows allocations with zero size. So warn on those */ WARN_ON (size ==0 );/* Allocation too large? */ -BUG_ON (index <0 ); +if (index <0 ) +return NULL ;#ifdef CONFIG_ZONE_DMA if ((flags &SLUB_DMA )) {
@@ -1722,15 +1730,32 @@ static struct kmem_cache *get_slab(size_void *__kmalloc (size_t size,gfp_t flags) { -return kmem_cache_alloc (get_slab (size, flags), flags); +struct kmem_cache *s =get_slab (size, flags); +struct page *page; + +if (s) +return kmem_cache_alloc (s, flags); + + page =alloc_pages (flags,get_order (size)); +if (!page) +return NULL ; +return page_address (page); }EXPORT_SYMBOL (__kmalloc);#ifdef CONFIG_NUMA void *__kmalloc_node (size_t size,gfp_t flags,int node) { -return kmem_cache_alloc_node (get_slab (size, flags), - flags, node); +struct kmem_cache *s =get_slab (size, flags); +struct page *page; + +if (s) +return kmem_cache_alloc_node (s, flags, node); + + page =alloc_pages_node (node, flags,get_order (size)); +if (!page) +return NULL ; +return page_address (page); }EXPORT_SYMBOL (__kmalloc_node);#endif
include/linux/slub_def.h +15 -25
@@ -55,7 +55,7 @@ struct kmem_cache {*/ #define KMALLOC_SHIFT_LOW 3 -#define KMALLOC_SHIFT_HIGH 18 +#define KMALLOC_SHIFT_HIGH 11#if L1_CACHE_BYTES <=64 #define KMALLOC_EXTRAS 2
@@ -93,13 +93,6 @@ static inline int kmalloc_index(int sizeif (size <=512 )return 9 ;if (size <=1024 )return 10 ;if (size <=2048 )return 11 ; -if (size <=4096 )return 12 ; -if (size <=8 *1024 )return 13 ; -if (size <=16 *1024 )return 14 ; -if (size <=32 *1024 )return 15 ; -if (size <=64 *1024 )return 16 ; -if (size <=128 *1024 )return 17 ; -if (size <=256 *1024 )return 18 ;return -1 ; }
@@ -113,14 +106,8 @@ static inline struct kmem_cache *kmalloc {int index =kmalloc_index (size) -KMALLOC_SHIFT_LOW ; -if (index <0 ) { -/* -* Generate a link failure. Would be great if we could -* do something to stop the compile here. -*/ -extern void __kmalloc_size_too_large (void ); -__kmalloc_size_too_large (); - } +if (index <0 ) +return NULL ;return &kmalloc_caches[index]; }
@@ -136,9 +123,10 @@ static inline void *kmalloc(size_t size,if (__builtin_constant_p (size) && !(flags &SLUB_DMA )) {struct kmem_cache *s =kmalloc_slab (size); -return kmem_cache_alloc (s, flags); - }else -return __kmalloc (size, flags); +if (s) +return kmem_cache_alloc (s, flags); + } +return __kmalloc (size, flags); }static inline void *kzalloc (size_t size,gfp_t flags)
@@ -146,9 +134,10 @@ static inline void *kzalloc(size_t size,if (__builtin_constant_p (size) && !(flags &SLUB_DMA )) {struct kmem_cache *s =kmalloc_slab (size); -return kmem_cache_zalloc (s, flags); - }else -return __kzalloc (size, flags); +if (s) +return kmem_cache_zalloc (s, flags); + } +return __kzalloc (size, flags); }#ifdef CONFIG_NUMA
@@ -159,9 +148,10 @@ static inline void *kmalloc_node(size_tif (__builtin_constant_p (size) && !(flags &SLUB_DMA )) {struct kmem_cache *s =kmalloc_slab (size); -return kmem_cache_alloc_node (s, flags, node); - }else - return __kmalloc_node(size, flags, node); +if (s) +return kmem_cache_alloc_node (s, flags, node); + } + return __kmalloc_node(size, flags, node); }#endif
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
Quoted 5 lines · Christoph Lameter
Unlimited kmalloc size and removal of general caches >=4.
We can directly use the page allocator for all allocations 4K and larger. This means that no general slabs are necessary and the size of the allocation passed to
kmalloc()can be arbitrarily large. Remove the useless general caches over 4k.
I've been meaning to do this in SLOB as well. Perhaps it warrants doing in stock kmalloc? I've got a grand total of 18 of these objects here.
The downside is this makes them suddenly disappear off the slabinfo radar.
Signature · 7 lines
Mathematics is the supreme nostalgia of our time. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
Quoted 3 lines · Matt Mackall
I've been meaning to do this in SLOB as well. Perhaps it warrants doing in stock kmalloc? I've got a grand total of 18 of these objects here.
The number increases with the number numa nodes. We have had trouble with the maximum kmalloc size before and this will get rid of it for good.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
In reply to Christoph LameterQuoted 23 lines · Christoph Lameter
Unlimited kmalloc size and removal of general caches >=4.
We can directly use the page allocator for all allocations 4K and larger. This means that no general slabs are necessary and the size of the allocation passed to
kmalloc()can be arbitrarily large. Remove the useless general caches over 4k.Index:
linux-2.6.21-rc2-mm1/include/linux/slub_def.h
===================================================================include/linux/slub_def.h +1
-1@@ -55,7 +55,7 @@ struct kmem_cache {*/ #define KMALLOC_SHIFT_LOW 3 -#define KMALLOC_SHIFT_HIGH 18 +#define KMALLOC_SHIFT_HIGH 11#if L1_CACHE_BYTES <=64 #define KMALLOC_EXTRAS 2@@ -93,13 +93,6 @@ static inline int kmalloc_index(int sizeif (size <=512 )return 9 ;if (size <=1024 )return 10 ;
include/linux/slub_def.h static inline int kmalloc_index(int size · line 97
Quoted 10 lines
include/linux/slub_def.h +0
-7if (size <=2048 )return 11 ; -if (size <=4096 )return 12 ; -if (size <=8 *1024 )return 13 ; -if (size <=16 *1024 )return 14 ; -if (size <=32 *1024 )return 15 ; -if (size <=64 *1024 )return 16 ; -if (size <=128 *1024 )return 17 ; -if (size <=256 *1024 )return 18 ;return -1 ; }
Perhaps so something with PAGE_SIZE here, as you know there are platforms/configs where PAGE_SIZE != 4k :-)
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
Quoted 5 lines · Peter Zijlstra
Quoted 2 lines
return -1;
}Perhaps so something with
PAGE_SIZEhere, as you know there are platforms/configs wherePAGE_SIZE!= 4k :-)
Any allocation > 2k just uses a regular allocation which will waste space.
I have a patch here to make this dependent on page size using a loop. The problem is that it does not work with some versions of gcc. On the other hand we really need this since one arch can
actually have an order 22 page size!
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
Quoted 8 lines · Christoph Lameter
Quoted 5 lines · Peter Zijlstra
Quoted 2 lines
return -1;
}Perhaps so something with
PAGE_SIZEhere, as you know there are platforms/configs wherePAGE_SIZE!= 4k :-)
Quoted 6 lines
Any allocation > 2k just uses a regular allocation which will waste space.
I have a patch here to make this dependent on page size using a loop. The problem is that it does not work with some versions of gcc. On the other hand we really need this since one arch can
actually have an order 22 page size!
You don't need a loop, you need an if (s >= PAGE_SIZE) at the head of your static list.
Signature · 7 lines
Mathematics is the supreme nostalgia of our time. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Re: [SLUB 2/3] Large kmalloc pass through. Removal of large general slabs
Quoted 7 lines · Matt Mackall
Quoted 4 lines
I have a patch here to make this dependent on page size using a loop. The problem is that it does not work with some versions of gcc. On the other hand we really need this since one arch can
actually have an order 22 page size!You don't need a loop, you need an if (s >=
PAGE_SIZE) at the head of your static list.
As I just said: PAGE_SIZE may be quite high. So I would need a looong static list. We already check for the size being bigger than 2048 which is half the usual page size. Anything larger will get passed through.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
PATCH 3/3 Guarantee minimum number of objects in a slab
In reply to Christoph LameterGuarantee a mininum number of objects per slab
The number of objects per slab is important for SLUB because it determines the number of allocations that can be performed without having to consult per node slab lists. Add another boot option "min_objects=xx" that allows the configuration of the objects per slab. This is similar to SLABS queue configurations.
Set the default of objects to 4. This will increase the page order for certain slab objects.
mm/slub.c +16 -1
@@ -1201,6 +1201,12 @@ static __always_inline struct page *get_static int slub_min_order =0 ;/* +* Minumum number of objects per slab. This is necessary in order to +* reduce locking overhead. Similar to the queue size in SLAB. +*/ +static int slub_min_objects =4 ; + +/* * Merge control. If this is set then no merging of slab caches will occur. */ static int slub_nomerge =0 ;
@@ -1232,7 +1238,7 @@ static int calculate_order(int size) order < MAX_ORDER; order++) {unsigned long slab_size =PAGE_SIZE << order; -if (slab_size < size) +if (slab_size < slub_min_objects * size)continue ; rem = slab_size % size;
@@ -1624,6 +1630,15 @@ static int __init setup_slub_min_order(c__setup ("slub_min_order=" , setup_slub_min_order); +static int __init setup_slub_min_objects (char *str) +{ +get_option (&str, &slub_min_objects); + +return 1 ; +} + +__setup ("slub_min_objects=" , setup_slub_min_objects); +static int __init setup_slub_nomerge (char *str) { slub_nomerge =1 ;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 2 lines · Christoph Lameter
[PATCH] SLUB The unqueued slab allocator v4
Hi Christoph,
I shoved these patches through a few tests on x86, x86_64, ia64 and ppc64 last night to see how they got on. I enabled slub_debug to catch any suprises that may be creeping about.
The results are mixed.
On x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, with slub_debug enabled, I would expect that so it's not a fair comparison performance wise. I'll rerun the tests without debug and see what it looks like if you're interested and do not think it's too early to worry about performance instead of clarity. This is what I have for bl6-13 (machine appears on test.kernel.org so additional details are there).
KernBench Comparison
--------------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-list-based %diff User CPU time 84.32 86.03 -2.03% System CPU time 32.97 38.21 -15.89%
Total CPU time 117.29 124.24 -5.93%
Elapsed time 34.95 37.31 -6.75%
AIM9 Comparison
---------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-list-based
1 creat-clo 160706.55 62918.54 -97788.01 -60.85% File Creations and Closes/second
2 page_test 190371.67 204050.99 13679.32 7.19% System Allocations & Pages/second
3 brk_test 2320679.89 1923512.75 -397167.14 -17.11% System Memory Allocations/second
4 jmp_test 16391869.38 16380353.27 -11516.11 -0.07% Non-local gotos/second
5 signal_test 492234.63 235710.71 -256523.92 -52.11% Signal Traps/second
6 exec_test 232.26 220.88 -11.38 -4.90% Program Loads/second
7 fork_test 4514.25 3609.40 -904.85 -20.04% Task Creations/second
8 link_test 53639.76 26925.91 -26713.85 -49.80% Link/Unlink Pairs/second
IA64 (machine not visible on TKO) curiously did not exhibit the same problems on kernbench for Total CPU time which is very unexpected but you can see the System CPU times. The AIM9 figures were a bit of an upset but again, I blame slub_debug being enabled
KernBench Comparison
--------------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-list-based %diff User CPU time 1084.64 1033.46 4.72% System CPU time 73.38 84.14 -14.66% Total CPU time 1158.02 1117.6 3.49% Elapsed time 307.00 291.29 5.12%
AIM9 Comparison
---------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-list-based 1 creat-clo 425460.75 137709.84 -287750.91 -67.63% File Creations and Closes/second 2 page_test 2097119.26 2373083.49 275964.23 13.16% System Allocations & Pages/second 3 brk_test 7008395.33 3787961.51 -3220433.82 -45.95% System Memory Allocations/second 4 jmp_test 12226295.31 12254744.03 28448.72 0.23% Non-local gotos/second 5 signal_test 1271126.28 334357.29 -936768.99 -73.70% Signal Traps/second 6 exec_test 395.54 349.00 -46.54 -11.77% Program Loads/second 7 fork_test 13218.23 8822.93 -4395.30 -33.25% Task Creations/second 8 link_test 64776.04 7410.75 -57365.29 -88.56% Link/Unlink Pairs/second
(as an aside, the succes rates for high-order allocations are lower with SLUB. Again, I blame slub_debug. I know that enabling SLAB_DEBUG has similar effects because of red-zoning and the like)
Now, the bad news. This exploded on ppc64. It started going wrong early in the boot process and got worse. I haven't looked closely as to why yet as there is other stuff on my plate but I've included a console log that might be some use to you. If you think you have a fix for it, feel free to send it on and I'll give it a test.
Config file read, 1024 bytes
Welcome
Welcome to yaboot version 1.3.12
Enter "help" to get some basic usage information
boot: autobench
Please wait, loading kernel...
Elf64 kernel loaded...
Loading ramdisk...
ramdisk loaded at 02400000, size: 1648 Kbytes
OF stdout device is: /vdevice/vty@30000000
Hypertas detected, assuming LPAR !
command line: ro console=hvc0 autobench_args: root=/dev/sda6 ABAT:1173335344 loglevel=8 slub_debug memory layout at init:
alloc_bottom : 000000000259c000
alloc_top : 0000000008000000
alloc_top_hi : 0000000100000000
rmo_top : 0000000008000000
ram_top : 0000000100000000
Looking for displays
instantiating rtas at 0x00000000077d9000 ... done
0000000000000000 : boot cpu 0000000000000000
0000000000000002 : starting cpu hw idx 0000000000000002... done
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x000000000269d000 -> 0x000000000269e1d9
Device tree struct 0x000000000269f000 -> 0x00000000026a7000
Calling quiesce ...
returning from prom_init
Partition configured for 4 cpus.
Starting Linux PPC64 #1 SMP Wed Mar 7 22:23:06 PST 2007
-----------------------------------------------------ppc64_pft_size = 0x1a
physicalMemorySize = 0x100000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80htab_address = 0x0000000000000000htab_hash_mask = 0x7ffff
-----------------------------------------------------
Linux version 2.6.21-rc2-mm2-autokern1 (root@gekko-lp1) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 SMP Wed Mar 7 22:23:06 PST 2007 [boot]0012 Setup Arch
EEH: PCI Enhanced I/O Error Handling Enabled
PPC64 nvram contains 7168 bytes
Zone PFN ranges:
DMA 0 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 1048576
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 1034240
Kernel command line: ro console=hvc0 autobench_args: root=/dev/sda6 ABAT:1173335344 loglevel=8 slub_debug [boot]0020 XICS Init
xics: no ISA interrupt controller
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 32768 bytes)time_init: decrementer frequency = 238.059000 MHztime_init: processor frequency = 1904.472000 MHz
Using pSeries machine description
Page orders: linear mapping = 24, virtual = 12, io = 12
Found initrd at 0xc000000002400000:0xc00000000259c000
Partition configured for 4 cpus.
Starting Linux PPC64 #1 SMP Wed Mar 7 22:23:06 PST 2007
-----------------------------------------------------ppc64_pft_size = 0x1a
physicalMemorySize = 0x100000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80htab_address = 0x0000000000000000htab_hash_mask = 0x7ffff
-----------------------------------------------------
Linux version 2.6.21-rc2-mm2-autokern1 (root@gekko-lp1) (gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)) #1 SMP Wed Mar 7 22:23:06 PST 2007 [boot]0012 Setup Arch
Entering add_active_range(0, 0, 32768) 0 entries of 256 used
Entering add_active_range(0, 32768, 65536) 1 entries of 256 used
Entering add_active_range(0, 65536, 98304) 1 entries of 256 used
Entering add_active_range(0, 98304, 131072) 1 entries of 256 used
Entering add_active_range(0, 131072, 163840) 1 entries of 256 used
Entering add_active_range(0, 163840, 196608) 1 entries of 256 used
Entering add_active_range(0, 196608, 229376) 1 entries of 256 used
Entering add_active_range(0, 229376, 262144) 1 entries of 256 used
Entering add_active_range(0, 262144, 294912) 1 entries of 256 used
Entering add_active_range(0, 294912, 327680) 1 entries of 256 used
Entering add_active_range(0, 327680, 360448) 1 entries of 256 used
Entering add_active_range(0, 360448, 393216) 1 entries of 256 used
Entering add_active_range(0, 393216, 425984) 1 entries of 256 used
Entering add_active_range(0, 425984, 458752) 1 entries of 256 used
Entering add_active_range(0, 458752, 491520) 1 entries of 256 used
Entering add_active_range(0, 491520, 524288) 1 entries of 256 used
Entering add_active_range(0, 524288, 557056) 1 entries of 256 used
Entering add_active_range(0, 557056, 589824) 1 entries of 256 used
Entering add_active_range(0, 589824, 622592) 1 entries of 256 used
Entering add_active_range(0, 622592, 655360) 1 entries of 256 used
Entering add_active_range(0, 655360, 688128) 1 entries of 256 used
Entering add_active_range(0, 688128, 720896) 1 entries of 256 used
Entering add_active_range(0, 720896, 753664) 1 entries of 256 used
Entering add_active_range(0, 753664, 786432) 1 entries of 256 used
Entering add_active_range(0, 786432, 819200) 1 entries of 256 used
Entering add_active_range(0, 819200, 851968) 1 entries of 256 used
Entering add_active_range(0, 851968, 884736) 1 entries of 256 used
Entering add_active_range(0, 884736, 917504) 1 entries of 256 used
Entering add_active_range(0, 917504, 950272) 1 entries of 256 used
Entering add_active_range(0, 950272, 983040) 1 entries of 256 used
Entering add_active_range(0, 983040, 1015808) 1 entries of 256 used
Entering add_active_range(0, 1015808, 1048576) 1 entries of 256 used
Node 0 Memory: 0x0-0x100000000
EEH: PCI Enhanced I/O Error Handling Enabled
PPC64 nvram contains 7168 bytes
Using dedicated idle loop
sizeof(struct page) = 56
Zone PFN ranges:
DMA 0 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0 -> 1048576
On node 0 totalpages: 1048576
DMA zone: 14336 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 1034240 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
[boot]0015 Setup Done
Built 1 zonelists. Total pages: 1034240
Kernel command line: ro console=hvc0 autobench_args: root=/dev/sda6 ABAT:1173335344 loglevel=8 slub_debug [boot]0020 XICS Init
xics: no ISA interrupt controller
[boot]0021 XICS Done
PID hash table entries: 4096 (order: 12, 32768 bytes)time_init: decrementer frequency = 238.059000 MHztime_init: processor frequency = 1904.472000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
freeing bootmem node 0
Memory: 4113864k/4194304k available (4672k kernel code, 80440k reserved, 988k data, 576k bss, 252k init) SLUB V4: General Slabs=9, HW alignment=128, Processors=4, Nodes=16
Calibrating delay loop... 475.13 BogoMIPS (lpj=950272)
Security Framework v1.0.0 initialized
SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
Processor 1 found.
Processor 2 found.
Processor 3 found.
Brought up 4 CPUs
Node 0 CPUs: 0-3mm/memory.c:111: bad pud c0000000050e4480.
could not vmalloc 20971520 bytes for cache!
migration_cost=0,1000
*** SLUB: Redzone Inactive check fails in kmalloc-64@c0000000050de0f0 Slab c000000000756090
offset=240 flags=5000000000c7 inuse=3 freelist=c0000000050de0f0
Bytes b4 c0000000050de0e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Object c0000000050de0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Object c0000000050de100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Object c0000000050de110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Object c0000000050de120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
Redzone c0000000050de130: 00 00 00 00 00 00 00 00 ........
FreePointer c0000000050de138: 0000000000000000
Call Trace:
[C00000000506B9D0] [C000000000011188] .show_stack+0x6c/0x1a0 (unreliable)
[C00000000506BA70] [C0000000000CB9BC] .object_err+0x1bc/0x1e8
[C00000000506BB10] [C0000000000CBB3C] .check_object+0x154/0x23c
[C00000000506BBB0] [C0000000000CCFB0] .alloc_object_checks+0xc0/0x154
[C00000000506BC40] [C0000000000CD600] .kmem_cache_alloc+0xc8/0x4a8
[C00000000506BD00] [C0000000000CD9FC] .kmem_cache_zalloc+0x1c/0x50
[C00000000506BD90] [C000000000070334] .__create_workqueue+0x48/0x1b8
[C00000000506BE40] [C00000000046C36C] .helper_init+0x24/0x54
[C00000000506BEC0] [C000000000451B7C] .init+0x1c4/0x2f8
[C00000000506BF90] [C0000000000275D0] .kernel_thread+0x4c/0x68NET: Registered protocol family 16
PCI: Probing PCI hardware
IOMMU table initialized, virtual merging enabled
mapping IO 3fe00600000 -> d000080000000000, size: 100000
PCI: Probing PCI hardware done
Registering pmac pic with sysfs...
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 131072 (order: 8, 1048576 bytes)
TCP established hash table entries: 524288 (order: 11, 12582912 bytes)
TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 524288 bind 65536)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd Freeing initrd memory: 1648k freedvio_bus_init: processing c0000000ffffe3a0vio_bus_init: processing c0000000ffffe558vio_bus_init: processing c0000000ffffe9f8vio_bus_init: processing c0000000ffffeb30vio_bus_init: processing c0000000ffffec88
scan-log-dump not implemented on this system
RTAS daemon started
RTAS: event: 1, Type: Platform Error, Severity: 2
audit: initializing netlink socket (disabled)
audit(1173335571.256:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
JFS: nTxBlock = 8192, nTxLock = 65536
SELinux: Registering netfilter hooks
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registeredpci_hotplug: PCI Hot Plug PCI Core version: 0.5
rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
rpaphp: Slot [0000:00:02.2](PCI location=U7879.001.DQD0T7T-P1-C4) registeredvio_register_driver: driver hvc_console registering
------------[ cut here ]------------
Badness at mm/slub.c:1701
Call Trace:
[C00000000506B730] [C000000000011188] .show_stack+0x6c/0x1a0 (unreliable)
[C00000000506B7D0] [C0000000001EE9F4] .report_bug+0x94/0xe8
[C00000000506B860] [C00000000038C85C] .program_check_exception+0x16c/0x5f4
[C00000000506B930] [C0000000000046F4] program_check_common+0xf4/0x100
--- Exception: 700 at .get_slab+0xbc/0x18c
LR = .__kmalloc+0x28/0x104[C00000000506BC20] [C00000000506BCC0] 0xc00000000506bcc0 (unreliable)
[C00000000506BCD0] [C0000000000CE2EC] .__kmalloc+0x28/0x104
[C00000000506BD60] [C00000000022E724] .tty_register_driver+0x5c/0x23c
[C00000000506BE10] [C000000000477910] .hvsi_init+0x154/0x1b4
[C00000000506BEC0] [C000000000451B7C] .init+0x1c4/0x2f8
[C00000000506BF90] [C0000000000275D0] .kernel_thread+0x4c/0x68
HVSI: registered 0 devices
Generic RTC Driver v1.07
[drm] Initialized drm 1.1.0 20060810
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide-floppy driver 0.99.newide
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhiddrivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all miceasync_tx: api initialized (sync-only)
xor: measuring software checksumming speed
8regs : 6524.000 MB/sec
8regs_prefetch: 4997.000 MB/sec
32regs : 6994.000 MB/sec
32regs_prefetch: 4985.000 MB/sec
xor: using function: 32regs (6994.000 MB/sec)
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1648KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-done.
VFS: Mounted root (cramfs filesystem) readonly.mm/memory.c:111: bad pud c000000005a0ad80.mm/memory.c:111: bad pud c000000005a0b200.mm/memory.c:111: bad pud c000000005a0a480.mm/memory.c:111: bad pud c000000005a0b680.mm/memory.c:111: bad pud c000000005a0a900.mm/memory.c:111: bad pud c000000005a0bb00.mm/memory.c:111: bad pud c000000005762900.mm/memory.c:111: bad pud c000000005762480.
------------[ cut here ]------------
kernel BUG at mm/mmap.c:1999!
cpu 0x3: Vector: 700 (Program Check) at [c00000000576b430]
pc: c0000000000b37d4: .exit_mmap+0x150/0x178
lr: c0000000000b37b8: .exit_mmap+0x134/0x178
sp: c00000000576b6b0 msr: 8000000000029032
current = 0xc000000005177680
paca = 0xc0000000004a5280
pid = 235, comm = linuxrc
kernel BUG at mm/mmap.c:1999!
------------[ cut here ]------------
Badness at arch/powerpc/kernel/entry_64.S:651
Call Trace:
[C00000000576A720] [C000000000011188] .show_stack+0x6c/0x1a0 (unreliable)
[C00000000576A7C0] [C0000000001EE9F4] .report_bug+0x94/0xe8
[C00000000576A850] [C00000000038C85C] .program_check_exception+0x16c/0x5f4
[C00000000576A920] [C0000000000046F4] program_check_common+0xf4/0x100
--- Exception: 700 at .enter_rtas+0xa0/0x10c
LR = .xmon_core+0x580/0x920
[C00000000576AC10] [C00000000004DCD4] .xmon_printf+0x64/0x7c (unreliable)
[C00000000576ADF0] [C00000000004D118] .xmon_core+0x580/0x920
[C00000000576AF80] [C00000000004D700] .xmon+0x30/0x40
[C00000000576B150] [C000000000025D0C] .die+0x50/0x1b8
[C00000000576B1E0] [C0000000000260AC] ._exception+0x40/0x134
[C00000000576B2F0] [C00000000038CCA8] .program_check_exception+0x5b8/0x5f4
[C00000000576B3C0] [C0000000000046F4] program_check_common+0xf4/0x100
--- Exception: 700 at .exit_mmap+0x150/0x178
LR = .exit_mmap+0x134/0x178
[C00000000576B760] [C0000000000574FC] .mmput+0x78/0x170
[C00000000576B800] [C00000000005C968] .exit_mm+0x128/0x148
[C00000000576B890] [C00000000005E8E4] .do_exit+0x274/0x958
[C00000000576B940] [C00000000005F09C] .sys_exit_group+0x0/0x8
[C00000000576B9D0] [C00000000006AC0C] .get_signal_to_deliver+0x678/0x700
[C00000000576BB60] [C00000000000F2E0] .do_signal32+0x7c/0x818
[C00000000576BCD0] [C000000000017BB8] .do_signal+0x4c/0x8b8
[C00000000576BE30] [C000000000008CE8] do_work+0x28/0x2center ? for help
[c00000000576b760] c0000000000574fc .mmput+0x78/0x170 [c00000000576b800] c00000000005c968 .exit_mm+0x128/0x148 [c00000000576b890] c00000000005e8e4 .do_exit+0x274/0x958 [c00000000576b940] c00000000005f09c .sys_exit_group+0x0/0x8 [c00000000576b9d0] c00000000006ac0c .get_signal_to_deliver+0x678/0x700 [c00000000576bb60] c00000000000f2e0 .do_signal32+0x7c/0x818 [c00000000576bcd0] c000000000017bb8 .do_signal+0x4c/0x8b8 [c00000000576be30] c000000000008ce8 do_work+0x28/0x2c
--- Exception: 300 (Data Access) at 000000000ff36f8c
SP (ffb5f8a0) is in userspace
3:mon>-- 0:conmux-control -- time-stamp -- Mar/07/07 22:35:07 -- -- 0:conmux-control -- time-stamp -- Mar/07/07 22:49:34 -- (bot:conmon-payload) disconnected
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 7 lines · Mel Gorman
On
x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, withslub_debugenabled, I would expect that so it's not a fair comparison performance wise. I'll rerun the tests without debug and see what it looks like if you're interested and do not think it's too early to worry about performance instead of clarity. This is what I have for bl6-13 (machine appears on test.kernel.org so additional details are there).
No its good to start worrying about performance now. There are still some performance issues to be ironed out in particular on NUMA. I am not sure f.e. how the reduction of partial lists affect performance.
Quoted 4 lines
IA64 (machine not visible on TKO) curiously did not exhibit the same problems on kernbench for Total CPU time which is very unexpected but you can see the System CPU times. The AIM9 figures were a bit of an upset but again, I blame
slub_debugbeing enabled
This was a single node box? Note that the 16kb page size has a major impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms.
Quoted 3 lines
(as an aside, the succes rates for high-order allocations are lower with SLUB. Again, I blame
slub_debug. I know that enablingSLAB_DEBUGhas similar effects because of red-zoning and the like)
We have some additional patches here that reduce the max order for some allocs. I believe the task_struct gets to be an order 2 alloc with V4,
Quoted 5 lines
Now, the bad news. This exploded on ppc64. It started going wrong early in the boot process and got worse. I haven't looked closely as to why yet as there is other stuff on my plate but I've included a console log that might be some use to you. If you think you have a fix for it, feel free to send it on and I'll give it a test.
Hmmm... Looks like something is zapping an object. Try to rerun with a kernel compiled with CONFIG_SLAB_DEBUG. I would expect similar results.
Quoted 4 lines
Brought up 4 CPUs
Node 0 CPUs: 0-3mm/memory.c:111: bad pudc0000000050e4480.
could not vmalloc 20971520 bytes for cache!
Hmmm... a bad pud? I need to look at how the puds are managed on power.
Quoted 2 lines
migration_cost=0,1000
*** SLUB: Redzone Inactive check fails in kmalloc-64@c0000000050de0f0 Slab
An object was overwritten with zeros after it was freed.
Quoted 17 lines
RTAS daemon started
RTAS: event: 1, Type: Platform Error, Severity: 2
audit: initializing netlink socket (disabled) audit(1173335571.256:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
JFS: nTxBlock = 8192, nTxLock = 65536
SELinux: Registering netfilter hooks
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registeredpci_hotplug: PCI Hot Plug PCI Core version: 0.5
rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
rpaphp: Slot [0000:00:02.2](PCI location=U7879.001.DQD0T7T-P1-C4) registeredvio_register_driver: driverhvc_consoleregistering
Quoted 2 lines
------------[ cut here ]------------ Badness at mm/slub.c:1701
Someone did a kmalloc(0, ...). Zero sized allocation are not flagged by SLAB but SLUB does.
Quoted 15 lines
Call Trace: [C00000000506B730] [C000000000011188] .show_stack+0x6c/0x1a0 (unreliable) [C00000000506B7D0] [C0000000001EE9F4] .report_bug+0x94/0xe8 [C00000000506B860] [C00000000038C85C] .program_check_exception+0x16c/0x5f4 [C00000000506B930] [C0000000000046F4] program_check_common+0xf4/0x100 --- Exception: 700 at .get_slab+0xbc/0x18c LR = .__kmalloc+0x28/0x104[C00000000506BC20] [C00000000506BCC0]
0xc00000000506bcc0(unreliable) [C00000000506BCD0] [C0000000000CE2EC] .__kmalloc+0x28/0x104 [C00000000506BD60] [C00000000022E724] .tty_register_driver+0x5c/0x23c [C00000000506BE10] [C000000000477910] .hvsi_init+0x154/0x1b4 [C00000000506BEC0] [C000000000451B7C] .init+0x1c4/0x2f8 [C00000000506BF90] [C0000000000275D0] .kernel_thread+0x4c/0x68mm/memory.c:111: bad pudc000000005762900.mm/memory.c:111: bad pudc000000005762480.
Quoted 2 lines
------------[ cut here ]------------ kernel BUG at mm/mmap.c:1999!
More page table trouble.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
On (08/03/07 08:48), Christoph Lameter didst pronounce:
Quoted 10 lines · Mel Gorman
Quoted 8 lines
On
x86_64, it completed successfully and looked reliable. There was a 5% performance loss on kernbench and aim9 figures were way down. However, withslub_debugenabled, I would expect that so it's not a fair comparison performance wise. I'll rerun the tests without debug and see what it looks like if you're interested and do not think it's too early to worry about performance instead of clarity. This is what I have for bl6-13 (machine appears on test.kernel.org so additional details are there).
Quoted 4 lines
No its good to start worrying about performance now. There are still some performance issues to be ironed out in particular on NUMA. I am not sure f.e. how the reduction of partial lists affect performance.
Ok, I've sent off a bunch of tests - two of which are on NUMA (numaq and x86_64). It'll take them a long time to complete though as there is a lot of testing going on right now.
Quoted 6 lines
Quoted 4 lines
IA64 (machine not visible on TKO) curiously did not exhibit the same problems on kernbench for Total CPU time which is very unexpected but you can see the System CPU times. The AIM9 figures were a bit of an upset but again, I blame
slub_debugbeing enabledThis was a single node box?
Yes, memory looks like this;
Zone PFN ranges:
DMA 1024 -> 262144
Normal 262144 -> 262144
Movable zone start PFN for each node
early_node_map[3] active PFN ranges
0: 1024 -> 30719
0: 32768 -> 65413
0: 65440 -> 65505On node 0 totalpages: 62405
Node 0 memmap at 0xe000000001126000 size 3670016 first pfn 0xe000000001134000
DMA zone: 220 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 62185 pages, LIFO batch:7
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
Quoted 4 lines
Note that the 16kb page size has a major
impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms.
It'll be interesting to see the kernbench tests then with debugging disabled.
Quoted 7 lines
Quoted 3 lines
(as an aside, the succes rates for high-order allocations are lower with SLUB. Again, I blame
slub_debug. I know that enablingSLAB_DEBUGhas similar effects because of red-zoning and the like)We have some additional patches here that reduce the max order for some allocs. I believe the
task_structgets to be an order 2 alloc with V4,
Should make a difference for slab fragmentation
Quoted 9 lines
Quoted 5 lines
Now, the bad news. This exploded on ppc64. It started going wrong early in the boot process and got worse. I haven't looked closely as to why yet as there is other stuff on my plate but I've included a console log that might be some use to you. If you think you have a fix for it, feel free to send it on and I'll give it a test.
Hmmm... Looks like something is zapping an object. Try to rerun with a kernel compiled with
CONFIG_SLAB_DEBUG. I would expect similar results.
I've queued up a few tests. One completed as I wrote this and it didn't explode with SLAB_DEBUG set. Maybe the others will be different. I'll kick it around for a bit.
It could be a real bug that slab is just not catuching.
Quoted 32 lines
Quoted 4 lines
Brought up 4 CPUs
Node 0 CPUs: 0-3mm/memory.c:111: bad pudc0000000050e4480.
could not vmalloc 20971520 bytes for cache!Hmmm... a bad pud? I need to look at how the puds are managed on power.
Quoted 2 lines
migration_cost=0,1000
*** SLUB: Redzone Inactive check fails in kmalloc-64@c0000000050de0f0 SlabAn object was overwritten with zeros after it was freed.
Quoted 17 lines
RTAS daemon started
RTAS: event: 1, Type: Platform Error, Severity: 2
audit: initializing netlink socket (disabled) audit(1173335571.256:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
JFS: nTxBlock = 8192, nTxLock = 65536
SELinux: Registering netfilter hooks
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registeredpci_hotplug: PCI Hot Plug PCI Core version: 0.5
rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1
rpaphp: Slot [0000:00:02.2](PCI location=U7879.001.DQD0T7T-P1-C4) registeredvio_register_driver: driverhvc_consoleregisteringQuoted 2 lines
------------[ cut here ]------------ Badness at mm/slub.c:1701
Quoted 3 lines
Someone did a
kmalloc(0, ...). Zero sized allocation are not flagged by SLAB but SLUB does.
I'll chase up what's happening here. It will be "reproducable" independent of SLUB by adding a similar check.
Quoted 19 lines
Quoted 15 lines
Call Trace: [C00000000506B730] [C000000000011188] .show_stack+0x6c/0x1a0 (unreliable) [C00000000506B7D0] [C0000000001EE9F4] .report_bug+0x94/0xe8 [C00000000506B860] [C00000000038C85C] .program_check_exception+0x16c/0x5f4 [C00000000506B930] [C0000000000046F4] program_check_common+0xf4/0x100 --- Exception: 700 at .get_slab+0xbc/0x18c LR = .__kmalloc+0x28/0x104[C00000000506BC20] [C00000000506BCC0]
0xc00000000506bcc0(unreliable) [C00000000506BCD0] [C0000000000CE2EC] .__kmalloc+0x28/0x104 [C00000000506BD60] [C00000000022E724] .tty_register_driver+0x5c/0x23c [C00000000506BE10] [C000000000477910] .hvsi_init+0x154/0x1b4 [C00000000506BEC0] [C000000000451B7C] .init+0x1c4/0x2f8 [C00000000506BF90] [C0000000000275D0] .kernel_thread+0x4c/0x68mm/memory.c:111: bad pudc000000005762900.mm/memory.c:111: bad pudc000000005762480.Quoted 2 lines
------------[ cut here ]------------ kernel BUG at mm/mmap.c:1999!More page table trouble.
Signature · 10 lines
-- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 5 lines · Mel Gorman
Quoted 3 lines
Note that the 16kb page size has a major
impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms.It'll be interesting to see the kernbench tests then with debugging disabled.
You can get a similar effect on 4kb platforms by specifying slub_min_order=2 on bootup. This means that we have to rely on your patches to allow higher order allocs to work reliably though. The higher the order of slub the less locking overhead. So the better your patches deal with fragmentation the more we can reduce locking overhead in slub.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 11 lines · Christoph Lameter
Quoted 5 lines · Mel Gorman
Quoted 3 lines
Note that the 16kb page size has a major
impact on SLUB performance. On IA64 slub will use only 1/4th the locking overhead as on 4kb platforms.It'll be interesting to see the kernbench tests then with debugging disabled.
You can get a similar effect on 4kb platforms by specifying slub_min_order=2 on bootup. This means that we have to rely on your patches to allow higher order allocs to work reliably though.
It should work out because of the way buddy always selects the minimum page size will tend to cluster the slab allocations together whether they are reclaimable or not. It's something I can investigate when slub has stabilised a bit.
However, in general, high order kernel allocations remain a bad idea. Depending on high order allocations that do not group could potentially lead to a situation where the movable areas are used more and more by kernel allocations. I cannot think of a workload that would actually break everything, but it's a possibility.
Quoted 4 lines
The higher the order of slub the less
locking overhead. So the better your patches deal with fragmentation the more we can reduce locking overhead in slub.
I can certainly kick it around a lot and see what happen. It's best that slub_min_order=2 remain an optional performance enhancing switch though.
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Note that I am amazed that the kernbench even worked. On small machine I seem to be getting into trouble with order 1 allocations. SLAB seems to be able to avoid the situation by keeping higher order pages on a freelist and reduce the alloc/frees of higher order pages that the page allocator has to deal with. Maybe we need per order queues in the page allocator?
There must be something fundamentally wrong in the page allocator if the SLAB queues fix this issue. I was able to fix the issue in V5 by forcing SLUB to keep a mininum number of objects around regardless of the fit to a page order page. Pass through is deadly since the crappy page allocator cannot handle it.
Higher order page allocation failures can be avoided by using kmalloc. Yuck! Hopefully your patches fix that fundamental problem.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 1 line · Christoph Lameter
Note that I am amazed that the kernbench even worked. On small machine
How small? The machines I am testing on aren't "big" but they aren't misterable either.
Quoted 2 lines
I
seem to be getting into trouble with order 1 allocations.
That in itself is pretty incredible. From what I see, allocations up to 3 generally work unless they are atomic even with the vanilla kernel. That said, it could be because slab is holding onto the high order pages for itself.
Quoted 5 lines
SLAB seems to be
able to avoid the situation by keeping higher order pages on a freelist and reduce the alloc/frees of higher order pages that the page allocator has to deal with. Maybe we need per order queues in the page allocator?
I'm not sure what you mean by per-order queues. The buddy allocator already has per-order lists.
Quoted 9 lines
There must be something fundamentally wrong in the page allocator if the SLAB queues fix this issue. I was able to fix the issue in V5 by forcing SLUB to keep a mininum number of objects around regardless of the fit to a page order page. Pass through is deadly since the crappy page allocator cannot handle it.
Higher order page allocation failures can be avoided by using kmalloc. Yuck! Hopefully your patches fix that fundamental problem.
One way to find out for sure.
Signature · 9 lines
Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 2 lines · Mel Gorman
I'm not sure what you mean by per-order queues. The buddy allocator already has per-order lists.
Somehow they do not seem to work right. SLAB (and now SLUB too) can avoid (or defer) fragmentation by keeping its own queues.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 1 line
Note that I am amazed that the kernbench even worked.
The results without slub_debug were not good except for IA64. x86_64 and ppc64 both blew up for a variety of reasons. The IA64 results were
KernBench Comparison
--------------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-slub %diff
User CPU time 1084.64 1032.93 4.77%
System CPU time 73.38 63.14 13.95%
Total CPU time 1158.02 1096.07 5.35%
Elapsed time 307.00 285.62 6.96%
AIM9 Comparison
---------------
2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-slub 1 creat-clo 425460.75 438809.64 13348.89 3.14% File Creations and Closes/second 2 page_test 2097119.26 3398259.27 1301140.01 62.04% System Allocations & Pages/second 3 brk_test 7008395.33 6728755.72 -279639.61 -3.99% System Memory Allocations/second
4 jmp_test 12226295.31 12254966.21 28670.90 0.23% Non-local gotos/second
5 signal_test 1271126.28 1235510.96 -35615.32 -2.80% Signal Traps/second
6 exec_test 395.54 381.18 -14.36 -3.63% Program Loads/second
7 fork_test 13218.23 13211.41 -6.82 -0.05% Task Creations/second
8 link_test 64776.04 7488.13 -57287.91 -88.44% Link/Unlink Pairs/second
An example console log from x86_64 is below. It's not particular clear why it went blamo and I haven't had a chance all day to kick it around for a bit due to a variety of other hilarity floating around.
Linux version 2.6.21-rc2-mm2-autokern1 ([email protected]) (gcc version 4.1.1 20060525 (Red Hat 4.1.1-1)) #1 SMP Thu Mar 8 12:13:27 CST 2007 Command line: ro root=/dev/VolGroup00/LogVol00 rhgb console=tty0 console=ttyS1,19200 selinux=no autobench_args: root=30726124 ABAT:1173378546 loglevel=8 BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009d400 (usable)
BIOS-e820: 000000000009d400 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000003ffcddc0 (usable)
BIOS-e820: 000000003ffcddc0 - 000000003ffd0000 (ACPI data)
BIOS-e820: 000000003ffd0000 - 0000000040000000 (reserved)
BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 157) 0 entries of 3200 used
Entering add_active_range(0, 256, 262093) 1 entries of 3200 usedend_pfn_map = 1048576
DMI 2.3 present.
ACPI: RSDP 000FDFC0, 0014 (r0 IBM )
ACPI: RSDT 3FFCFF80, 0034 (r1 IBM SERBLADE 1000 IBM 45444F43)
ACPI: FACP 3FFCFEC0, 0084 (r2 IBM SERBLADE 1000 IBM 45444F43)
ACPI: DSDT 3FFCDDC0, 1EA6 (r1 IBM SERBLADE 1000 INTL 2002025)
ACPI: FACS 3FFCFCC0, 0040
ACPI: APIC 3FFCFE00, 009C (r1 IBM SERBLADE 1000 IBM 45444F43)
ACPI: SRAT 3FFCFD40, 0098 (r1 IBM SERBLADE 1000 IBM 45444F43)
ACPI: HPET 3FFCFD00, 0038 (r1 IBM SERBLADE 1000 IBM 45444F43)
SRAT: PXM 0 -> APIC 0 -> Node 0
SRAT: PXM 0 -> APIC 1 -> Node 0
SRAT: PXM 1 -> APIC 2 -> Node 1
SRAT: PXM 1 -> APIC 3 -> Node 1
SRAT: Node 0 PXM 0 0-40000000
Entering add_active_range(0, 0, 157) 0 entries of 3200 used
Entering add_active_range(0, 256, 262093) 1 entries of 3200 used
NUMA: Using 63 for the hash shift.
Bootmem setup node 0 0000000000000000-000000003ffcd000
Node 0 memmap at 0xffff81003efcd000 size 16773952 first pfn 0xffff81003efcd000
sizeof(struct page) = 64
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0 -> 157
0: 256 -> 262093On node 0 totalpages: 261994
DMA zone: 64 pages used for memmap
DMA zone: 2017 pages reserved
DMA zone: 1916 pages, LIFO batch:0
DMA32 zone: 4031 pages used for memmap
DMA32 zone: 253966 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x2208
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
Processor #1
ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
Processor #2
ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] enabled)
Processor #3
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x01] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x02] dfl dfl lint[0x1])
ACPI: LAPIC_NMI (acpi_id[0x03] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x0e] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 14, address 0xfec00000, GSI 0-23
ACPI: IOAPIC (id[0x0d] address[0xfec10000] gsi_base[24])
IOAPIC[1]: apic_id 13, address 0xfec10000, GSI 24-27
ACPI: IOAPIC (id[0x0c] address[0xfec20000] gsi_base[48])
IOAPIC[2]: apic_id 12, address 0xfec20000, GSI 48-51
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ11 used by override.
Setting APIC routing to flat
ACPI: HPET id: 0x10228203 base: 0xfecff000
Using ACPI (MADT) for SMP configuration information
Nosave address range: 000000000009d000 - 000000000009e000
Nosave address range: 000000000009e000 - 00000000000a0000
Nosave address range: 00000000000a0000 - 00000000000e0000
Nosave address range: 00000000000e0000 - 0000000000100000
Allocating PCI resources starting at 50000000 (gap: 40000000:bec00000)
SMP: Allowing 4 CPUs, 0 hotplug CPUs
PERCPU: Allocating 66368 bytes of per cpu data
Built 1 zonelists. Total pages: 255882
Kernel command line: ro root=/dev/VolGroup00/LogVol00 rhgb console=tty0 console=ttyS1,19200 selinux=no autobench_args: root=30726124 ABAT:1173378546 loglevel=8 Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
Marking TSC unstable due to TSCs unsynchronizedtime.c: Detected 1993.781 MHz processor.
Console: colour VGA+ 80x25
Checking aperture...
CPU 0: aperture @ dc000000 size 64 MB
CPU 1: aperture @ dc000000 size 64 MB
Memory: 1021548k/1048372k available (2878k kernel code, 26428k reserved, 1472k data, 340k init)
SLUB V4: General Slabs=11, HW alignment=64, Processors=4, Nodes=64
Calibrating delay using timer specific routine.. 3991.49 BogoMIPS (lpj=7982991)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 0/0 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
ACPI: Core revision 20070126
Using local APIC timer interrupts.
result 12461150
Detected 12.461 MHz APIC timer.
SMP alternatives: switching to SMP code
Booting processor 1/4 APIC 0x1
Initializing CPU#1
Calibrating delay using timer specific routine.. 3987.64 BogoMIPS (lpj=7975295)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 1/1 -> Node 0
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 1
Dual Core AMD Opteron(tm) Processor 270 stepping 02
SMP alternatives: switching to SMP code
Booting processor 2/4 APIC 0x2
Initializing CPU#2
Calibrating delay using timer specific routine.. 3987.64 BogoMIPS (lpj=7975291)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 2/2 -> Node 0
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 0
Dual Core AMD Opteron(tm) Processor 270 stepping 02
SMP alternatives: switching to SMP code
Booting processor 3/4 APIC 0x3
Initializing CPU#3
Calibrating delay using timer specific routine.. 3987.64 BogoMIPS (lpj=7975292)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 1024K (64 bytes/line)
CPU 3/3 -> Node 0
CPU: Physical Processor ID: 1
CPU: Processor Core ID: 1
Dual Core AMD Opteron(tm) Processor 270 stepping 02
Brought up 4 CPUs
migration_cost=413
PM: Adding info for No Bus:platform
NET: Registered protocol family 16
PM: Adding info for No Bus:vtcon0
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: Interpreter enabled
ACPI: (supports S0 S1 S4 S5)
ACPI: Using IOAPIC for interrupt routing
PM: Adding info for acpi:acpi_system:00
PM: Adding info for acpi:button_power:00
PM: Adding info for acpi:ACPI0007:00
PM: Adding info for acpi:ACPI0007:01
PM: Adding info for acpi:ACPI0007:02
PM: Adding info for acpi:ACPI0007:03
PM: Adding info for acpi:device:00
PM: Adding info for acpi:PNP0A03:00
PM: Adding info for acpi:device:01
PM: Adding info for acpi:device:02
PM: Adding info for acpi:device:03
PM: Adding info for acpi:device:04
PM: Adding info for acpi:PNP0C02:00
PM: Adding info for acpi:PNP0501:00
PM: Adding info for acpi:PNP0501:01
PM: Adding info for acpi:PNP0000:00
PM: Adding info for acpi:PNP0003:00
PM: Adding info for acpi:PNP0003:01
PM: Adding info for acpi:PNP0003:02
PM: Adding info for acpi:PNP0200:00
PM: Adding info for acpi:PNP0100:00
PM: Adding info for acpi:PNP0B00:00
PM: Adding info for acpi:PNP0800:00
PM: Adding info for acpi:PNP0C04:00
PM: Adding info for acpi:PNP0C02:01
PM: Adding info for acpi:device:05
PM: Adding info for acpi:device:06
PM: Adding info for acpi:device:07
PM: Adding info for acpi:PNP0103:00
PM: Adding info for acpi:device:08
PM: Adding info for acpi:device:09
PM: Adding info for acpi:device:0a
PM: Adding info for acpi:device:0b
PM: Adding info for acpi:device:0c
PM: Adding info for acpi:device:0d
PM: Adding info for acpi:thermal:00
PM: Adding info for acpi:PNP0C0F:00
PM: Adding info for acpi:PNP0C0F:01
PM: Adding info for acpi:PNP0C0F:02
PM: Adding info for acpi:PNP0C0F:03
ACPI: PCI Root Bridge [PCI0] (0000:00)
PM: Adding info for No Bus:pci0000:00
Boot video device is 0000:01:04.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI3._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
PM: Adding info for pci:0000:00:06.0
PM: Adding info for pci:0000:00:07.0
PM: Adding info for pci:0000:00:07.3
PM: Adding info for pci:0000:00:0a.0
PM: Adding info for pci:0000:00:0a.1
PM: Adding info for pci:0000:00:0b.0
PM: Adding info for pci:0000:00:0b.1
PM: Adding info for pci:0000:00:18.0
PM: Adding info for pci:0000:00:18.1
PM: Adding info for pci:0000:00:18.2
PM: Adding info for pci:0000:00:18.3
PM: Adding info for pci:0000:00:19.0
PM: Adding info for pci:0000:00:19.1
PM: Adding info for pci:0000:00:19.2
PM: Adding info for pci:0000:00:19.3
PM: Adding info for pci:0000:01:00.0
PM: Adding info for pci:0000:01:00.1
PM: Adding info for pci:0000:01:04.0
PM: Adding info for pci:0000:02:01.0
PM: Adding info for pci:0000:02:01.1
PM: Adding info for pci:0000:02:02.0
ACPI: PCI Interrupt Link [LP00] (IRQs *10)
ACPI: PCI Interrupt Link [LP01] (IRQs *7)
ACPI: PCI Interrupt Link [LP02] (IRQs *9)
ACPI: PCI Interrupt Link [LP03] (IRQs *5)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
PM: Adding info for No Bus:pnp0
PM: Adding info for pnp:00:00
PM: Adding info for pnp:00:01
PM: Adding info for pnp:00:02
PM: Adding info for pnp:00:03
PM: Adding info for pnp:00:04
PM: Adding info for pnp:00:05
PM: Adding info for pnp:00:06
PM: Adding info for pnp:00:07
PM: Adding info for pnp:00:08
PM: Adding info for pnp:00:09
PM: Adding info for pnp:00:0a
PM: Adding info for pnp:00:0b
PM: Adding info for pnp:00:0c
pnp: PnP ACPI: found 13 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
hpet0: at MMIO 0xfecff000, IRQs 2, 8, 0
hpet0: 3 32-bit timers, 14318180 Hz
pnp: 00:01: ioport range 0x510-0x517 has been reserved
Time: hpet clocksource has been installed.
pnp: 00:01: ioport range 0x504-0x507 has been reserved
pnp: 00:01: ioport range 0x500-0x503 has been reserved
pnp: 00:01: ioport range 0x520-0x53f has been reserved
pnp: 00:01: ioport range 0x540-0x547 has been reserved
pnp: 00:01: ioport range 0x460-0x461 has been reserved
pnp: 00:0b: iomem range 0xfec00000-0xffffffff has been reserved
PM: Adding info for No Bus:mem
PM: Adding info for No Bus:kmem
PM: Adding info for No Bus:null
PM: Adding info for No Bus:port
PM: Adding info for No Bus:zero
PM: Adding info for No Bus:full
PM: Adding info for No Bus:random
PM: Adding info for No Bus:urandom
PM: Adding info for No Bus:kmsg
PCI: Bridge: 0000:00:06.0
IO window: 3000-3fff
MEM window: fd000000-feafffff
PREFETCH window: f0000000-fcffffff
PCI: Bridge: 0000:00:0a.0
IO window: 4000-4fff
MEM window: ee000000-efffffff
PREFETCH window: 50000000-500fffff
PCI: Bridge: 0000:00:0b.0
IO window: 5000-ffff
MEM window: disabled.
PREFETCH window: disabled.
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
TCP established hash table entries: 131072 (order: 10, 5242880 bytes)
TCP bind hash table entries: 65536 (order: 9, 2097152 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1602k freed
PM: Adding info for No Bus:mcelog
PM: Adding info for No Bus:msr0
PM: Adding info for No Bus:msr1
PM: Adding info for No Bus:msr2
PM: Adding info for No Bus:msr3
PM: Adding info for No Bus:cpu0
PM: Adding info for No Bus:cpu1
PM: Adding info for No Bus:cpu2
PM: Adding info for No Bus:cpu3
PM: Adding info for platform:pcspkr
audit: initializing netlink socket (disabled)
audit(1173357216.800:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)pci_hotplug: PCI Hot Plug PCI Core version: 0.5
PM: Adding info for platform:vesafb.0
ACPI: Processor [CPU3] (supports 8 throttling states)
ACPI: Processor [CPU2] (supports 8 throttling states)
ACPI: Processor [CPU1] (supports 8 throttling states)
ACPI: Processor [CPU0] (supports 8 throttling states)
PM: Adding info for No Bus:tty
PM: Adding info for No Bus:console
PM: Adding info for No Bus:ptmx
PM: Adding info for No Bus:tty0
PM: Adding info for No Bus:vcs
PM: Adding info for No Bus:vcsa
PM: Adding info for No Bus:tty1
PM: Adding info for No Bus:tty2
PM: Adding info for No Bus:tty3
PM: Adding info for No Bus:tty4
PM: Adding info for No Bus:tty5
PM: Adding info for No Bus:tty6
PM: Adding info for No Bus:tty7
PM: Adding info for No Bus:tty8
PM: Adding info for No Bus:tty9
PM: Adding info for No Bus:tty10
PM: Adding info for No Bus:tty11
PM: Adding info for No Bus:tty12
PM: Adding info for No Bus:tty13
PM: Adding info for No Bus:tty14
PM: Adding info for No Bus:tty15
PM: Adding info for No Bus:tty16
PM: Adding info for No Bus:tty17
PM: Adding info for No Bus:tty18
PM: Adding info for No Bus:tty19
PM: Adding info for No Bus:tty20
PM: Adding info for No Bus:tty21
PM: Adding info for No Bus:tty22
PM: Adding info for No Bus:tty23
PM: Adding info for No Bus:tty24
PM: Adding info for No Bus:tty25
PM: Adding info for No Bus:tty26
PM: Adding info for No Bus:tty27
PM: Adding info for No Bus:tty28
PM: Adding info for No Bus:tty29
PM: Adding info for No Bus:tty30
PM: Adding info for No Bus:tty31
PM: Adding info for No Bus:tty32
PM: Adding info for No Bus:tty33
PM: Adding info for No Bus:tty34
PM: Adding info for No Bus:tty35
PM: Adding info for No Bus:tty36
PM: Adding info for No Bus:tty37
PM: Adding info for No Bus:tty38
PM: Adding info for No Bus:tty39
PM: Adding info for No Bus:tty40
PM: Adding info for No Bus:tty41
PM: Adding info for No Bus:tty42
PM: Adding info for No Bus:tty43
PM: Adding info for No Bus:tty44
PM: Adding info for No Bus:tty45
PM: Adding info for No Bus:tty46
PM: Adding info for No Bus:tty47
PM: Adding info for No Bus:tty48
PM: Adding info for No Bus:tty49
PM: Adding info for No Bus:tty50
PM: Adding info for No Bus:tty51
PM: Adding info for No Bus:tty52
PM: Adding info for No Bus:tty53
PM: Adding info for No Bus:tty54
PM: Adding info for No Bus:tty55
PM: Adding info for No Bus:tty56
PM: Adding info for No Bus:tty57
PM: Adding info for No Bus:tty58
PM: Adding info for No Bus:tty59
PM: Adding info for No Bus:tty60
PM: Adding info for No Bus:tty61
PM: Adding info for No Bus:tty62
PM: Adding info for No Bus:tty63
PM: Adding info for No Bus:rtc
Real Time Clock Driver v1.12ac
PM: Adding info for No Bus:hpethpet_resources: 0xfecff000 is busy
Linux agpgart interface v0.102 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
PM: Adding info for platform:serial8250
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
PM: Adding info for No Bus:ttyS0
erial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
PM: Adding info for No Bus:ttyS1
PM: Adding info for No Bus:ttyS2
PM: Adding info for No Bus:ttyS3
PM: Removing info for No Bus:ttyS0
00:02: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
PM: Adding info for No Bus:ttyS0
PM: Removing info for No Bus:ttyS1
00:03: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
PM: Adding info for No Bus:ttyS1
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
tg3.c:v3.74 (February 20, 2007)
ACPI: PCI Interrupt 0000:02:01.0[A] -> GSI 24 (level, low) -> IRQ 24
PM: Adding info for No Bus:eth0
eth0: Tigon3 [partno(BCM95704A41) rev 2100 PHY(serdes)] (PCIX:100MHz:64-bit) 1000Base-SX Ethernet 00:11:25:75:af:6e
eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[1] Split[0] WireSpeed[0] TSOcap[0] eth0: dma_rwctrl[769f4000] dma_mask[64-bit]
ACPI: PCI Interrupt 0000:02:01.1[B] -> GSI 25 (level, low) -> IRQ 25
PM: Adding info for No Bus:eth1
eth1: Tigon3 [partno(BCM95704A41) rev 2100 PHY(serdes)] (PCIX:100MHz:64-bit) 1000Base-SX Ethernet 00:11:25:75:af:6f
eth1: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] Split[0] WireSpeed[0] TSOcap[1] eth1: dma_rwctrl[769f4000] dma_mask[64-bit]
PM: Adding info for No Bus:lo
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
ide-floppy driver 0.99.newide
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Fusion MPT SPI Host driver 3.04.04
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 26 (level, low) -> IRQ 26
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
scsi0 : ioc0: LSI53C1030, FwRev=01032700h, Ports=1, MaxQ=222, IRQ=26
PM: Adding info for No Bus:host0
PM: Adding info for No Bus:target0:0:0
scsi 0:0:0:0: Direct-Access IBM-ESXS ST973401LC FN B41D PQ: 0 ANSI: 4
target0:0:0: Beginning Domain Validation
target0:0:0: Ending Domain Validation
target0:0:0: FAST-160 WIDE SCSI 320.0 MB/s DT IU RTI WRFLOW PCOMP (6.25 ns, offset 63)
PM: Adding info for scsi:0:0:0:0
SCSI device sda: 143374000 512-byte hdwr sectors (73407 MB)
sda: Write Protect is off
sda: Mode Sense: b3 00 10 08
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
SCSI device sda: 143374000 512-byte hdwr sectors (73407 MB)
sda: Write Protect is off
sda: Mode Sense: b3 00 10 08
SCSI device sda: write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
PM: Adding info for No Bus:target0:0:1
PM: Removing info for No Bus:target0:0:1
PM: Adding info for No Bus:target0:0:2
PM: Removing info for No Bus:target0:0:2
PM: Adding info for No Bus:target0:0:3
PM: Removing info for No Bus:target0:0:3
PM: Adding info for No Bus:target0:0:4
PM: Removing info for No Bus:target0:0:4
PM: Adding info for No Bus:target0:0:5
PM: Removing info for No Bus:target0:0:5
PM: Adding info for No Bus:target0:0:6
PM: Removing info for No Bus:target0:0:6
PM: Adding info for No Bus:target0:0:8
PM: Removing info for No Bus:target0:0:8
PM: Adding info for No Bus:target0:0:9
PM: Removing info for No Bus:target0:0:9
PM: Adding info for No Bus:target0:0:10
PM: Removing info for No Bus:target0:0:10
PM: Adding info for No Bus:target0:0:11
PM: Removing info for No Bus:target0:0:11
PM: Adding info for No Bus:target0:0:12
PM: Removing info for No Bus:target0:0:12
PM: Adding info for No Bus:target0:0:13
PM: Removing info for No Bus:target0:0:13
PM: Adding info for No Bus:target0:0:14
PM: Removing info for No Bus:target0:0:14
PM: Adding info for No Bus:target0:0:15
PM: Removing info for No Bus:target0:0:15
PM: Adding info for No Bus:target0:1:0
PM: Removing info for No Bus:target0:1:0
PM: Adding info for No Bus:target0:1:1
PM: Removing info for No Bus:target0:1:1
PM: Adding info for No Bus:target0:1:2
PM: Removing info for No Bus:target0:1:2
PM: Adding info for No Bus:target0:1:3
PM: Removing info for No Bus:target0:1:3
PM: Adding info for No Bus:target0:1:4
PM: Removing info for No Bus:target0:1:4
PM: Adding info for No Bus:target0:1:5
PM: Removing info for No Bus:target0:1:5
PM: Adding info for No Bus:target0:1:6
PM: Removing info for No Bus:target0:1:6
PM: Adding info for No Bus:target0:1:8
PM: Removing info for No Bus:target0:1:8
PM: Adding info for No Bus:target0:1:9
PM: Removing info for No Bus:target0:1:9
PM: Adding info for No Bus:target0:1:10
PM: Removing info for No Bus:target0:1:10
PM: Adding info for No Bus:target0:1:11
PM: Removing info for No Bus:target0:1:11
PM: Adding info for No Bus:target0:1:12
PM: Removing info for No Bus:target0:1:12
PM: Adding info for No Bus:target0:1:13
PM: Removing info for No Bus:target0:1:13
PM: Adding info for No Bus:target0:1:14
PM: Removing info for No Bus:target0:1:14
PM: Adding info for No Bus:target0:1:15
PM: Removing info for No Bus:target0:1:15
Fusion MPT FC Host driver 3.04.04
Fusion MPT SAS Host driver 3.04.04
Fusion MPT misc device (ioctl) driver 3.04.04
PM: Adding info for No Bus:mptctl
mptctl: Registered with Fusion MPT base driver
mptctl: /dev/mptctl @ (major,minor=10,220)
Fusion MPT LAN driver 3.04.04
mptlan: ioc0: PortNum=0, ProtocolFlags=08h (Itlb)
mptlan: ioc0: Hmmm... LAN protocol seems to be disabled on this adapter port!ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt 0000:01:00.0[D] -> GSI 19 (level, low) -> IRQ 19ohci_hcd 0000:01:00.0: OHCI Host Controllerohci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1ohci_hcd 0000:01:00.0: irq 19, io mem 0xfeaff000
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.21-rc2-mm2-autokern1 ohci_hcd
usb usb1: SerialNumber: 0000:01:00.0
PM: Adding info for usb:usb1
PM: Adding info for No Bus:usbdev1.1_ep00
usb usb1: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-0:1.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
PM: Adding info for No Bus:usbdev1.1_ep81
PM: Adding info for No Bus:usbdev1.1
ACPI: PCI Interrupt 0000:01:00.1[D] -> GSI 19 (level, low) -> IRQ 19ohci_hcd 0000:01:00.1: OHCI Host Controllerohci_hcd 0000:01:00.1: new USB bus registered, assigned bus number 2ohci_hcd 0000:01:00.1: irq 19, io mem 0xfeafe000
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.21-rc2-mm2-autokern1 ohci_hcd
usb usb2: SerialNumber: 0000:01:00.1
PM: Adding info for usb:usb2
PM: Adding info for No Bus:usbdev2.1_ep00
usb usb2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-0:1.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
PM: Adding info for No Bus:usbdev2.1_ep81
PM: Adding info for No Bus:usbdev2.1
USB Universal Host Controller Interface driver v3.0
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhiddrivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
PM: Adding info for platform:i8042
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
PM: Adding info for serio:serio0
PM: Adding info for serio:serio1
mice: PS/2 mouse device common for all miceasync_tx: api initialized (sync-only)
xor: automatically using best checksumming function: generic_sse
generic_sse: 6105.000 MB/sec
xor: using function: generic_sse (6105.000 MB/sec)
PM: Adding info for No Bus:device-mapper
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: [email protected]
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
powernow-k8: Found 4 Dual Core AMD Opteron(tm) Processor 270 processors (version 2.00.00)
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
powernow-k8: MP systems not supported by PSB BIOS structure
Freeing unused kernel memory: 340k freed
Write protecting the kernel read-only data: 984k
Red Hat nash version 5.0.32 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Making device-mapper control node
Scanning logical volumes
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
Activating logical volumes
4 logical volume(s) in volume group "VolGroup00" now active
Creating root device.
Mounting root filesystem.
kjournald starting. Commit interval 5 seconds
Setting up otherEXT3-fs: mounted filesystem with ordered data mode.
filesystems.
Setting up new root fs
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
PM: Adding info for No Bus:vcs1
PM: Adding info for No Bus:vcsa1
PM: Removing info for No Bus:vcs1
PM: Removing info for No Bus:vcsa1
INIT: version 2.86 booting
Welcome to Fedora Core
Press 'I' to enter interactive startup.
Setting clock (localtime): Thu Mar 8 12:33:58 CST 2007 [ OK ]
Starting udev: [ OK ]
Setting hostname bl6-13.ltc.austin.ibm.com: [ OK ]
Setting up Logical Volume Management: 4 logical volume(s) in volume group "VolGroup00" now active
[ OK ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/VolGroup00/LogVol00 /dev/VolGroup00/LogVol00: clean, 363818/7929856 files, 3638923/7929856 blocks [/sbin/fsck.ext3 (1) -- /boot] fsck.ext3 -a /dev/sda1 /boot: clean, 85/512512 files, 81422/512064 blocks
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: [ OK ] Enabling local filesystem quotas: [ OK ] Enabling swap space: [ OK ] INIT: Entering runlevel: 3 Entering non-interactive startup Starting readahead_early: Starting background readahead: [ OK ] [ OK ] FATAL: Error inserting acpi_cpufreq (/lib/modules/2.6.21-rc2-mm2-autokern1/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): No such device Bringing up loopback interface: [ OK ] Bringing up interface eth1: [ OK ] Starting system logger: [ OK ] Starting kernel logger: [ OK ] Starting irqbalance: [ OK ] Starting portmap: [ OK ] Starting NFS statd: [ OK ] Starting RPC idmapd: [ OK ] Starting kdump: No kdump kernel image found.[WARNING]
Tried to locate /boot/vmlinux--kdump[ OK ]
Starting system message bus: [ OK ]
Starting Bluetooth services:[ OK ][ OK ]
Mounting other filesystems: [ OK ]
Starting hidd: [ OK ]
Starting automount: [ OK ]
Starting smartd: [ OK ]
Starting acpi daemon: [ OK ]
Starting hpiod: [ OK ]
Starting hpssd: [ OK ]
Starting cups: [ OK ]
Starting sshd: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
Starting console mouse services: [ OK ]
Starting crond: [ OK ]
Starting xfs: [ OK ]
Starting anacron: [ OK ]
Starting atd: [ OK ]
Starting Avahi daemon: general protection fault: 0000 [1] SMP last sysfs file: class/net/eth1/address
CPU 3 Modules linked in: ipv6 hidp rfcomm l2cap bluetooth sunrpc video button battery asus_acpi ac lp parport_pc parport nvram pcspkr amd_rng rng_core i2c_amd756 i2c_core
Pid: 0, comm: swapper Not tainted 2.6.21-rc2-mm2-autokern1 #1
RIP: 0010:[<ffffffff80483dbc>] [<ffffffff80483dbc>] inet_putpeer+0x10/0x53 RSP: 0018:ffff810001813ec0 EFLAGS: 00010202 RAX: ffff810001623500 RBX: e805b300000003bf RCX: ffff8100039c8438 RDX: ffff81000219c280 RSI: ffff81000104bf80 RDI: ffffffff80622970 RBP: ffff81000219c280 R08: 0000000000000003 R09: ffff810002f54100 R10: 00000000fc000106 R11: ffff8100039c83c0 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000000 R15: 0000000000000000 FS: 00002ab1c24786f0(0000) GS:ffff810001401680(0000) knlGS:0000000000000000 CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b CR2: 00002ab1c2217000 CR3: 0000000003be8000 CR4: 00000000000006e0 Process swapper (pid: 0, threadinfo ffff81000162e000, task ffff810001623500) Stack: ffff810002eb3600 ffffffff80483bfe ffff810001628000 ffff810002e88200 ffff81000219c280 ffffffff8046c03b ffff81000219c500 ffff81000104bf80 0000000000000001 ffffffff804801a8 0000000000000001 ffffffff8025d8e2 Call Trace: <IRQ> [<ffffffff80483bfe>] ipv4_dst_destroy+0x2c/0x58 [<ffffffff8046c03b>] dst_destroy+0x85/0xdf [<ffffffff804801a8>] dst_rcu_free+0x19/0x29 [<ffffffff8025d8e2>] __rcu_process_callbacks+0x122/0x18a [<ffffffff8023722b>] __do_softirq+0x55/0xc3 [<ffffffff8020acfc>] call_softirq+0x1c/0x28 [<ffffffff8020c095>] do_softirq+0x2c/0x7d [<ffffffff80218ae6>] smp_apic_timer_interrupt+0x49/0x5f [<ffffffff80208ca4>] default_idle+0x0/0x3d [<ffffffff8020a7a6>] apic_timer_interrupt+0x66/0x70 <EOI> [<ffffffff80208ccd>] default_idle+0x29/0x3d [<ffffffff80208d6c>] cpu_idle+0x8b/0xae Code: f0 ff 4b 2c 0f 94 c0 84 c0 74 2b 48 8b 05 ba eb 19 00 48 c7 RIP [<ffffffff80483dbc>] inet_putpeer+0x10/0x53 RSP <ffff810001813ec0> Kernel panic - not syncing: Aiee, killing interrupt handler!
-- 0:conmux-control -- time-stamp -- Mar/08/07 10:34:35 -- -- 0:conmux-control -- time-stamp -- Mar/08/07 10:47:37 -- (bot:conmon-payload) disconnected
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 2 lines · Mel Gorman
The results without
slub_debugwere not good except for IA64.x86_64and ppc64 both blew up for a variety of reasons. The IA64 results were
Yuck that is the dst issue that Adrian is also looking at. Likely an issue with slab merging and RCU frees.
Quoted 8 lines
KernBench Comparison
--------------------2.6.21-rc2-mm2-clean 2.6.21-rc2-mm2-slub%diff
User CPU time 1084.64 1032.93 4.77%
System CPU time 73.38 63.14 13.95%
Total CPU time 1158.02 1096.07 5.35%
Elapsed time 307.00 285.62 6.96%
Wow! The first indication that we are on the right track with this.
Quoted 2 lines
AIM9 Comparison
2page_test2097119.26 3398259.27 1301140.01 62.04% System Allocations & Pages/second
Wow! Must have all stayed within slab boundaries.
Quoted 1 line
8
link_test64776.04 7488.13 -57287.91 -88.44% Link/Unlink Pairs/second
Crap. Maybe we straddled a slab boundary here?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 3 lines · Mel Gorman
Brought up 4 CPUs
Node 0 CPUs: 0-3mm/memory.c:111: bad pudc0000000050e4480.
Lower bits must be clear right? Looks like the pud was released and then reused for a 64 byte cache or so. This is likely a freelist pointer that slub put there after allocating the page for the 64 byte cache. Then we tried to use the pud.
Quoted 13 lines
migration_cost=0,1000
*** SLUB: Redzone Inactive check fails in kmalloc-64@c0000000050de0f0 Slabc000000000756090offset=240 flags=5000000000c7 inuse=3 freelist=c0000000050de0f0 Bytes b4 c0000000050de0e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Object c0000000050de0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Object c0000000050de100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Object c0000000050de110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ Object c0000000050de120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Quoted 3 lines
................
Redzonec0000000050de130: 00 00 00 00 00 00 00 00
........ FreePointerc0000000050de138: 0000000000000000
Data overwritten after free or after slab was allocated. So this may be the same issue. pud was zapped after it was freed destroying the poison of another object in the 64 byte cache.
Hmmm.. Maybe I should put the pad checks before the object checks. That way we detect that the whole slab was corrupted and do not flag just a single object.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>