This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bash / cygwin process spawning (?) performance very slow
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2015 20:44:38 +0200
- Subject: Re: Bash / cygwin process spawning (?) performance very slow
- Authentication-results: sourceware.org; auth=none
- References: <5603CEC3 dot 5080607 at gmail dot com> <560431B5 dot 5040203 at null dot net> <CAD8GWsvMUVZT89CZFQovoUGOJY0fnGH6BUE-Wf68k3sMtW6wrw at mail dot gmail dot com>
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