X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Date: Mon, 13 Dec 2010 00:03:20 +0100 From: Michael Ludwig To: cygwin AT cygwin DOT com Subject: Re: Slowdown after update on Win32 (XP Home) Message-ID: <20101212230320.GA424@wladimir> Mail-Followup-To: cygwin AT cygwin DOT com References: <20100930231948 DOT GA792 AT wladimir> <4CA52D89 DOT 4010208 AT cygwin DOT com> <20101002000810 DOT GA6024 AT wladimir> <4CA924BF DOT 3020806 AT cygwin DOT com> <20101006185911 DOT GG3984 AT wladimir> <1286400650 DOT 1825 DOT 4 DOT camel AT OG3> <20101006222706 DOT GJ3984 AT wladimir> <20101030135525 DOT GQ2436 AT wladimir> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20101030135525.GQ2436@wladimir> User-Agent: Mutt/1.5.20 (2009-12-10) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Michael Ludwig schrieb am 30.10.2010 um 15:55 (+0200): > Michael Ludwig schrieb am 07.10.2010 um 00:27 (+0200): > > SZABÓ Gergely schrieb am 06.10.2010 um 23:30 (+0200): > > > > > > please see this thread (test scripts included): > > > http://cygwin.com/ml/cygwin/2010-09/msg00871.html > > > > Thanks, Gabor - I saw your thread, which reinforces my belief that it > > is a Cygwin issue. > > I don't think any more the slow process creation (fork) I'm seeing is a > Cygwin problem. A Makefile for ActiveState Perl also takes an eternity > to run. The delay appears to be caused by time-consuming process > creation. > > > > I can only confirm this. Process creation is much slower with 1.7.7 > > > than it was with 1.5.25. The "fork" script runs 300% slower on my XP > > > box. > > > > Another possibility would be a recent Microsoft update. > > > > Am I hallucinating when I think that 100% true Windows utilities like > > IPCONFIG, ROUTE and NET are also slower in launching? > > These Windows utilities also take time to launch. All processes, once > running, do *not* appear slow; they just take time to get started. > > What can I do at the Windows or Cygwin level to find the cause of this > slowdown? Using Sysinternals procmon.exe I found out that the cause for the slowdown was a virus hooking into the CreateProcess/AppCertDlls mechanism, which, of course, I didn't know about. What could cause a process creation slowdown on Win32 and how can I determine it? http://stackoverflow.com/questions/4354445/ AppCertDlls: Process creation slowdown on Win32 caused by virus -- Michael Ludwig -- 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