public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* A Simple Real World Benchmark for Cygwin
@ 2002-09-02  8:20 Rick Richardson
  2002-09-02  8:36 ` Ville Herva
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Rick Richardson @ 2002-09-02  8:20 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2187 bytes --]

A Simple Real World Benchmark for CygWin
----------------------------------------

This is a simple benchmark of CygWin performance when running a
collection of Unix tools such as sed, awk, gcc.  It uses the familiar
"configure" script to generate the load.  I picked a configure script
I happened to have laying around as being "representative" of this
type of load.

I am a CygWin newbie.  The motivation for this benchmark is that I
noticed that my CygWin installations were so slow as to effectively be
unusable for development work.  For example, the attached script runs
in 5 seconds with native Redhat 7.2 on a P3/700 with a 7200 RPM disk.
But the script takes 3 minutes to run on the same machine under CygWin.

Certainly, some performance degradation under CygWin could be expected
and tolerated.  But not a factor of 30X or more.  IMHO, of course.

It is not entirely clear to me that my performance is representative
of other CygWin installations.  Without a benchmark, it is impossible
for me to determine if the results I am seeing are normal for CygWin,
or the result of some unknown as yet system or installation problem.

Hence this benchmark, which I hope will allow myself and others to
compare CygWin performance with the performance that other people
are seeing.

Running the benchmark is simple, and I am not particularly interested
in highly precise results in this first pass.  Simply make your system
as quiescent as possible, then type:

        rm -f config.cache
        time ./configure

Report the elapsed *real* time.

Here are the results from my two tests.  I will happily accept other
benchmark reports.  Mail them to rickr@mn.rr.com.

-Rick Richardson, 09/02/2002

TIME    CPU     MHZ     DISK            OS AND VERSION
(secs)                  
------  ---     ---     --------------  ----------------------------------
5       P3      700     IBM 7200RPM     RH7.2, native
180     P3      700     IBM 7200RPM     win98 4.10.1998, cygwin 1.3.12-2

-- 
Rick Richardson  rickr@mn.rr.com        http://home.mn.rr.com/richardsons/
Stock information at your fingertips:   http://linuxtrade.0catch.com/

Most Minnesotans think Global Warming is a good thing.

[-- Attachment #2: cygbench.tar.gz --]
[-- Type: application/x-gzip, Size: 24202 bytes --]

[-- Attachment #3: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: A Simple Real World Benchmark for Cygwin
@ 2002-09-02  9:51 John Vincent
  2002-09-02 10:36 ` Nicholas Wourms
  0 siblings, 1 reply; 26+ messages in thread
From: John Vincent @ 2002-09-02  9:51 UTC (permalink / raw)
  To: rickr, cygwin

Hi,

I'm running a 450Mhz laptop with 256Mb RAM.
The O/S is Win 2K SP3.
Your configure script takes approx 25 seconds, when
run as a bash command in an rxvt window with default
mounts as per setup (install binary/all)

uname -a gives:
CYGWIN_NT-5.0 JOHNS-2ND-STAR 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown

I hope this gives you something to compare with
/John Vincent.


