X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <48FCBAC3.8090209@bmts.com> Date: Mon, 20 Oct 2008 13:07:15 -0400 From: Ralph Hempel User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Compile time Local Cygwin vs. VMware session on same system References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-brucetelecom.com-MailScanner-Information: Please contact Bruce Telecom 519.368.2000 for more information X-brucetelecom.com-MailScanner: Found to be clean X-brucetelecom.com-MailScanner-From: rhempel AT bmts DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Manning, Sid wrote: > I've been happily using cygwin for many years but I recently loaded > VMware on my system and it seemed pretty snappy, so much so I decided > to see how it compared to native execution. I was surprised to see > that I could compile much faster under VMware than on Cygwin on the > same host. > > I pasted a short script (bottom of message) that I hope one could > just cut and run to verify my results. To get a generally accessibly > benchmark I download and time the compile binutils-2.18. > > My initial results where so skewed that I downloaded an updated > cygwin.dll (1.5.24.2 -> 1.5.25.2) but after the upgrade my > performance dropped further. Here are my results: It looks like you're comparing compiling under Cygwin on the host machine to compiling under Linux on a VMWare machine running on the host and finding the second way faster. If you pick up Mecklenburg's "Managing Projects with Make" you'll find he does some timing tests comparing make running on a 1.9 GHZ P4 running cygwin on XP vs make running on a 450 MHz P2 running RedHat 9. The (almost 4 times slower) P2 beat the P4 handily. He attributes the difference mainly to the cost of launching shells from make and general overhead of file operations in Windows. I'm not surprised that your VM running Linux is so much "faster" than the host machine running Windows. Long story short, this is probably not so much a Cygwin issue as general Windows issue... Cheers, Ralph -- 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/