From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7425 invoked by alias); 26 Aug 2012 20:44:42 -0000 Received: (qmail 7412 invoked by uid 22791); 26 Aug 2012 20:44:42 -0000 X-SWARE-Spam-Status: Yes, hits=6.2 required=5.0 tests=AWL,BAYES_05,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from vms173009pub.verizon.net (HELO vms173009pub.verizon.net) (206.46.173.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 26 Aug 2012 20:44:24 +0000 Received: from wench.drmikehenry.com ([unknown] [96.244.56.141]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0M9D003C3QXVIK00@vms173009.mailsrvcs.net> for cygwin@cygwin.com; Sun, 26 Aug 2012 15:44:19 -0500 (CDT) Received: from mobi.drmikehenry.com (mobi-wired.drmikehenry.com [192.168.254.64]) by wench.drmikehenry.com (Postfix) with ESMTP id BB54DA0F48; Sun, 26 Aug 2012 16:44:18 -0400 (EDT) Message-id: <503A8AA2.9090102@drmikehenry.com> Date: Mon, 27 Aug 2012 06:03:00 -0000 From: Michael Henry User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-version: 1.0 To: cygwin@cygwin.com, arnold@skeeve.com Subject: Re: stuff running slowly References: <201208260803.q7Q83kme006060@freefriends.org> In-reply-to: <201208260803.q7Q83kme006060@freefriends.org> Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-08/txt/msg00585.txt.bz2 On 08/26/2012 04:03 AM, arnold@skeeve.com wrote: > Running > > ./configure && make && make check > > in the gawk master branch takes close to half an hour, maybe more! On > simlar hardware under Linux, it takes less than a minute. I've found on my hardware that launching a new process in Windows is very slow compared with Linux. With a Fedora 14 host and a Windows 7 VM using VirtualBox, I measured process launch times under 1 ms on Linux, but nearly 100 ms on Windows. Both configure and make rely heavily on launching processes during the build. In my case, it amounted to a 7-10 factor slowdown when building a certain project at work. I had similar problems when trying to launch a Bash prompt under Cygwin, since shell scripts tend to launch a lot of processes as well. I don't believe this problem is caused by Cygwin, at least in my case. I measure the same terrible process launch times using cmd.exe and a batch file, without any Cygwin tools running. You might try benchmarking process launch times on your Windows and Linux setups to see if that might be underlying your problem. I haven't determined whether this is inherently a problem with Windows process launching, or if something I've got installed or mis-configured might be causing the slowdown, so treat this as a hint rather than as publication-quality conclusions to start an OS war on Slashdot :-) Michael Henry -- 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