posix thread scaling issue

ASSI Stromeko@nexgo.de
Sun Sep 3 06:13:08 GMT 2023


jeff via Cygwin writes:
> According to the task manager, it says 'Sockets: 1'.

That number doesn't matter at all.  When you have more than 64 logical
processors, you will have processor groups regardless of topology.
Below that threshold processor group configuration can be influenced
both by BIOS settings and Windows boot parameters.  The TL;DR; is that
you should configure your box to have a single processor group whenever
possible unless your applications either never use enough threads to
need more threads than there are in any single group or they are
processor group aware.  The latter thing means you need to assign each
thread that should run on a different processor group than the main
program manually to its respective group unless you run on Windows 11 /
Windows Server 2022 or later.  There is a set of new functions to
control that behaviour whose interaction with the old affinity interface
and defaults is not very clearly documented.

So it seems your best bet would be to either modify your application or
upgrade to Win11.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


More information about the Cygwin mailing list