| From: |
| Ravikiran G Thirumalai <kiran@scalex86.org> |
| To: |
| Andrew Morton <akpm@osdl.org> |
| Subject: |
| [patch 0/4] net: Percpufy frequently used variables on struct proto |
| Date: |
| Thu, 26 Jan 2006 10:56:49 -0800 |
| Cc: |
| davem@davemloft.net, linux-kernel@vger.kernel.org,
shai@scalex86.org, netdev@vger.kernel.org, pravins@calsoftinc.com |
The following patches change struct proto.memory_allocated,
proto.sockets_allocated to use per-cpu counters. This patchset also switches
the proto.inuse percpu varible to use alloc_percpu, instead of NR_CPUS *
cacheline size padding.
We saw 5 % improvement in apache bench requests per second with this
patchset, on a multi nic 8 way 3.3 GHZ IBM x460 Xeon server.
Patches follow.
Thanks,
Kiran