delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/06/08:09:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 6 Feb 2012 18:38:29 +0530
Message-ID: <CALRo7LtHGrbXC-S2ZuJfg+hvYJtPid0SQYLgEANHsSjyrQ8PQA@mail.gmail.com>
Subject: Performance degradation between Cygwin 1.7.7-1 and 1.5.24-2
From: Jaswinder Bhamra <jbhamra AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
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

Hi,

We are experiencing performance degradation between Cygwin version
1.7.7-1 and 1.5.24-2.

Recently, we have upgraded from Cygwin version 1.5.24-2 to version
1.7.7-1. The simple test brings forward the performance degradation in
version 1.7.7-1 over 1.5.24-2.

<On Cygwin version 1.5.24-2>
bash-3.2$ while [ 1 ]; do date; done | uniq -c
  40 Mon Feb  6 17:58:13 2012
  65 Mon Feb  6 17:58:14 2012
  66 Mon Feb  6 17:58:15 2012
  65 Mon Feb  6 17:58:16 2012
  66 Mon Feb  6 17:58:17 2012
  65 Mon Feb  6 17:58:18 2012
  66 Mon Feb  6 17:58:19 2012
  65 Mon Feb  6 17:58:20 2012
  65 Mon Feb  6 17:58:21 2012
  66 Mon Feb  6 17:58:22 2012
  65 Mon Feb  6 17:58:23 2012
  66 Mon Feb  6 17:58:24 2012
  64 Mon Feb  6 17:58:25 2012
  65 Mon Feb  6 17:58:26 2012
  66 Mon Feb  6 17:58:27 2012
  66 Mon Feb  6 17:58:28 2012
  65 Mon Feb  6 17:58:29 2012
  65 Mon Feb  6 17:58:30 2012

bash-3.2$

<On Cygwin version 1.7.7-1>
# while [ 1 ]; do date; done | uniq -c
     16 Mon Feb  6 17:58:41 IST 2012
     49 Mon Feb  6 17:58:42 IST 2012
     50 Mon Feb  6 17:58:43 IST 2012
     50 Mon Feb  6 17:58:44 IST 2012
     49 Mon Feb  6 17:58:45 IST 2012
     50 Mon Feb  6 17:58:46 IST 2012
     50 Mon Feb  6 17:58:47 IST 2012
     49 Mon Feb  6 17:58:48 IST 2012
     49 Mon Feb  6 17:58:49 IST 2012
     49 Mon Feb  6 17:58:50 IST 2012
     50 Mon Feb  6 17:58:51 IST 2012
     50 Mon Feb  6 17:58:52 IST 2012
     49 Mon Feb  6 17:58:53 IST 2012
     50 Mon Feb  6 17:58:54 IST 2012
     50 Mon Feb  6 17:58:55 IST 2012
     49 Mon Feb  6 17:58:56 IST 2012
     50 Mon Feb  6 17:58:57 IST 2012
     50 Mon Feb  6 17:58:58 IST 2012
     49 Mon Feb  6 17:58:59 IST 2012
     51 Mon Feb  6 17:59:00 IST 2012
     49 Mon Feb  6 17:59:01 IST 2012
     51 Mon Feb  6 17:59:02 IST 2012

#

As you can see the version 1.5.24-2 executes date command
approximately 15-16 times more than in version 1.7.7-1.

The above test is done on MS Windows XP Professional version 2002 SP3, v.5857.
i7-2620M CPU @ 2.70GHz, 3.16 GB of RAM. Care has been taken to perform
the above 2 tests one at a time under the same load average on the
machine.

Is this performance degradation a known issue and does anyone knows if
this is already addressed in any Cygwin version higher than 1.7.7-1?

Thanks,
Jaswinder

--
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

- Raw text -


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