per-cpu slab

From: Manfred Spraul (manfred@colorfullife.com)
Date: Sun Jun 11 2000 - 16:12:39 EST


I've uploaded a new version:

http://colorfullife.com/~manfred/slab/patch-slab-cpu-G

Changes:
* critical bug fix: a wrong goto caused rare lockups (SMP) under high
load.
* cleaned up statistic counters. Are there any programs that parse
"/proc/slabinfo"? It's still one line per cache, but most values have
changed.
* per-cpu caches are now tunable.

# echo "size-2048 1022 100" > /proc/slabinfo
                   (1) (2)
(1) len of the per-cpu array
(2) number of entries that are freed/allocated when the per-cpu array
overflows.

#echo "size-4096 0 0" > /proc/slabinfo

disables the per-cpu arrays for 4096 byte kmalloc's.

--
	Manfred

P.S.: I renamed myself from manfreds to manfred and forgot to add an apache rule. 5 or 6 developers tried to download the last version before I noticed the problem. Sorry.

- 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/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:23 EST