X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=OBJPpcv0rzjjip43 6vABRDkuk0bsDmjlwfsdH3mwI2FLiGB3aedNyi1b/K2K3sZwaxxAq+IEUE0BmkmK Fd2cYzp+ZJcAlBRFwPztfZsxzIQN1O1IQnCFzGQdkZbGaOYV6r6th5PGeRTMGFpK 3fableTA2OQhdrXh2oscMhTeWog= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=w/XUPDf2HljzG1j+i3Q9pX xKQXA=; b=q9S7nJ80xCisI+SVh4N1ADYlqAZDlFgOf8EYNQl39qTq0kc9AwCHPG rdGzwJubTGcPucCDdBg80zni9DP/Sibyh3ZBvosxPLfhcGQbnGGpey/SmraarkTT xpkkqxi15qans6Ma7UkXp7smbYcDOEPy6Snm+LrWYHi12wPIHYlYE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: knockando.watchfront.net.uk Subject: Re: Bash / cygwin process spawning (?) performance very slow To: cygwin AT cygwin DOT com References: <560431B5 DOT 5040203 AT null DOT net> From: Cliff Hones Message-ID: <5604342B.9010201@hones.org.uk> Date: Thu, 24 Sep 2015 18:34:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560431B5.5040203@null.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) (knockando.watchfront.net.uk) X-Spam-Report: knockando.watchfront.net.uk has scanned this email for spam. Results:- RP_MATCHES_RCVD=0.001 (total 0.0, current threshold 5.0) X-IsSubscribed: yes On 24/09/2015 18:24, litter AT null DOT net wrote: >> On 24/09/2015 11:57, litter AT null DOT net wrote: >>> Obviously something is. The FAQ entry does not mention performance, but real failures. >>> How to further diagnose this? > > I took the plunge and spent almost a full day trying to find the cause. > > 1. Booting into Safe Mode gave a huge performance boost > 2. By eliminating all services and programs in Normal Mode, one-by-one, I found the offender: > > turns out that Comodo Firewall (Free version) loads a DLL in each process that is the cause of the delay. > Although I only use the Firewall, and do not use any "AntiVirus" features, still it causes delay during startup of a process. > > However, after disabling it -- which did speed up process spawning in Bash -- I encountered the other problem I already had much more often. > For now I consider the issue of slow spawning to be solved > (although it would have been nice if there was an easier way to diagnose it, maybe with tracing?) Comodo firewall pro is listed in https://cygwin.com/faq/faq.html#faq.using.bloda. Looks as if the free version should be listed too. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple