X-Spam-Check-By: sourceware.org Date: Thu, 14 Jun 2007 11:55:51 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Cygwin allocted time slice Message-ID: <20070614155551.GE16423@ednor.casa1.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <017001c7ae32$49dff3c0$0600a8c0 AT ze4427wm> <20070614034243 DOT GA15091 AT ednor DOT casa1 DOT cgf DOT cx> <006a01c7ae97$7c225cf0$0600a8c0 AT ze4427wm> <467161BB DOT A157E0BC AT dessent DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <467161BB.A157E0BC@dessent.net> User-Agent: Mutt/1.5.15 (2007-04-06) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 Thu, Jun 14, 2007 at 08:41:47AM -0700, Brian Dessent wrote: >Aaron Gray wrote: > >> Weird I was getting very long compile times for GCC and on using 'time' was >> getting indications that make was only getting 25% of total system time. >> >> I'll see if it is repeatable on another system. > >Hint: Cygwin is slow. > >Emulating fork() takes a complicated dance between parent and child. A >lot of this involves one waiting for the other to complete a stage of >initialization. Thus, a Cygwin process that spawns a lot of children >does a lot of waiting. It is a price you pay for being able to compile >POSIX source unmodified on Windows. > >Also, I/O. > >Also, Cygwin is around ten years old now, and people have been >complaining that it's slow for approximately 9 years and 364 days. Actually, I've been involved with Cygwin for ten years but it is at least a couple of years older than that. So that would be a mix of: 1995: Why is cygwin so slow? Hey where do I find perl? I get "command not found"! Hey why does gcc hang sometimes? Am I missing a setting? Why is cygwin so slow? 1996: Why is cygwin so slow? Cygwin is great but I sure could use perl. Is it available? I notice that when there is a complicated bash script cygwin seems to hang or error out. I've tried reinstalling it but that takes forever. Do I need to buy more RAM? Why is cygwin so slow? 1997: Why is cygwin so slow? I found perl on an external web site but it is missing package XXX. Where do I find that? I notice that sometimes complicated bash scripts hang. Is it because I have two CPUs? Should I reinstall? I'm using Sergey Okhapkin's version of cygwin. It seems to fix my problem but it sure is slow. Is there a BIOS setting for this? 1998: B20 rocks! I wish it wasn's so slow. Should I defragment my drive? etc. cgf -- 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/