net: Percpufy frequently used variables on struct proto
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 34 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net: Percpufy frequently used variables -- add percpu_counter_mod_bhinclude/ | +8 | 0 replies | |
| 2/4 | net: Percpufy frequently used variables -- struct proto.memory_allocatedinclude/ include/ net/ +6 more | +32 | 1 reply | |
| 3/4 | net: Percpufy frequently used variables -- proto.sockets_allocatedinclude/ include/ net/ +5 more | +35 | 33 replies | |
| 4/4 | net: Percpufy frequently used variables -- proto.inuseinclude/ net/ net/ +4 more | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/4] net: Percpufy frequently used variables on struct proto
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