Date: Tue, 16 Jan 2007 17:51:03 +0100 From: "Attilio Rao" <attilio@freebsd.org> To: "John Baldwin" <jhb@freebsd.org> Cc: Kip Macy <kip.macy@gmail.com>, freebsd-current@freebsd.org, Suleiman Souhlal <ssouhlal@freebsd.org>, Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-arch@freebsd.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs Message-ID: <3bbf2fe10701160851r79b04464m2cbdbb7f644b22b6@mail.gmail.com> In-Reply-To: <3bbf2fe10607281004o6727e976h19ee7e054876f914@mail.gmail.com> References: <3bbf2fe10607250813w8ff9e34pc505bf290e71758@mail.gmail.com> <3bbf2fe10607250814m1a476f09p2d962dedc0c99be1@mail.gmail.com> <200607251232.51230.jhb@freebsd.org> <3bbf2fe10607251004wf94e238xb5ea7a31c973817f@mail.gmail.com> <3bbf2fe10607261127p3f01a6c3w80027754f7d4e594@mail.gmail.com> <3bbf2fe10607281004o6727e976h19ee7e054876f914@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2006/7/28, Attilio Rao <attilio@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 The kernel options file: http://users.gufi.org/~rookie/works/patches/ts-sq/CURRENT For any information, comment, etc. please feel free to contact me. Attilio -- Peace can only be achieved by understanding - A. Einstein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe10701160851r79b04464m2cbdbb7f644b22b6>