From owner-freebsd-stable Sat Dec 15 10:50: 1 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ldc.ro (ldc-gw.rdsnet.ro [213.157.163.8]) by hub.freebsd.org (Postfix) with SMTP id C36A837B416 for ; Sat, 15 Dec 2001 10:49:45 -0800 (PST) Received: (qmail 27889 invoked by uid 666); 15 Dec 2001 18:49:43 -0000 Date: Sat, 15 Dec 2001 20:49:43 +0200 From: Alex Popa To: Jeremy Andrews Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Speeding up ssh over modem? Message-ID: <20011215204943.A25578@ldc.ro> References: <20011214233200.A84807@ldc.ro> <20011215092006.55e9e77f.jeremy@kerneltrap.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011215092006.55e9e77f.jeremy@kerneltrap.com>; from jeremy@kerneltrap.com on Sat, Dec 15, 2001 at 09:20:06AM -0500 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Dec 15, 2001 at 09:20:06AM -0500, Jeremy Andrews wrote: > I'd drop the '-v', and add '-cblowfish' as it's a faster encryption algorithm: > > ssh -Ccblowfish -lusername > > -Jeremy > > -- > Jeremy Andrews > PGP Key ID: 8F8B617A http://www.kerneltrap.com/ I have tried that, same results. Both machines are p3/500MHz, so I do not think the encription speed is relevant here. I do have a 14.4k connection. I think this has to do more with the fact that ipfw list uses more write()s, as opposed to cat using libc's I/O buffering. I will check the source, and will probably do some ktrace on ipfw list, and the cat process. I am wondering if there is a way for sshd to check if the delay between two write()s to the terminal it creates are closer than say 5ms, and combining those on the outgoing wire, for a max of 10. This would yield a max delay of 50ms, which I think would not really be noticeable. Alex ------------+------------------------------------------ Alex Popa, | "Artificial Intelligence is razor@ldc.ro| no match for Natural Stupidity" ------------+------------------------------------------ "It took the computing power of three C-64s to fly to the Moon. It takes a 486 to run Windows 95. Something is wrong here." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message