Slow Terminal Output with SSH Protocol 2

From: Jeff D. Allen (allen@cs.dal.ca)
Date: Wed Apr 16 2003 - 12:59:29 EDT


Background:
Sun Fire 4800
Solaris 8 2/02
OpenSSH 3.5p1
OpenSSL 0.9.7

I have a user with a Java program that prints out 15000 lines of output (a few
columns of numbers). When we connect to our Sun Fire using SSH protocol
version 1 the output displays smoothly, but when we use version 2 the display
is "choppy" and pauses intermittenly. If the output is shunted to a file the
program execution time is the same regardless of the protocol version.

I also wrote a quick Perl script that produced similar output and the same
symptoms were experienced. Both programs are attached.

Is protocol version 2 inherently slower then version 1 or is there something I
don't know about? We haven't made any radical changes to the sshd
configuration.

Thanks!

-- 
--------------------------------------------------------------------
Jeff D. Allen			----------------------------------
Systems Administrator		Faculty of Computer Science
Dalhousie University		6050 University Avenue Halifax NS
Email: allen@cs.dal.ca		Web: http://www.cs.dal.ca/
------------------------------------------------------------------
import java.lang.StrictMath;
public class limit
{
	public static void main( String args[] )
	{
		for(double n = 0; n < 15000; n++)
			System.out.println( n + " " + StrictMath.pow(
				n, (double) (1/n) ) );
	}
}
[demime 0.99c.7 removed an attachment of type application/x-perl]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:12 EDT