>From: Rick Richardson <rickr@mn.rr.com>
>To: cygwin@cygwin.com
>Subject: A Simple Real World Benchmark for Cygwin
>Date: Mon, 2 Sep 2002 10:19:58 -0500
>
>A Simple Real World Benchmark for CygWin
>----------------------------------------
>
>This is a simple benchmark of CygWin performance when running a
>collection of Unix tools such as sed, awk, gcc.  It uses the familiar
>"configure" script to generate the load.  I picked a configure script
>I happened to have laying around as being "representative" of this
>type of load.
>
>I am a CygWin newbie.  The motivation for this benchmark is that I
>noticed that my CygWin installations were so slow as to effectively be
>unusable for development work.  For example, the attached script runs
>in 5 seconds with native Redhat 7.2 on a P3/700 with a 7200 RPM disk.
>But the script takes 3 minutes to run on the same machine under CygWin.
>
>Certainly, some performance degradation under CygWin could be expected
>and tolerated.  But not a factor of 30X or more.  IMHO, of course.
>
>It is not entirely clear to me that my performance is representative
>of other CygWin installations.  Without a benchmark, it is impossible
>for me to determine if the results I am seeing are normal for CygWin,
>or the result of some unknown as yet system or installation problem.
>
>Hence this benchmark, which I hope will allow myself and others to
>compare CygWin performance with the performance that other people
>are seeing.
>
>Running the benchmark is simple, and I am not particularly interested
>in highly precise results in this first pass.  Simply make your system
>as quiescent as possible, then type:
>
>         rm -f config.cache
>         time ./configure
>
>Report the elapsed *real* time.
>
>Here are the results from my two tests.  I will happily accept other
>benchmark reports.  Mail them to rickr@mn.rr.com.
>
>-Rick Richardson, 09/02/2002
>
>TIME    CPU     MHZ     DISK            OS AND VERSION
>(secs)
>------  ---     ---     --------------  ----------------------------------
>5       P3      700     IBM 7200RPM     RH7.2, native
>180     P3      700     IBM 7200RPM     win98 4.10.1998, cygwin 1.3.12-2
>
>--
>Rick Richardson  rickr@mn.rr.com        http://home.mn.rr.com/richardsons/
>Stock information at your fingertips:   http://linuxtrade.0catch.com/
>
>Most Minnesotans think Global Warming is a good thing.
><< cygbench.tar.gz >>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/




_________________________________________________________________
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: A Simple Real World Benchmark for cygwin
@ 2002-09-03  9:08 Robb, Sam
  0 siblings, 0 replies; 26+ messages in thread
From: Robb, Sam @ 2002-09-03  9:08 UTC (permalink / raw)
  To: cygwin

> That's not the point.  The application *may* call CoInit() before
> requesting the first path to a shortcut and it *may* call CoUninit()
> before requesting another path to a shortcut, all in the same thread.

Would creating a seperate thread for the purpose of executing
Cygwin-originated COM calls be an answer?  Wouldn't be as fast
as assuming CoInit has already been called, but would probably
be faster than calling CoInit/CoUninit for every shortcut check.

-Samrobb

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2002-09-06  0:01 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-02  8:20 A Simple Real World Benchmark for Cygwin Rick Richardson
2002-09-02  8:36 ` Ville Herva
2002-09-02  8:55 ` A Simple Real World Benchmark for cygwin Christopher Faylor
2002-09-02 14:34   ` Dan Vasaru
2002-09-02 15:02     ` Christopher Faylor
2002-09-03  1:28       ` Corinna Vinschen
2002-09-03  2:38         ` dvasaru
2002-09-03  4:52           ` Corinna Vinschen
2002-09-03  4:59             ` Robert Collins
2002-09-03  5:42               ` Corinna Vinschen
2002-09-03  9:05                 ` Dan Vasaru
2002-09-03 23:34                   ` Bjoern Kahl AG Resy
2002-09-04  1:55                     ` Corinna Vinschen
2002-09-04  2:10                       ` Bjoern Kahl AG Resy
2002-09-04  2:22                         ` Corinna Vinschen
2002-09-04 14:44                           ` BASH slow on network share scripts (was RE: A Simple Real World Benchmark for cygwin) Dan Vasaru
2002-09-04 20:07                             ` Christopher Faylor
2002-09-02  9:06 ` A Simple Real World Benchmark for Cygwin Michael Hoffman
2002-09-02 11:37   ` Randall R Schulz
2002-09-02 21:31   ` Jeremy Hetzler
2002-09-03 10:58 ` Eric M. Monsler
2002-09-04 10:54   ` Shankar Unni
2002-09-05 17:50 ` Randall R Schulz
2002-09-02  9:51 John Vincent
2002-09-02 10:36 ` Nicholas Wourms
2002-09-03  9:08 A Simple Real World Benchmark for cygwin Robb, Sam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).