delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/10/02/04:11:10

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4928B90V4006437
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=vbXuVELE
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96F1238650DD
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1727856667;
bh=4rce166mCyj1PqSzHSzxym72aWxY53c3P8P2dLwLzfc=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=vbXuVELEm7iRdcdb7jXyI1pgiaWxi+hST/Kntdwt8VetSu1X0kgtrQEWnHYxfL5zw
o7Uh7zXs1W7sR8CBZucyq/d0fKYl/QDWn/rwVh/ZBx5AMpJlvV+qYmcFYtl9hcR52E
oFxcrhDrujrgvoWNrkH9xN1E5KuTA7yGr4eZnquQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BE56A3858D28
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BE56A3858D28
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1727856614; cv=none;
b=SfMGGB4DdHvI0xs1ucGtQCwvVEs1tzCNFt7a4z5uWRQjJmPU7yAh7Ok2egiSzJOhK8DgxPP3fElQYLVd7MbIgERYjRxZlL9M9W6e3RSVIDUaRAhvllC0Y4B1W/yWoB7Ah4ItdtEIlRNWhu9D8syA7p4U36vTXlzmanYpocMJK9o=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1727856614; c=relaxed/simple;
bh=0xp2HM+8GyWC0LvjxeNokIy9n9yrktNu6FMRpr6KPpc=;
h=Subject:To:From:Message-ID:Date:MIME-Version;
b=Sq0VKeVH/Am0oHRw+LCZpP6ZSsuTri+swiZBWuNeBeLO0igCq64/vDMVzJWOf5+rNDCRg8NIGFD/FOaI3VHtSOf09mBjaXL+sMplUBsazX68pbB940zH5rnGVB/kIQ4IfMzPJCj3HuQ74AZ3/9icMafq7WKE+pkAjNK+Ob4g6jM=
ARC-Authentication-Results: i=1; server2.sourceware.org
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>
Message-ID: <80dc4a03-7d2e-78d7-9171-a0e5907b8d4a@t-online.de>
Date: Wed, 2 Oct 2024 10:09:59 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
SeaMonkey/2.53.18.2
MIME-Version: 1.0
In-Reply-To: <7929384b-83cb-451e-99d3-9300b507c0cc@maxrnd.com>
X-TOI-EXPURGATEID: 150726::1727856601-377FC467-98CE6604/0/0 CLEAN NORMAL
X-TOI-MSGID: 6f6dd4dc-d2e3-4428-825b-edc472398816
X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, BODY_8BITS,
FREEMAIL_FROM, KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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: Christian Franke via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Christian Franke <Christian DOT Franke AT t-online DOT de>
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 4928B90V4006437

Mark Geisert via Cygwin wrote:
> Hi folks,
> I may have a handle on why you're seeing 0.00 load averages. Would you 
> kindly compile the attached program, run it, and post its results 
> along with which version of Windows you are running?
> For example,
>     gcc -Wall -ggdb -o test test.c -lpdh
>     ./test
> Thanks for your help,

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

-- 
Regards,
Christian


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