delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/09/24/13:24:25

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:to:in-reply-to:from:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=ueSoqw21WFrBqjsjorzhB85iDnK0zYQqx9FZttJ8xR1RlfT7/ucsK
eaQJNJGDQ/oxFelPJAiBeqp4daH8wjjOv6SGjdmTnqbq8nKAU4iMnbP2/0NNZ31W
84gK7uARy1npkxceflvZNDg3hYd7vn7XZFfrtCuiu/+c81qRdmNQhs=
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:to:in-reply-to:from:subject:message-id:date
:mime-version:content-type:content-transfer-encoding; s=default;
bh=B4X5N0kwlSdX4YJnx9roo0Ka510=; b=IXNG7J0q2lUe36ZyPzvQ54XB6Byr
ZUcFZ7Sjw2fFHFlhNYtU78XCgyxB0hJq9WdILRjTAK2pcur2l8RzJlwL6nht+KWc
eUVzA4t5NdD3TdTxbcyVmqIY8+jjymgTARiJmqJjl9qYivCasC94GhBtLxL53Q8j
ByWvQ8dEjkr6mYg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.com
To: cygwin AT cygwin DOT com
In-Reply-To: <5603CEC3.5080607@gmail.com>
From: litter AT null DOT net
Subject: Re: Bash / cygwin process spawning (?) performance very slow
X-Enigmail-Draft-Status: N1110
Message-ID: <560431B5.5040203@null.net>
Date: Thu, 24 Sep 2015 19:24:05 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
X-UI-Out-Filterresults: notjunk:1;V01:K0:daDHoojnvgQ=:HxZSPYgLicEMYcgWCPBZwR Pm1dE5OtDqA3kTAD6vTCuFM9ukL7ieVCc0SCRHTQJZyBisgXtHK31zsHX0+t0yx64ez2s62xg qnD5uIB0ANA1ZS9Oym5eytXtQ7rhn/TvdBz/8c8lAxDNsP9cCB/3ohHg4cZrb4gWxpwK1Ina7 x9pDwJLIupk0Ik/nPOYzcB6oairjWxd6vGuijrvekNzgfAreFuGNF3twIxaXLVMDwkJ4QyIlP 3kRGssexGXDYG3NIVMpd5BD7rkhvxBVddccgqReUUSKTuJVaW+WkgytnQa9+2EXRMerb8qhEo uJX04BtKhPgJ09zOMJgppGvwf9/ar4odF3veRiaTQ9crDHgTMD/CmJPL0wYJEJ384ZBZPq7JH pdNSn9M3ojr2IVlaEYnHOSyKdMmfHQZpsJiRGCPCOov0kcitlgrulCLoGE9TwNr4yb9BMoRah MnVKR8Z79x2DZsizT3GmhW+3AWq7Ap96xR5D6uMdmJffRgEcNXPkjFjB1R7G3G/g8tov1/X9c 7SsdlaH5ePkUAmdx6Op6KMckBj/TebaCHI8+2rZCjrAqs9cfqLnCTnCMlCzJXI4FtaqIj/ANO 6hwxhdoAxhy7ZTtJ+s6/m8Br/WCMw2k67JqOskSUDjTElceO5WJy9pWmY5AGFkAa9idTr7LcJ a/XeFeSYA5CXqmZ1uxMfMMGBH9Zp0VNcuGahieX3YZhJBHwLez1zDIgEpsy5IRpsiAYlhL1HO SOXJFYpa0pS3H34kAx6BT9wUYODUOIXPKstN0A==

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

Regards,
Paul

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019