This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin fork()
On Fri, Sep 01, 2006 at 10:04:51AM -0700, clayne@anodized.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/