[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <063D6719AE5E284EB5DD2968C1650D6D0F6D3F7B@AcuExch.aculab.com>
Date: Thu, 6 Mar 2014 15:03:11 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'John Heffner' <johnwheffner@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: Can I limit the number of active tx per TCP socket?
From: John Heffner
> On Thu, Mar 6, 2014 at 7:28 AM, David Laight <David.Laight@...lab.com> wrote:
> > Is it possible to stop a TCP connection having more than one
> > tx skb (in the ethernet tx ring) at any one time?
> > The idea is to allow time for short sends from the application
> > to accumulate so that the transmitted frames are longer.
>
> Is TCP_CORK what you're looking for?
No - TCP_CORK requires that you know you have more data to send.
In which case you are better off saving the system calls and
sending it with sendv() or writev().
I may well write the code to sit on the data for up to a ms
before sending it. The data is sent out on a 64k line so
1ms is only 8 byte times.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists