public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
To: "Marcus A Martin" <mmartin@rbd.com>, <cygwin@cygwin.com>
Subject: Re: Gmake is slow under cygwin
Date: Fri, 09 Mar 2001 09:57:00 -0000	[thread overview]
Message-ID: <4.3.1.2.20010309124648.02490e48@pop.ma.ultranet.com> (raw)
In-Reply-To: <JEEDKLJIAHHJEMMDJMOBGEBFCBAA.mmartin@rbd.com>

Check out the -x flag on mount.  It's not completely appropriate in general
but it has been noted to speed up performance by avoiding the need to open
files to check if they are executables.  On NTFS partitions, you can turn
on ntsec in the CYGWIN environment variable to get the same improvement more
appropriately.  See the user guide and the email archives in the last couple
of months that talk about both of these options, in regard to a similar issue
as a matter of fact.

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 12:47 PM 3/9/2001, Marcus A Martin wrote:
>I am writting a build environment for a large progect. We use gmake to
>compile or code on linux, SGI and windows 2k (via cygwin). While the build
>environment can do all the preprocessing before a build very quickly on the
>unix boxes, it can take up to 2 minutes on a windows box. This is a serious
>diffence.
>
>To give you an idea of what might be causing the problem, here is what our
>make system does. When you execute make, it calls a find command to find all
>the files called localdefs.mk. Each localdefs.mk file contains a list of
>source files, defines the target as a library or an application, identifies
>any exported headers, and then calls a make template. The make template
>contains the rules on how everything is built. All of the localdefs.mk files
>are processed in memory, then make begins the compilation of any file that
>needs to be built.
>
>The initial find takes 2-5 seconds but each localdefs.mk file takes 1-2
>seconds to process in memory under a cygwin/windows box.  With about 150
>libraries and applications, the time really adds up. Do you have any ideas
>as to how I can accelerate the windows performance?
>
>Thanks for the help,
>
>Marcus
>
>--------------------------------------------------------------
>A program should follow the 'Law of Least Astonishment'.
>What is this law?  It is simply that the program should
>  always respond to the user in the way that astonishes him least.
>
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple


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

  reply	other threads:[~2001-03-09  9:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-09  9:44 Marcus A Martin
2001-03-09  9:57 ` Larry Hall (RFK Partners, Inc) [this message]
2001-03-09 11:34   ` Marcus A Martin
2001-03-09 11:44     ` Larry Hall (RFK Partners, Inc)
2001-03-09 11:57       ` Chad Loder
2001-03-09 12:05         ` Marcus A Martin
2001-03-09 12:34 ` Jonathan Kamens
  -- strict thread matches above, loose matches on Subject: below --
2001-03-12 14:54 Heribert Dahms
2001-03-12 15:03 ` John Pollock
2001-03-12 14:35 John Pollock
2000-09-26 12:57 gmake " Scott Carter
2000-09-26 16:49 ` Chris Faylor
2000-09-26 20:56   ` Jeffrey Juliano
2000-09-26 21:28     ` Chris Faylor
2000-09-28  7:53       ` Jeffrey Juliano
2000-10-03  7:15       ` Fergus Henderson
2000-10-03  8:27         ` Chris Faylor
2000-09-26  6:25 Earnie Boyd
2000-09-22  7:55 Earnie Boyd
2000-09-25  2:49 ` Gabriel Zachmann
2000-09-22  2:41 Gabriel Zachmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.3.1.2.20010309124648.02490e48@pop.ma.ultranet.com \
    --to=lhall@rfk.com \
    --cc=cygwin@cygwin.com \
    --cc=mmartin@rbd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).