[LWN Logo]
[Timeline]
Date:	Thu, 08 Jun 2000 20:22:18 +0200
From:	Manfred Spraul <manfreds@colorfullife.com>
To:	linux-kernel@vger.rutgers.edu
Subject: [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/