X-Recipient: archive-cygwin@delorie.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=PYJam2uWxC3GH5d0
	ghM0RxbP9Rku+itqWUCnYfLZ38gcw1n4OzbPhROi4es6VA1FRkAMqUGDto04joxC
	5pgQgfygybKkGQCK+EBp0qNB20LcoIfCwLS9b7r6BejDm3d9RIzTwEKCuFlhag5M
	oucicDSW1iHg4nc5kpg4eSmdB94=
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=iMpCz/LFtD0IgowvMuajvz
	di8xI=; b=C0cwJzlvbNnW43324bcPd+qcoIYqNUyF/Ewvn+32umDVl4ksgahy/e
	6s4BObbZBpvgmHKet0mvNcwaH0T+5HCxPVi1iZXaFPdHXnyDoSZTsHGM9GkZ3b6N
	AumQ7/i83nwqTfmi99cL3riiwzEd1NhVxCi1nPU+9iNQkUxvQZowk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-wi0-f182.google.com
X-Received: by 10.194.246.102 with SMTP id xv6mr1332548wjc.58.1443120285065;        Thu, 24 Sep 2015 11:44:45 -0700 (PDT)
Subject: Re: Bash / cygwin process spawning (?) performance very slow
To: cygwin@cygwin.com
References: <5603CEC3.5080607@gmail.com> <560431B5.5040203@null.net> <CAD8GWsvMUVZT89CZFQovoUGOJY0fnGH6BUE-Wf68k3sMtW6wrw@mail.gmail.com>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <56044496.2010706@gmail.com>
Date: Thu, 24 Sep 2015 20:44:38 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <CAD8GWsvMUVZT89CZFQovoUGOJY0fnGH6BUE-Wf68k3sMtW6wrw@mail.gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 24/09/2015 19:46, Lee wrote:
> On 9/24/15, litter wrote:
>>> On 24/09/2015 11:57, litter 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.
>      ... snip ...
>> turns out that Comodo Firewall (Free version) loads a DLL in each process
>> that is the cause of the delay.
>      ... snip ...
>> (although it would have been nice if there was an easier way to diagnose it,
>> maybe with tracing?)

Tracing may report it as at process load is reporting
the loaded dll's

--- Process 7380 loaded C:\Windows\System32\ntdll.dll at 0000000077360000
--- Process 7380 loaded C:\Windows\System32\kernel32.dll at 0000000077240000
--- Process 7380 loaded C:\Windows\System32\KernelBase.dll at 
000007FEFDB20000
--- Process 7380 loaded C:\Windows\System32\sysfer.dll at 0000000074B40000
--- Process 7380 loaded E:\cygwin64\bin\cygwin1.dll at 0000000180040000
--- Process 7380 loaded E:\cygwin64\bin\cygiconv-2.dll at 00000003C2700000
--- Process 7380 loaded E:\cygwin64\bin\cygintl-8.dll at 00000003BEC90000
--- Process 7380 loaded E:\cygwin64\bin\cygncursesw-10.dll at 
00000003BD880000
--- Process 7380 loaded E:\cygwin64\bin\cygreadline7.dll at 00000003B5FD0000
--- Process 7380 loaded C:\Windows\System32\user32.dll at 0000000076C60000
--- Process 7380 loaded C:\Windows\System32\gdi32.dll at 000007FEFEBE0000
--- Process 7380 loaded C:\Windows\System32\lpk.dll at 000007FEFF3C0000
--- Process 7380 loaded C:\Windows\System32\usp10.dll at 000007FEFF500000
--- Process 7380 loaded C:\Windows\System32\msvcrt.dll at 000007FEFF5D0000


> If you use http://www.dependencywalker.com/ on bash.exe with view/full
> paths enabled, does the Comodo Firewall dll stand out or is it just
> another .dll loaded from windows\system32?

unlikely to appear as it is not a dependency but an injected dll

>
> Regards,
> Lee

--
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

