login
Header Space

 
 

Re: [PATCH 0/10 REV5] Implement skb batching and support in IPoIB/E1000

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <hadi@...>
Cc: <krkumar2@...>, <johnpol@...>, <herbert@...>, <kaber@...>, <shemminger@...>, <jagana@...>, <Robert.Olsson@...>, <rick.jones2@...>, <xma@...>, <gaagaan@...>, <netdev@...>, <rdreier@...>, <peter.p.waskiewicz.jr@...>, <mcarlson@...>, <jeff@...>, <mchan@...>, <general@...>, <kumarkr@...>, <tgraf@...>, <randy.dunlap@...>, <sri@...>
Date: Sunday, September 16, 2007 - 11:13 pm

From: jamal <hadi@cyberus.ca>
Date: Sun, 16 Sep 2007 23:01:43 -0400


We're talking past each other, but I'm happy to hear that for
sure your code does the right thing :-)

Right now only TSO capable hardware sets the TSO capable bit,
except perhaps for the XEN netfront driver.

What Herbert and I want to do is basically turn on TSO for
devices that can't do it in hardware, and rely upon the GSO
framework to do the segmenting in software right before we
hit the device.

This only makes sense for devices which can 1) scatter-gather
and 2) checksum on transmit.  Otherwise we make too many
copies and/or passes over the data.

And we can only get the full benefit if we can pass all the
sub-segments down to the driver in one ->hard_start_xmit()
call.


UDP apps spraying data tend to naturally batch well and load balance
amongst themselves because each socket fills up to it's socket send
buffer limit, then sleeps, and we then get a stream from the next UDP
socket up to it's limit, and so on and so forth.

