delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/06/15:15:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <20001006191433.5631.qmail@web106.yahoomail.com>
Date: Fri, 6 Oct 2000 12:14:33 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Subject: Re: make[5]: execvp: C:/Cygwin/bin/bash.exe: No more processes
To: cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0

--- Chris Faylor <cgf AT cygnus DOT com> wrote:
> On Fri, Oct 06, 2000 at 10:14:29AM -0700, Earnie Boyd wrote:
> >--- Chris Faylor <cgf AT cygnus DOT com> wrote:
> >> 
> >> That's a shame.  It's likely that there will be problems in the next
> release
> >> if no one tests the snapshots.
> >> 
> >
> >And a lot of work has been done to improve Cygwin.  I'm currently using a
> the
> >most recent snapshots with no problem.  It also feels faster, I can display
> a
> >colorized long listing of the /usr/bin directory upon a fresh start of
> Cygwin
> >in ~3.6 seconds with the process getting only 10 - 11 percent of the CPU. 
> Due
> >to some brilliant path caching a subsequent issue of the same command will
> >finish in ~1.8 seconds.
> 
> It would be interesting to see if you notice any speed improvements by
> mounting
> any directory containing cygwin executables with the '-X' option.  This
> informs
> the cygwin1.dll v1.1.5 that it can pass arguments around using UNIX
> conventions
> for argv and the environment.  So, it doesn't have to spend time quoting
> arguments
> or munging environment variables.
> 

Interesting.  ~1.6 seconds initial ~1.8 - ~2.1 seconds subsequent.  I then
tried other directories and those than didn't contain symlinks were equal in
timing with initial and subsequent.  I have some directories that contain only
symlinks and the difference between initial and subsequent is roughly 2 to 1.

> For directories containing non-cygwin executables, mounting using the '-x'
> option
> should also cause a slight increase.  That would stop cygwin from opening
> file
> to look for a '#!' in the case of non .exe files.  This is also the case for
> '-X'
> mounted directories, of course.
> 
> The '-x' option actually should work for 1.1.4, too.
> 
> Also, check out the 'ps -W' command.  It lists all processes rather than just
> Cygwin processes.
> 

Nice.  It's obvious which are and which aren't Cygwin processes.  Now, if I
could only use the kill command on the Non-Cygwin process.

> Now, if only it all worked on NT 3.5... :-(
> 

It did once upon a time. ;)

Cheers,

=====
Earnie Boyd
mailto:earnie_boyd AT yahoo DOT com

---         <http://earniesystems.safeshopper.com>         ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
---   Minimalist GNU for Windows <http://www.mingw.org/>   ---

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.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