This is the mail archive of the cygwin@sources.redhat.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: Optimizing away "ReadFile" calls when Make calls stat()


jik-cygwin@curl.com wrote:
> 
> >  Date: Tue, 13 Feb 2001 14:09:48 -0500
> >  From: Earnie Boyd <earnie_boyd@yahoo.com>
> >
> >  This sounds very interesting but I believe work to eliminate TWO
> >  ReadFiles would be best; but, I don't know if this is possible.
> 

I stated this sloppy.  My intention was as you've discussed already with
Larry.

> I don't understand what you mean.  The experiment I did yesterday
> *did* eliminate both ReadFiles.  However, I don't think Make can
> eliminate both ReadFiles *by default* because Make can't assume that
> the user doesn't use any symlinks unless the user tells it to assume
> that.
> 
> >  I have found the following set of GCC flags to have great impact
> >  with the speed with wish Cygwin flies.
> 
> How gcc should be called when compiling Cygwin is an interesting
> question, but it's not the one I'm asking here.  I hope the people
> from RedHat who compile the Cygwin packages that go up on the Web
> sites consider your suggestion, though :-).
> 

You are looking for ways to "speed up execution".  I was suggesting you
try the suggested switches as another means to speed up execution.  I
can rebuild the Cygwin dll in ~10 minutes doing a `make clean && make'.

BTW, repetitive stats are already cached which can be seen by timing an
`ls /bin' repetitively.  Also, Cygwin will always be slower than Linux. 
Win32 is just slower.  It's like comparing a tortoise with a hare.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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