Linux-kernel mailing list archive 2000-23,: [PATCH] per-cpu slab

# [PATCH] per-cpu slab

Manfred Spraul (manfreds@colorfullife.com)
Thu, 08 Jun 2000 20:22:18 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Jon Mitchell: "Re: compaq ML350 (eepro100) woes w/stable kernel"
- Previous message: Petr Sebor: "2.2.16 network modules problems"
- Next in thread: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Manfred Spraul: "Re: [PATCH] per-cpu slab"
- Reply: Manfred Spraul: "Re: [PATCH] per-cpu slab"
- Reply: Momchil Velikov: "Re: [PATCH] per-cpu slab"

I've virtually finished my per-cpu slab patch.

http://colorfullife.com/~manfreds/slab/patch-slab-cpu-E

changes since patch -A:

* UP fixed
* docu updated
* minor statistics change: c_error from atomic_t to unsigned int
* fix for the DMA caches, kmalloc(GFP_DMA) works again.
* smp drain cpu cache moved, kmem_cache_destroy works again.
* proc_getdata now static

The patch is well tested, please give it a try.

I'm still interested in

* which statistics should I collect about the per-cpu arrays?
* which realistic benchmarks can I run with a 10 Mbit NE2000 network
card :-/
* ideas for further improvements.

If you want to benchmark the code: disable SLAB_DEBUG_SUPPORT &
SLAB_STATS, otherwise you'll see a huge slowdown: double free detection
is now always on, and red zoning is also enabled (SLAB_FORCED_DEBUG).

    --
    	Manfred

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Jon Mitchell: "Re: compaq ML350 (eepro100) woes w/stable kernel"
- Previous message: Petr Sebor: "2.2.16 network modules problems"
- Next in thread: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Dave Jones: "Re: [PATCH] per-cpu slab"
- Reply: Manfred Spraul: "Re: [PATCH] per-cpu slab"
- Reply: Manfred Spraul: "Re: [PATCH] per-cpu slab"
- Reply: Momchil Velikov: "Re: [PATCH] per-cpu slab"