delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/30/11:58:51

X-Spam-Check-By: sourceware.org
Message-ID: <45969AB6.8000709@t-online.de>
Date: Sat, 30 Dec 2006 17:58:30 +0100
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin slower on one computer
References: <45804D3A DOT 6060602 AT algonet DOT se> <4593B234 DOT 6010505 AT algonet DOT se>
In-Reply-To: <4593B234.6010505@algonet.se>
X-ID: rCFHT2ZY8ehglAepL378U20K84r7oWrOA9qEVD5rP9MNIAZlMSC665
X-TOI-MSGID: 0e69aef2-c9ed-4b77-a7e5-19ea981e668d
X-IsSubscribed: yes
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

Magnus Holmgren wrote:
> Magnus Holmgren wrote:
>
>> I'm trying to figure out why Cygwin build things so much slower on 
>> one computer I have. We're talking about more than 3 times slower on 
>> a computer that ought to be a bit faster (Athlon64 at 2.2-2.4 GHz, 
>> compared to a  Pentium M at 1.8 GHz).
>
> This is a little embarrassing, but I finally found out what caused the 
> large speed difference. You might've guessed it: the firewall.
>
> In this case, it was the Kerio Personal Firewall. I'm guessing it is 
> the "host intrusion prevention system" module that causes it (not that 
> I had it enabled). When using the Windows built-in firewall (same as 
> on the Pentium M system), the Athlon system is indeed a bit faster.
>

Thanks for the info, it helped me to track down the problem.
Both systems (Intel 3200 and AMD 3200+) I tested recently actually have 
the KPF installed.

The root of the problem is the "host intrusion prevention system" driver 
khips.sys.

Even if this feature is turned off (or unavailable in the free version), 
the driver keeps running and slows down fork() considerably.
(It probably hooks somewhere into Read/WriteProcessMemory())

Stopping the firewall service does not help.
Only stopping the driver ("sc stop khips") or uninstalling KPF helps.

Result (real time) for "time ./configure" on AMD 3200+:

KPF installed but turned off: 5m38 (!)

KPF removed or khips.sys stopped: 0m26

The problem is still present in the current version 4.3.268.

Christian


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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