Re: [PATCH net-next v3] net: use a per task frag allocator
From: Vijay Subramanian <hidden>
Date: 2012-09-24 18:34:48
Successfully tested on various ethernet devices.
(ixgbe, igb, bnx2x, tg3, mellanox mlx4)
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <redacted>
Cc: Vijay Subramanian <redacted>
Cc: Alexander Duyck <redacted>
---
v3: net/sched/em_meta.c bit pointed out by Vijay
v2: uses existing page_frag structure to hold page/offset/size
convert linear_to_page()/__ip_append_data()/ip6_append_data()
remove @page and @off fields from struct inet_cork
move the destructor from tcp_v4_destroy_sock() to sk_common_release
With netperf (64KB send buffer) and with e1000e driver, I get 13%
improvement with v3 of this patch.
When I run netserver and netperf on separate cpus with taskset, I get
7% improvement.
Tested-by: Vijay Subramanian <redacted>
FYI, checkpatch complained about this patch with 4 lines over 80
characters (which probably be ignored I think) and one
trailing space error.
ERROR: trailing whitespace
#443: FILE: net/ipv4/raw.c:139:
+^Ipr_err("icmp_filter skb_transport_offset %d data-head %ld len %d/%d\n", $
Vijay