delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/22/15:36:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000622193451.2544.qmail@web122.yahoomail.com>
Date: Thu, 22 Jun 2000 12:34:51 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: cygwin 1.1.2 - slow execution of each command
To: Christopher Jones <cbjones AT nortelnetworks DOT com>,
cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Christopher Jones <cbjones AT nortelnetworks DOT com> wrote:
> [ I hope and this doesn't get sent as freakin' HTML. ]
> 

No HTML but it's mime encoded.

> Is there a way to profile a cygwin program including the time spent inside
> cygwin inself to determine why command execution takes between .70 and 1.5
> seconds for something like /usr/bin/echo, etc.?
> 

Good question, don't know the answer to this.  My observations have led me to
the fact that the Virus Scanner is getting in the way.  This is especially true
after the updates to the virus db following the infamous "I LOVE YOU" vbs
virus.    

You might want to look at an strace to see what happens with /usr/bin/echo
within the Cygwin API's.  Do `strace -o ./echo.strace /usr/bin/echo' then less
echo.strace to page through the file.

> Is CYGWIN=binmode supposed to be a global way of doing the same thing as
> mounting everything in binmode because it isn't acting like it... ?
> 

No, that controls the pipes and redirection and if your executing from a
Non-Cygwin shell the stdio fd's.  The default is binmode for these anyway.

Regards,

=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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