https://bugs.winehq.org/show_bug.cgi?id=43277
--- Comment #51 from Hans Leidekker hans@meelstraat.net --- (In reply to Austin English from comment #50)
(In reply to Hans Leidekker from comment #48)
Created attachment 65276 [details] hack
Here's a hack that allows you to restrict Wine processes to a subset of the available cores. You can pass a CPU mask through the WINECPUMASK environment variable:
$ WINECPUMASK=0xff wine ...
This will tie Wine processes (including wineserver) to the first 8 cores. It will also limit the number of reported cores to 8.
Wouldn't taskset/cpuset be simpler?
They will allow you to set process affinity just the same, but they don't limit the number of cores reported to Windows apps.