X-Spam-Check-By: sourceware.org Date: Fri, 1 Sep 2006 10:33:47 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: clayne AT anodized DOT com cc: cygwin AT cygwin DOT com Subject: Re: cygwin fork() In-Reply-To: <20060901100138.GA7444@ns1.anodized.com> Message-ID: References: <20060901100138 DOT GA7444 AT ns1 DOT anodized DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk 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 Fri, 1 Sep 2006, clayne wrote: > Is it just me or is cygwin fork(), or a support syscall underneath, > terribly slow for some reason? While building projects using libtool > (which using heavy sh, hence fork() calls) I regularly have to fire off > 'make -j16's just to get around waiting ages when using a single make job. While Cygwin is an *emulation* layer, and emulation is inherently slower than straight execution, there are other potential reasons for the slowness. Check your anti-virus and firewall software settings. If possible, exclude the Cygwin filesystem from checking by those tools... Even little things (like making the tool aware of the often-used Cygwin programs and telling it to not check "outbound email messages" (!) sent by those programs) can help speed up Cygwin... A one-sentence rant: even with those changes, whenever I run a Cygwin shell script, the stupid vsmon process takes up 100% of the CPU. No known solution. Sigh... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/