delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/05/25/11:04:35

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 111E83860C08
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=gluelogic.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gluelogic.com
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Spam-Language: en
X-Spam-Relay-Country:
X-Spam-DCC: B=; R=smtp1.atof.net 1102; Body=1 Fuz1=1 Fuz2=1
X-Spam-RBL:
X-Spam-PYZOR: Reported 0 times.
Date: Wed, 25 May 2022 11:04:03 -0400
From: gs-cygwin DOT com AT gluelogic DOT com
To: David Christensen <dpchrist AT holgerdanske DOT com>
Subject: Re: Cygwin Perl has slowed in recent months
Message-ID: <Yo5FY/4YsyN2KGjz@xps13>
References: <9a24b87b-e71d-9371-5d78-2b0f160adacd AT holgerdanske DOT com>
<f21afd25-ff3c-657f-7711-6d66a142eb93 AT holgerdanske DOT com>
Mime-Version: 1.0
In-Reply-To: <f21afd25-ff3c-657f-7711-6d66a142eb93@holgerdanske.com>
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Cc: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Tue, May 24, 2022 at 11:36:21PM -0700, David Christensen wrote:
> I went back to the desktop computer that I have been using for Cygwin Perl
> testing:
> 
[...]
> 
> 'make test' produced the following result:
> 
> 99 wallclock secs ( 1.76 usr  0.41 sys + 342.21 cusr 375.40 csys = 719.78
> CPU)
> 
[...]
> I ran Cygwin setup-x86_64.exe version 2.918 and upgraded all Cygwin
> packages.
[...]
> I ran the cpan(1) shell and upgraded Perl modules:
[...]
> 
> 'make test' now produces:
> 
> 211 wallclock secs ( 2.39 usr  2.71 sys + 525.68 cusr 998.78 csys = 1529.57
> CPU)

You have merely demonstrated that there is a change in timing after
upgrading *all* of cygwin environment and packages.

Basic troubleshooting by any competent admin involves making changes
stepwise in steps as small as (reasonably) possible, and reperforming
tests each step.

Next step: go back to your older system and upgrade only the Perl
packages, then repeat the test.

If you are capable, try testing your cygwin environment on a different
machine, preferably not a corporate machine with hidden BLODA, and with
Microsoft Defender disabled (for the tests) (as previously asked by
others).

If you are capable, try testing older and newer Perl installations on a
different OS.

Annecdotally, I noticed about month or two ago that running my Perl
Test::Harness slowed down dramatically after an upgrade of both kernel
and packages on a Linux (*not Cygwin*) system.  I have not yet seen
compelling evidence from you that the slowdown is due to Cygwin, and
have seen data suggesting it is more directly related to Perl changes.

Other than your 'make test', do you have any evidence that anything else
has slowed down as dramatically between the old and new cywgin packages?
Any other shell scripts for which you tested the timing?
Any other Perl scripts for which you tested the timing?
  (and not run under 'make test')

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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