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

--- Christopher Jones <cbjones@nortelnetworks.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@yahoo.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@sourceware.cygnus.com

