delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/06/19:10:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Erik Vigmostad <erik AT artselect DOT com>
Subject: Re: Terminal output from ssh much slower than putty
Date: Thu, 06 Mar 2003 18:09:39 -0600
Lines: 84
Message-ID: <3E67E343.5090905@artselect.com>
References: <3E6601B7 DOT 6050403 AT artselect DOT com> <5 DOT 2 DOT 0 DOT 9 DOT 2 DOT 20030305075603 DOT 01de2d68 AT pop3 DOT cris DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01
X-Accept-Language: en-us, en

I'm not sure how to "use RXVT" or what RXVT is!

Randall R Schulz wrote:
> Erik,
> 
> Cygwin's "terminal" I/O speed varies considerably depending on two 
> primary and independent choices: Console (Windows character subsystem) 
> vs. RXVT and CYGWIN with vs. without "tty".
> 
> In my home directory:
> 
> % find |wc -l
>    4681
> 
> % find -type d |wc -l
>     180
> 
> % find -type f |wc -l
>    4457
> 
> 
> Console w/o CYGWIN=tty:
> % time /bin/ls -lRF
> 
> real    0m17.703s
> user    0m0.733s
> sys     0m3.874s
> 
> 
> Console w/ CYGWIN=tty
> % time /bin/ls -lRF
> 
> real    0m37.150s
> user    0m0.561s
> sys     0m4.062s
> 
> 
> RXVT w/o CYGWIN=tty
> % time /bin/ls -lRF
> 
> real    0m4.964s
> user    0m0.702s
> sys     0m3.827s
> 
> 
> RXVT w/ CYGWIN=tty
> % time /bin/ls -lRF
> 
> real    0m4.864s
> user    0m0.515s
> sys     0m3.999s
> 
> 
> I made several "priming" runs before capturing this timing information.
> 
> This test emphasizes scrolling speed, I believe. I think RXVT uses an 
> algorithm that skips ahead when large volumes of output are being 
> produced. This produces faster results (with the same end product on the 
> screen--it's just the scrolling that skips ahead) but the visual 
> appearance is discernibly less "continuous" than is the console mode.
> 
> So, if raw output speed as characterized by scrolling is the issue, use 
> RXVT. If your criteria are different (say, cursor addressing as 
> characterized by Emacs, Vim or Info), then I'd do some tests on your own 
> to find out what works best for you.
> 
> Note, too, that for some applications, most notably Emacs, you _must_ 
> set the "tty" option in the CYGWIN environment variable. This maximizes 
> Unix tty compatibility. That option clearly imposes a much bigger 
> performance hit in the Windows console than in RXVT.
> 
> 
> Randall Schulz
> 
> 
> At 05:55 2003-03-05, Erik Vigmostad wrote:
> 
>> Is there some way to speedup the output to my terminal?  I would like 
>> to use cygwin for ssh'g to various servers, but it is so much slower 
>> that using putty that I can't.
> 
> 
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019