Re: [PATCH] [RFC] Optimize select/poll by putting small data sets on the stack

From: Jesper Juhl
Date: Tue Jan 03 2006 - 17:21:28 EST


On 1/3/06, Andi Kleen <ak@xxxxxxx> wrote:
> This is a RFC for now. I would be interested in testing
> feedback. Patch is for 2.6.15.
>
> Optimize select and poll by a using stack space for small fd sets
>
> This brings back an old optimization from Linux 2.0. Using
> the stack is faster than kmalloc. On a Intel P4 system
[snip]

Got an easy way to benchmark this?
I'd like to test it on my box and provide some feedback, but I'd need
a way to benchmark, and if you have an easy way to do that already
figured out it would save me having to write my own :)

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/