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

From: John Polstra <jdp_at_polstra.com>
Date: Tue, 16 Jan 2007 12:24:11 -0800 (PST)
On 16-Jan-2007 Attilio Rao wrote:
> 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

This is good stuff!  I tried your patch on a performance-critical
system that I've been working on.  Without going into a lot of detail,
it's a bunch of in-kernel code that blasts packets back and forth
between pairs of gigabit interfaces.  Userland isn't involved at
all.  Running 4 gigabit ports in this way on a Dell 1950 with 4 CPU
cores running at 3.0 GHz, I got about 4% better performance (in
terms of packets per second) using your patch.  That's a pretty good
improvement, considering that the design makes some effort to avoid
lock contention.

John
Received on Tue Jan 16 2007 - 19:34:29 UTC

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