Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

From: Attilio Rao <attilio_at_freebsd.org>
Date: Tue, 16 Jan 2007 19:39:29 +0100
2007/1/16, Julian Elischer <julian_at_elischer.org>:
> Attilio Rao wrote:
> > 2006/7/28, Attilio Rao <attilio_at_freebsd.org>:
> >>
> >> After some thinking, I think it's better using init/fini methods
> >> (since they hide the sizeof(struct turnstile) with size parameter).
> >>
> >> Feedbacks and comments are welcome:
> >> http://users.gufi.org/~rookie/works/patches/uma_sync_init.diff
> >
> > [CC'ed all the interested people]
> >
> > Even if a long time is passed I did some benchmarks based on ebizzy tool.
> > This program claims to reproduce a real httpd server behaviour and is
> > used into the Linux world for benchmarks, AFAIK.
> > I think that results of the comparison on this patch is very
> > interesting, and I think it worths a commit :)
> > I think that results can be even better on a Xeon machine (I had no
> > chance to reproduce this on some of these).
> > (Results taken in consideration have been measured after some starts,
> > in order to minimize caching differences).
> >
> > The patch:
> > http://users.gufi.org/~rookie/works/patches/ts-sq/ts-sq.diff
> >
> > The benchmark results:
> > http://users.gufi.org/~rookie/works/patches/ts-sq/ts-sq.benchmark
>
> those are very big differences!
> what does the benchmark actually measure?

just time ./ebizzy (which create a lot of contention inside the kernel).

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein
Received on Tue Jan 16 2007 - 17:39:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC