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

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 9E6C2384B07C
Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none)
header.from=holgerdanske.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=holgerdanske.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com;
s=nov-20210719-112354; t=1653404623;
bh=EAR+e4MP344i1evKxLfhCQIlTUFF8epg1zW3n35aB2k=;
h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:
Content-Language:To:References:From:In-Reply-To:Content-Type:
Content-Transfer-Encoding;
b=VsUC/n+B4JTA+kAO2TlBseemF8bWco6xt1IRB54Tw1PgPAuoJssnkUm9gKp3ONbnG
X94Px3SdEVZM0I9pPtFu5rMy8jPnVgGXPW9c7VytYKqatoXCGtKc8Zzk4yKxT4s+6W
9be5TOgFppvdj1jST5tFYKGvZOzhbifXTCn56TmEvfp1Mz+AnzrrdExjzejRWttE+a
0OWY5p3weMgHWNlZWwVj/xgOCZ67cu3rVXbx8kiFGyisSc+H/q/ZcqHGOMYaO/Z54a
JMGubz5upHfqZvhafhAnUom7RsdDHdysjigWi75LDwz47EhtzeAXVWVfvJI0oQiFeh
5v+99PkY1E7nkc0WzvB2nPBSEfsDHSLSx69VJ0EG2jb0rRXopTbfeEs2xGg66yDupm
UJhFCDxgrwM5O3I1QY8T6aaYW0kh3x+riV4hMs/Y66AS2yUnUgV6uKxSvkeeaTvdC1
qyPav6VKDLsX5UXa7jOK8q73MVIvudJk7nlCSvF4dCVcd4owqtzXtJexKm5YuNWl+V
kxcpdb/GGL4JGE5FW213VCtZaM1BdlcaMsDhvOIcxe2+6SaRZ+Q6BYM+PG405lBu2Y
GeAZR5ZFGUn7f1pINvWqrT+W8uHF+65c7bj/xtF2zqw2BIC7F8vOIaY31dXZWTxPQj
PVRbu5XlZuMZ1zUqOnJky+LU=
Message-ID: <e27cf624-349a-fffe-3510-ed62cdce0912@holgerdanske.com>
Date: Tue, 24 May 2022 08:03:43 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.8.0
Subject: Re: Cygwin Perl has slowed in recent months
To: cygwin AT cygwin DOT com
References: <9a24b87b-e71d-9371-5d78-2b0f160adacd AT holgerdanske DOT com>
<69f7b5b2-0730-bce2-90d8-95a7fde0a15f AT t-online DOT de>
<b4ea7bca-242a-4c9c-6736-ec997f6d6877 AT holgerdanske DOT com>
<CAD8GWsvsNsF9w7NzxRDDDCwfcVkJp4_kVvwr6f7obCxi95-ZiQ AT mail DOT gmail DOT com>
<CAEhDDbCOq5azJwRb_dpC4CgNFhe=w2n3ZJCcZ04H4VOFFMgrDg AT mail DOT gmail DOT com>
<af017c23-b069-b25e-47d9-584eba3226c2 AT gmx DOT com>
From: David Christensen <dpchrist AT holgerdanske DOT com>
In-Reply-To: <af017c23-b069-b25e-47d9-584eba3226c2@gmx.com>
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A,
SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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>
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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 24OF4PSJ026146

On 5/24/22 01:47, Sam Edge wrote:
> On 24/05/2022 09:25, Csaba Raduly wrote:
>  > On Mon, 23 May 2022 at 20:47, Lee  wrote:
>  >>
>  >> On 5/22/22, David Christensen <dpchrist AT holgerdanske DOT com> wrote:
>  >>> On 5/21/22 10:55, Hans-Bernhard Bröker wrote:
>  >>>> Am 18.05.2022 um 03:53 schrieb David Christensen:
>  >>>>
>  >>>>  > I am working on a Perl module that runs on various Unix-like
> platforms.
>  >>>>  > When I 'make test' on similar computers:
>  >>>>  >
>  >>>>  > FreeBSD 12.3-RELEASE         28 wallclock secs
>  >>>>  > Debian GNU/Linux 11.3          31 wallclock secs
>  >>>>  > macOS 11.6.2              36 wallclock secs
>  >>>>  > Windows 7 / Cygwin 3.3.5-1    509 wallclock secs
>  >>>>
>  >>>> Given the complete lack of information about what that Perl module of
>  >>>> yours might be doing, that's hard to have a meaningful discussion
> about.
>  >>>
>  >>>
>  >>> Thank you for the response.  I was hoping there was a known issue.
>  >>> Apparently, not.
>  >>
>  >> What I consider a well known issue is that process start up time is
>  >> _very_ slow.  If your  'make test' starts lots of processes that could
>  >> be a problem.
>  >>
>  >
>  > While Cygwin''s fork emulation is indeed  slow (I once measured 1000:1
>  > between Cygwin and Linux  * ),
>  > "make test" likely started roughly the same number of processes "then"
>  > as it does  "now".
>  > In  which case the increase in the run time could be attributed to
> Cygwin.
> 
> Indeed.
> 
> But perhaps what the Cygwin core and/or Cygwin Perl maintainers need is a
> simple test case Perl script that can be shown to be much slower on the
> current
> releases than it was on a named earlier pair of releases. And maybe some
> testing by the original poster to see if it is the Cygwin or Perl release
> change that causes the issue.
> 
> Anecdotal observations do not an issue report make. ;-)


So, we are discussing running a Perl benchmark for various combinations 
of Cygwin version and/or Cygwin Perl version.  That is an O(n) and/or 
O(n**2) problem.


If multiple benchmarks are considered, increase the O() exponent by one.


If multiple versions of Windows are considered, increase the O() 
exponent by one.


If multiple computers are considered, increase the O() exponent by one.


Does the Cygwin project do any of the above?  If so, how?  Where are the 
test plans and assets?  Where is the raw data?  Where are the reports?


If end users are expected to do the above, please advise:

1.  How to install multiple versions of Cygwin on Windows 7 Professional 
64-bit Service Pack 1 on an x86_64 computer such that each instance of 
Cygwin does not interact with any other instance of Cygwin.

2.  How to install multiple versions of Cygwin Perl on each of many 
Cygwin installations on Windows 7 Professional 64-bit Service Pack 1 on 
an x86_64 computer such that each instance of Cygwin Perl does not 
interact with any other instance of Cygwin Perl or Cygwin.

3.  What is a suitable Perl benchmark?


David

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