delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/02/22:37:20

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4932bKL2292879
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=lp7RVaOj
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 434E4385C6D3
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1727923038;
bh=6ajrVpcdosoufPdx/xnOLFHCmvA+lFkRfQiLKzs7eqo=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=lp7RVaOjC1ycBcl2AVp8KRxN9GALaxfPmM8ZEfBKImJR6klnDTbxNO7iHQBLxN3yU
72OijG3dz9AnB6bq7rFZGekllnAxyiT/Jzj2BavHgPbZoujZj1ncbznP0J23F1cPKv
jur3WcvvShLiZQSOwBSLuR0igp8bSQXDTw9JoA+0=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A0CB1385840A
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A0CB1385840A
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727922994; cv=none;
b=Q9L6oqYHWUw1QsuuOAlVDEs0JsCtQ87yHL6vmz+RIWDBBSUsiN9/Sov0HOS7mC3bFwb6uCeAWn+rhlj8NACJXi0OyGkSqfXGwGDp8SyROuAYE+euLduPgjE1Gq41w0uScrbJaZw0eQalzTIQ+XQ+4HQ/RRD8tf0wcUJpSKcTqAk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1727922994; c=relaxed/simple;
bh=FPCyVi6O3qUqOnbTLPNUkh6naPoeGAlRwmMwPOmBaPk=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=S9G6ocDTvlvEthohOINNKIBwsRMdPMeq1SIJDuIQ0/3DKZAGl8u8S3ImhxIDKjI0wmlGd5iMXKh75eBKqb/5SoBI5i+rpyb8FESttIr3cZ+MF5XDg/u7aGoRH9ANZp+fXti5hC3pvSWOCorZEhT+owwwWFTJ9EWqQuHPvMFtFu8=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <6b0fafc1-190b-4794-947d-bdf81fb7da31@maxrnd.com>
Date: Wed, 2 Oct 2024 19:36:29 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Request for test by users seeing 0.00 load average in spite of a
busy system
To: cygwin AT cygwin DOT com
References: <7929384b-83cb-451e-99d3-9300b507c0cc AT maxrnd DOT com>
<80dc4a03-7d2e-78d7-9171-a0e5907b8d4a AT t-online DOT de>
In-Reply-To: <80dc4a03-7d2e-78d7-9171-a0e5907b8d4a@t-online.de>
X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, BODY_8BITS,
KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS,
TXREP 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.30
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>
From: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd 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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4932bKL2292879

Hi Christian,

On 10/2/2024 1:09 AM, Christian Franke via Cygwin wrote:
[...]
> Same result on Win10 22H2 (10.0.19045.4780, i7-2600K) and Win11 23H2 
> (10.0.22631.4037, i7-14700K):
> 
> $ ./test
> PdhOpenQueryW           returns PDH_CSTATUS_VALID_DATA
> PdhAddEnglishCounterW#1 returns PDH_CSTATUS_VALID_DATA
> PdhAddEnglishCounterW#2 returns PDH_CSTATUS_VALID_DATA
> PdhAddEnglishCounterW#3 returns PDH_CSTATUS_VALID_DATA
> 
> $ uname -r
> 3.5.4-1.x86_64
> 
> $ stress-ng --cpu 4 --timeout 30
> stress-ng: info:  [586] setting to a 30 secs run per stressor
> stress-ng: info:  [586] dispatching hogs: 4 cpu
> ...
> stress-ng: info:  [586] successful run completed in 30.47 secs
> 
> $ uptime
>   09:59:01 up 28 min,  0 user,  load average: 0.00, 0.00, 0.00

Thank you. I suspect most users who try the test will see the same. I 
have one system that tests differently and I hope to determine if my 
system has some problem or that there's a subset of systems out there 
that work like mine. Here's the output from my problem system...

~ ./test
PdhOpenQueryW           returns PDH_CSTATUS_VALID_DATA
PdhAddEnglishCounterW#1 returns PDH_CSTATUS_NO_OBJECT
PdhAddEnglishCounterW#2 returns PDH_CSTATUS_VALID_DATA
PdhAddEnglishCounterW#3 returns PDH_CSTATUS_NO_OBJECT

~ uname -r
3.5.4-1.x86_64

~ uptime
  19:02:08 up 6 days, 21:59,  0 user,  load average: 0.00, 0.00, 0.00

~ ./loadavg
32.00

This system is running Windows 10 21H2, build 19043.2251. It's an AMD Tr 
PRO 3955WX busy with numerical calculations.

The "./loadavg" line demonstrates a tool that I plan to release that 
gives a much more accurate load average the moment it is called. The 
uptime display still has zeroes because I haven't updated the Cygwin DLL 
on this machine yet. Awaiting more results of my call for testing :-).
Cheers,

..mark

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