Re: 2.6.15-rc5-rt2 slowness

From: Steven Rostedt
Date: Tue Dec 20 2005 - 10:24:56 EST



On Tue, 20 Dec 2005, Ingo Molnar wrote:
>
> * Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
>
> > As you see, the new SLOB code runs almost as fast as the SLAB code.
> > With some more improvements, I'm sure it can get even faster.
>
> cool, the numbers are really impressive! I'm wondering where the biggest
> hit comes from - perhaps the SLOB does linear list walking when
> allocating?
>

Yeah, I think that is the biggest hit. The SLOB does the old K&R memory
management. Basically, right from the book. But it is slow and can
fragment very easily.

I have a little more to do on this patch, (I don't perform the correct
cleanup on kmem_cache_destroy), but I'll send it to you anyway within
the next couple of minutes. Just so you can take a look and try it out.

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