delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/20/13:08:20

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 <rhempel AT bmts DOT com>
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: <D1CE63BB766844448B4A8CDC82658DE4020CB9A3E0 AT NALASEXMB03 DOT na DOT qualcomm DOT com>
In-Reply-To: <D1CE63BB766844448B4A8CDC82658DE4020CB9A3E0@NALASEXMB03.na.qualcomm.com>
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: <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

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/

- Raw text -


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