delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/02/10:43:23

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 502FhNCe4037475
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 502FhNCe4037475
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=HZ65dNIE
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 585DE3858C5F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1735832601;
bh=Y+zcZYJbjYHghTUdsxl+d6SVpdi9FhTW4/WVtvIQDXs=;
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=HZ65dNIE10bFDn8g1EuRjBeq3ASTotHhwK2ON6etPOVw5MNpGn2siKQoNiIMgGg4v
lNFnXHttOPvkOzHFWGyvJ1DqKBrPOVofoMQmEYcqKqimR6hzb1sJ+j287FZuhtjBU4
Pd/TIxPaQyh5dzbBBJkkzhNbq+z4hJK4ViPDAqQU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6A67B3858D1E
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6A67B3858D1E
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735832539; cv=none;
b=rqdfSJNtoKrZOA5Yq+ujqw3btIi5u3DuRDLfkrs9mNGoRBwviiA9qCcnHPuTqaVVSaFU73Ju2O6MGPjKlnOu3zoT6PK5LdgAusnyaJk9+WzeYHQETHluqTVpAqBaDHue83YmxodJPR1YWOCvBv+4tGeXtB5GjkLBbiU1iozfdt0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1735832539; c=relaxed/simple;
bh=co8G4hHvPOsxQwEcT65PQR/TyQ5MMmdc3Gy2U34rPlk=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=wBtVXRo1i9+kUc12FPqL3SP7tEpRZ2XQayzQ8Vj+0pQZpqC5zLAoWY3pg82pE+WjsvWWIcA8FQMtb/JM9qZhWlPPQwAI1NA9KqmYmn+4pVDf7XTvuf6Ad9dzjuOpgLiGsCJJVq9CKWSWyTCS5BfyTzUIKUQiFd0If89R1QL/7VA=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A67B3858D1E
X-ASG-Debug-ID: 1735832538-24039d08f4b4bfd0001-w5GHUG
X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
DKIM-Filter: OpenDKIM Filter v2.11.0 mailsrv.cs.umass.edu 8ACFA5BDC8
X-Barracuda-RBL-Trusted-Forwarder: 172.27.237.65
Message-ID: <74dc7a46-d5ce-953d-add0-591164acf8bf@cs.umass.edu>
Date: Thu, 2 Jan 2025 10:42:18 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: Re: Enumerate performance vs powersave cores with Cygwin?
X-ASG-Orig-Subj: Re: Enumerate performance vs powersave cores with Cygwin?
To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>,
Cedric Blancher <cedric DOT blancher AT gmail DOT com>, cygwin AT cygwin DOT com
References: <CALXu0UcWYQats_FdTt-Pp1bZBPQ28e0SUn4NnRJHYsPVCtWdKg AT mail DOT gmail DOT com>
<7115c5ea-a85f-45f5-b12f-c81aee91ef6a AT gmail DOT com>
In-Reply-To: <7115c5ea-a85f-45f5-b12f-c81aee91ef6a@gmail.com>
X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136]
X-Barracuda-Start-Time: 1735832538
X-Barracuda-Encrypted: TLS_AES_256_GCM_SHA384
X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi
X-Barracuda-BRTS-Status: 1
X-Virus-Scanned: by bsmtpd at cs.umass.edu
X-Barracuda-Scan-Msg-Size: 788
X-Barracuda-Spam-Score: 0.00
X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0
QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.7 tests=
X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.135281
Rule breakdown below
pts rule name description
---- ---------------------- --------------------------------------------------
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-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: Eliot Moss via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Eliot Moss <moss AT cs DOT umass DOT edu>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 1/2/2025 10:20 AM, Marco Atzeri via Cygwin wrote:
> On 02/01/2025 15:40, Cedric Blancher via Cygwin wrote:
>> Good afternoon!
>>
>> How can I use Cygwin to enumerate performance cores, and then the
>> powersave cores? I want the CPU core numbers for later use by
>> /usr/bin/taskset
>>
>> Ced
> 
> what about
> 
> cat /proc/cpuinfo
> 
> and filter the info you need

The only things that I see that differ between the cores on my system is the
apic id, core id, and initial core id (found by doing cat /proc/cpuinfo | sort
| uniq).  Maybe there is some property of the core numbering that will tell
you, but I did not see anything else.

You can, however, get this information from the cpuid program.  See, for
example, the (synth) entry.

Cheers - Eliot Moss

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