Enumerate performance vs powersave cores with Cygwin?

Eliot Moss moss@cs.umass.edu
Thu Jan 2 15:42:18 GMT 2025


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


More information about the Cygwin mailing list