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

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-Info: This message was accepted for relay by
smtp03.mrf.mail.rcn.net as the sender used SMTP authentication
X-Trace: UmFuZG9tSVZqpfXbGc/3x5jqf54mA6eoTm1799I5Z3T1IQKeoFaigS6s/lHt3XYy
Message-ID: <3EF26B27.1020203@cygwin.com>
Date: Thu, 19 Jun 2003 22:02:15 -0400
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Brian Dessent <brian AT dessent DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: stderr outputs veerrrryyy slowly
References: <3EF099C8 DOT 8FDEC855 AT dessent DOT net> <3EF09ED6 DOT F4943C46 AT dessent DOT net> <3EF0B792 DOT 40204 AT cygwin DOT com> <3EF0BFA2 DOT 99CCC92A AT dessent DOT net>
In-Reply-To: <3EF0BFA2.99CCC92A@dessent.net>

Brian Dessent wrote:

> Larry Hall wrote:
> 
> 
>>Nope. :-)
>>
>>Works for me fine either way.  Perhaps providing information
>>requested by <http://cygwin.com/problems.html> will shed some light.
>>Perhaps not.
>>
>>You could try it with strace and post the results too.
> 
> 
> Ok, attached should be the cygcheck -srv output.  Also, the strace log
> for running "tidy" on a html file is at
> <http://www.dessent.net/tmp/strace.txt>  It's pretty big, about 17000
> lines.  Of interest are two things:
> 
> Running it under strace fixes the problem (!!) more or less.  The output
> is much faster, although not quite as fast as you would expect for
> console output:
> 
> time strace -o strace.out tidy -o foo test.html
> ...
> real    0m4.640s
> user    0m0.010s
> sys     0m0.020s
> 
> time tidy -o foo test.html
> ...
> real    0m39.301s
> user    0m0.070s
> sys     0m0.020s
> 


OK, I have been able to reproduce this to some extent.  I'm using
'curl -o /dev/null http://www.google.com' which times in at about
1.5 to 2 seconds with 'tty' and about .5 seconds without.  I don't
have any additional data at this point but I thought I'd "chime in"
with a "me too", since I know that's what this list is all about. ;-)
Actually, I wanted to let Brian and any others know that this
doesn't appear to be specific to their configuration.  If I find out
more, I'll report back.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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