Thread (15 messages) flat view 15 messages, 5 authors, 2003-07-14

Re: TCP IP Offloading Interface

From: David S. Miller <hidden>
Date: 2003-07-13 23:34:22
Also in: lkml

On Sun, 13 Jul 2003 16:35:03 -0700
Larry McVoy [off-list ref] wrote:
On Sun, Jul 13, 2003 at 04:02:00PM -0700, David S. Miller wrote:
quoted
On send this doesn't matter, on receive you use my clever receive
buffer handling + flow cache idea to accumulate the data portion of
packets into page sized chunks for the networking to flip.
Please don't.  I think page flipping was a bad idea.  I think you'd be 
better off to try and make the data flow up the stack in small enough 
windows that it all sits in the cache.
At 10GB/sec nothing fits in the cache :-)
One thing SGI taught me (not that they wanted to do so) is that infinitely
large packets are infinitely stupid, for lots of reasons.  One is that
you have to buffer them somewhere and another is that the bigger they 
are the bigger your cache needs to be to go fast.
The whole point is to not touch any of this data.

The idea is to push the pages directly into the page cache
of the filesystem.

I'm not talking about doing this for userspace normal sys_recvmsg()
type reads, that's an entirely different topic but if we ever did
all agree to do something like that we'd have the network level
infrastructure to do it already.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help