Re: [patch 09/10] Remove the SLOB allocator for 2.6.23

From: Nick Piggin
Date: Tue Jul 10 2007 - 04:27:36 EST


Pekka J Enberg wrote:

Curious, /proc/meminfo immediately after boot shows:

SLUB (debugging enabled):

(none):~# cat /proc/meminfo MemTotal: 30260 kB
MemFree: 22096 kB

SLUB (debugging disabled):

(none):~# cat /proc/meminfo MemTotal: 30276 kB
MemFree: 22244 kB

SLOB:

(none):~# cat /proc/meminfo MemTotal: 30280 kB
MemFree: 22004 kB

That's 92 KB advantage for SLUB with debugging enabled and 240 KB when debugging is disabled.

Interesting. What kernel version are you using?


Nick, Matt, care to retest SLUB and SLOB for your setups?

I don't think there has been a significant change in the area of
memory efficiency in either since I last tested, and Christoph and
I both produced the same result.

I can't say where SLOB is losing its memory, but there are a few
places that can still be improved, so I might get keen and take
another look at it once all the improvements to both allocators
gets upstream.

--
SUSE Labs, Novell Inc.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/