This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin fork()
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: clayne at anodized dot com
- Cc: cygwin at cygwin dot com
- Date: Fri, 1 Sep 2006 10:33:47 -0400 (EDT)
- Subject: Re: cygwin fork()
- References: <20060901100138.GA7444@ns1.anodized.com>
- Reply-to: 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@cs.nyu.edu | igor@watson.ibm.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/