netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* prequeue still a good idea?
@ 2005-04-28 18:49 Andrew Grover
  2005-04-28 18:52 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Grover @ 2005-04-28 18:49 UTC (permalink / raw)
  To: netdev

I came across this comment from include/net/tcp.h tcp_prequeue:

/* Packet is added to VJ-style prequeue for processing in process
 * context, if a reader task is waiting. Apparently, this exciting
 * idea (VJ's mail "Re: query about TCP header on tcp-ip" of 07 Sep 93)
 * failed somewhere. Latency? Burstiness? Well, at least now we will
 * see, why it failed. 8)8)				  --ANK
 */

I'm trying to understand -- is the prequeue really not a win, and if
so, why do we still have it?

Especially with modern tcp csumming HW, its benefit is not clear to
me. The whole point of the prequeue, and calling tcp_v4_do_rcv from
user context, was to speed up *sw* csum, right?

Thanks -- Regards -- Andy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-28 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-28 18:49 prequeue still a good idea? Andrew Grover
2005-04-28 18:52 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).