netdev
[Top] [All Lists]

Re: design for TSO performance fix

To: Andi Kleen <ak@xxxxxx>
Subject: Re: design for TSO performance fix
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 11:30:28 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <m1zmyu2hot.fsf@xxxxxx>
References: <20050127163146.33b01e95.davem@xxxxxxxxxxxxx> <m1zmyu2hot.fsf@xxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 28 Jan 2005 07:25:54 +0100
Andi Kleen <ak@xxxxxx> wrote:

> Currently tcp_sendmsg will always push the first packet when the send_head
> is empty way down to hard_queue_xmit, and then queue up some others
> and then finally push them out. You would always miss the first
> one with that right? (assuming MTU sized packets)

We could make push_pending_frames defer if we're doing TSO
and might potentially be building suck frames.

It's just a detail, the main idea is what counts which is
to keep all the TSO packets out of the view of most of the
stack which is where all the complexity came from.

<Prev in Thread] Current Thread [Next in Thread>