This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygwin 1.1.2 - slow execution of each command


--- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]