Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2000 21:54:27 -0400 (EDT)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        Archie Cobbs <archie@whistle.com>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   sub-optimal tcp_ouput() performance in the face of ENOBUFS
Message-ID:  <200007280154.VAA19214@khavrinen.lcs.mit.edu>
In-Reply-To: <200007272138.OAA11016@bubba.whistle.com>
References:  <200007272138.OAA11016@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 27 Jul 2000 14:38:18 -0700 (PDT), Archie Cobbs <archie@whistle.com> said:

> Consider an output interface whose transmit queue is full.
> tcp_output() calls ip_output(), and it will return ENOBUFS.
> Here's where this is handled (tcp_output, line 863):

[snip snip]

> The result is that even though TCP "knows" that the packet was
> lost, it fails to retransmit the data in the lost packet with the
> next packet output, instead skipping to the next chunk of data when
> it sends the next packet.

I think your analysis is correct, although I haven't thought through
the ramifications of the change you suggest.

-GAWollman

--
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
wollman@lcs.mit.edu  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA|                     - Susan Aglukark and Chad Irschick


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007280154.VAA19214>