delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/12/10/04:58:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 10 Dec 2007 10:57:25 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Updated: cygwin-1.5.25-5
Message-ID: <20071210095725.GA13109@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <475C2AAE DOT 9030800 AT alum DOT mit DOT edu>
MIME-Version: 1.0
In-Reply-To: <475C2AAE.9030800@alum.mit.edu>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Dec  9 10:49, Jim Reisert AD1C wrote:
> I have a number of data processing programs written in C in the Cygwin
> environment.  They read data files into linked lists, analyze the data
> and write results back out to disk.
>
> This new release of Cygwin is about 10x slower than 1.5.24-2, after
> recompiling the programs.  I went back to the older Cygwin release and
> normal speed was restored.

Well, 10x sounds rather bad.  What I don't understand is why you
recompiled the applications in the first place.  There's no really
new functionality which would demand a recompilation.  The question
here is, was the original application alredy 10x slower or was it
ok and only the recompiled version was slower?  Or is the executable
from the same build 10x slower on 1.5.25?

> Any idea how to find out where the bottleneck(s) are?

Debugging?  You can try to find out which function got slower by
stracing or you could use the good old printf debugging in your own
code.

Other than that, it would be helpful to create a minimal testcase
in plain C, which only contains the absolute minimum of code to
reproduce the problem, and send it to the list.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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