delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/01/13:27:39

X-Spam-Check-By: sourceware.org
Date: Fri, 1 Sep 2006 10:20:38 -0700
From: clayne AT anodized DOT com
To: cygwin AT cygwin DOT com
Subject: Re: cygwin fork()
Message-ID: <20060901172038.GD30633@ns1.anodized.com>
References: <20060901100138 DOT GA7444 AT ns1 DOT anodized DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0609011023420 DOT 13719 AT access1 DOT cims DOT nyu DOT edu> <20060901153709 DOT GC7663 AT ns1 DOT anodized DOT com> <20060901155403 DOT GE5926 AT trixie DOT casa DOT cgf DOT cx> <20060901160911 DOT GA30633 AT ns1 DOT anodized DOT com> <20060901163415 DOT GB30633 AT ns1 DOT anodized DOT com> <20060901170451 DOT GC30633 AT ns1 DOT anodized DOT com>
Mime-Version: 1.0
In-Reply-To: <20060901170451.GC30633@ns1.anodized.com>
User-Agent: Mutt/1.5.11
X-Assp-Spam-Prob: 0.00000
X-Assp-Whitelisted: Yes
X-Assp-Envelope-From: clayne AT ns1 DOT anodized DOT com
X-Assp-Intended-For: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Sep 01, 2006 at 10:04:51AM -0700, clayne AT anodized DOT com wrote:
> I've since removed the setmode() calls within a bash build and am testing now.
> 
> UPDATE:
> SOLVED.
> 
> Filemon now shows bash reading in 8k chunks. There is now no 3 second delay on
> reading the rest of the bash script (which I evidenced earlier as well).

I also changed the input buffer size to be 32768, as opposed to 8192, and
additionally enabled mmap() (since bash source had a stone age define in there
indicating cygwin did not support mmap()).

New 'make -j8':

real    0m16.806s
user    0m6.458s
sys     0m13.328s

vs.

44 seconds previously.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019