This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: FW: trying to understand poor performance of make + cygwin on W2K


Ken,

What is the relative CPU usage as derived from the output of running your 
make under the "time" command?

I'm guessing it's very low (assuming that there are no other interfering 
processes competing for system resources).

If so, it suggests that the make command is triggering a significant number 
of file sharing probes that go unanswered and hence must time out before 
the process that caused them can continue.

Typically, this happens when string manipulation in make yields path names 
that begin with a double slash, the indicator of a UNC name under Windows 
(but just a plain old absolute path name under Unix)

--
Randall Schulz
Mountain View, CA USA


At 05:34 2002-05-01, Ken Faiczak wrote:

>I'm trying gain some performance for our build process (cygwin on win2k) 
>and have compared it to the same make on linux
>
>If I completely build our tree (about then rerun the make from the top it 
>takes 9.5 seconds on linux
>
>if I do the same test on the same machine running (machine P3-500 512MB) 
>win2k +cygwin 1.3.9 +make (3.79.1) it takes 3.5 minutes
>
>so 210 seconds versus 9 seconds. all its doing is recursing down the tree, 
>testing the dependancies and determining it has nothing to do, so its not 
>compiling anything its all make +cygwin, I think (ie no gcc invoked anywhere)
>
>any ideas on what to try? is this an issue with the cygwin fork() 
>implementation?? is this as good as it gets
>
>ken


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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