From owner-freebsd-hackers Fri Nov 30 18:26:48 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from h187n2fls4o804.telia.com (h187n2fls4o804.telia.com [213.65.247.187]) by hub.freebsd.org (Postfix) with SMTP id 010F937B405 for ; Fri, 30 Nov 2001 18:26:45 -0800 (PST) Received: (qmail 18920 invoked by uid 1003); 1 Dec 2001 02:26:22 -0000 Date: Sat, 1 Dec 2001 03:26:22 +0100 From: Tomas Svensson To: Josef Karthauser Cc: freebsd-hackers@FreeBSD.ORG Subject: SSH stalls (was: FreeBSD performing worse than Linux?) Message-ID: <20011201032622.A18737@simba.systemteknik.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG JK> Is this the same problem that I experience on ssh connections between JK> my 5.0-current laptop and my releng_4 server? When I run an 'ls' JK> from the shell on large directories I get the response back block JK> delay block delay block. I assumed that it was a problem with JK> -current. I am quite sure that this is a problem introduced in OpenSSH v2.5 or earlier. When I upgraded a FreeBSD 4.2 box from OpenSSH v2.2.0 to a newer version (I don't remember exactly which one now) I noticed this stalling which had never appeared before. If I used SSH Inc ssh-2.4 there was no stalling. It's not FreeBSD-specific either: I am trying this now on a NetBSD 1.5.1 that has OpenSSH v2.5.2 and if I do ten ls -l as fast as I can, I get 14 retransmitted packets and stalling. If I try the same with SSH Inc ssh-3.0.0 I get no retransmitted packets. Strangely enough I get no stalling on either sshd if I cat a 3 megabyte text... -Tomas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message