>
> Yes, I can attest to this an I belive it is actually the case on both
> -current and -releng4 that disabling newreno improves TCP performance.
>
> I belive running an X11 application or scp(1) over a wavelan is a very
> good test-bed for this issue.
>
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
I find this patch also improves performance of SSH on most network
media. Why so many applications go to the trouble to disable
Nagle's algorithm is beyond me. I suspect the socket option has
too seductive of a name.
louie
Index: packet.c
===================================================================
RCS file: /a/cvs/src/crypto/openssh/packet.c,v
retrieving revision 1.1.1.1.2.4
diff -u -r1.1.1.1.2.4 packet.c
--- packet.c 28 Sep 2001 01:33:34 -0000 1.1.1.1.2.4
+++ packet.c 2 Apr 2002 18:26:41 -0000
@@ -1281,9 +1281,11 @@
error("setsockopt IPTOS_LOWDELAY: %.100s",
strerror(errno));
}
+#if 0
if (setsockopt(connection_in, IPPROTO_TCP, TCP_NODELAY, (void *) &on,
sizeof(on)) < 0)
error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
+#endif
} else if (packet_connection_is_ipv4()) {
/*
* Set IP options for a non-interactive connection. Use
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message