UDP is too easy a test case in fact :-)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 0/10 REV5] Implement skb batching and support in ..., David Miller, (Sun Sep 16, 11:13 pm)
[PATCHES] TX batching, jamal, (Sun Sep 23, 1:53 pm)
Re: [PATCHES] TX batching, Jeff Garzik, (Sun Sep 23, 2:19 pm)
Re: [PATCHES] TX batching, jamal, (Sun Sep 23, 3:11 pm)
Re: [PATCHES] TX batching, Jeff Garzik, (Mon Sep 24, 8:15 pm)
Re: [PATCHES] TX batching, Kok, Auke, (Sun Sep 23, 3:36 pm)
Re: [PATCHES] TX batching, jamal, (Sun Sep 23, 5:20 pm)
Re: [PATCHES] TX batching, Kok, Auke, (Mon Sep 24, 3:00 am)
Re: [PATCHES] TX batching, jamal, (Mon Sep 24, 6:38 pm)
Re: [PATCHES] TX batching, Kok, Auke, (Mon Sep 24, 6:52 pm)
[DOC] Net batching driver howto, jamal, (Mon Sep 24, 6:54 pm)
Re: [DOC] Net batching driver howto, Randy Dunlap, (Tue Sep 25, 4:16 pm)
Re: [DOC] Net batching driver howto, jamal, (Tue Sep 25, 6:28 pm)
[PATCHES] TX batching, jamal, (Sun Oct 7, 2:34 pm)
Re: [PATCHES] TX batching, Evgeniy Polyakov, (Mon Oct 8, 8:51 am)
Re: [PATCHES] TX batching, jamal, (Mon Oct 8, 10:05 am)
Re: [PATCHES] TX batching, Krishna Kumar2, (Tue Oct 9, 4:14 am)
Re: [PATCHES] TX batching, jamal, (Tue Oct 9, 9:25 am)
[PATCHES] TX batching, jamal, (Sun Sep 30, 2:50 pm)
Re: [PATCHES] TX batching, jamal, (Sun Sep 30, 3:19 pm)
RE: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Waskiewicz Jr, Peter P, (Mon Sep 24, 3:12 pm)
RE: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Waskiewicz Jr, Peter P, (Mon Sep 24, 6:57 pm)
RE: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Waskiewicz Jr, Peter P, (Mon Sep 24, 7:47 pm)
Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Stephen Hemminger, (Mon Sep 24, 8:14 pm)
RE: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Waskiewicz Jr, Peter P, (Mon Sep 24, 8:31 pm)
Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, Stephen Hemminger, (Tue Sep 25, 11:24 am)
Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, David Miller, (Mon Oct 8, 12:51 am)
Re: [PATCH 1/4] [NET_SCHED] explict hold dev tx lock, David Miller, (Mon Oct 8, 5:05 pm)
Re: parallel networking, David Miller, (Mon Oct 8, 5:11 pm)
Re: parallel networking, Jeff Garzik, (Mon Oct 8, 9:53 pm)
Re: parallel networking, jamal, (Mon Oct 8, 6:30 pm)
Re: parallel networking, David Miller, (Mon Oct 8, 6:33 pm)
Re: parallel networking, jamal, (Mon Oct 8, 7:42 pm)
RE: parallel networking, Waskiewicz Jr, Peter P, (Mon Oct 8, 6:35 pm)
Re: [PATCH 1/3] [NET_BATCH] Introduce batching interface, Krishna Kumar2, (Mon Oct 8, 5:59 am)
[PATCH 3/4][NET_BATCH] net core use batching, jamal, (Sun Sep 23, 2:00 pm)
[PATCH 2/3][NET_BATCH] net core use batching, jamal, (Sun Sep 30, 2:52 pm)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Patrick McHardy, (Mon Oct 1, 6:42 am)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Krishna Kumar2, (Mon Oct 8, 1:03 am)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Krishna Kumar2, (Mon Oct 8, 11:09 pm)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Bill Fink, (Mon Oct 1, 12:11 am)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Bill Fink, (Tue Oct 2, 12:25 am)
Re: [PATCH 2/3][NET_BATCH] net core use batching, Bill Fink, (Wed Oct 3, 1:29 am)
[PATCH 4/4][NET_SCHED] kill dev-&gt;gso_skb, jamal, (Sun Sep 23, 2:02 pm)
[PATCH 3/3][NET_BATCH] kill dev-&gt;gso_skb, jamal, (Sun Oct 7, 2:39 pm)
[PATCH 3/3][NET_SCHED] kill dev-&gt;gso_skb, jamal, (Sun Sep 30, 2:53 pm)
[PATCH 10/10 REV5] [E1000] Implement batching, Krishna Kumar, (Fri Sep 14, 5:04 am)
Re: [PATCH 10/10 REV5] [E1000] Implement batching, Kok, Auke, (Tue Nov 13, 5:28 pm)
Re: [PATCH 10/10 REV5] [E1000] Implement batching, Krishna Kumar2, (Wed Nov 14, 4:30 am)
Re: [PATCH 10/10 REV5] [E1000] Implement batching, Evgeniy Polyakov, (Fri Sep 14, 8:47 am)
Re: [PATCH 10/10 REV5] [E1000] Implement batching, Krishna Kumar2, (Sun Sep 16, 11:56 pm)
[PATCH 9/10 REV5] [IPoIB] Implement batching, Krishna Kumar, (Fri Sep 14, 5:04 am)
[PATCH 7/10 REV5] [IPoIB] Verbs changes, Krishna Kumar, (Fri Sep 14, 5:03 am)
[PATCH 6/10 REV5] [IPoIB] CM &amp; Multicast changes, Krishna Kumar, (Fri Sep 14, 5:03 am)
[PATCH 5/10 REV5] [IPoIB] Header file changes, Krishna Kumar, (Fri Sep 14, 5:02 am)
[PATCH 4/10 REV5] [ethtool] Add ethtool support, Krishna Kumar, (Fri Sep 14, 5:02 am)
[PATCH 1/10 REV5] [Doc] HOWTO Documentation for batching, Krishna Kumar, (Fri Sep 14, 5:01 am)
Re: [PATCH 1/10 REV5] [Doc] HOWTO Documentation for batching, Krishna Kumar2, (Mon Sep 17, 12:10 am)
speck-geostationary