https://bugs.winehq.org/show_bug.cgi?id=43277
--- Comment #31 from Berillions berillions@gmail.com --- Created attachment 61054 --> https://bugs.winehq.org/attachment.cgi?id=61054 wineserver set to 2 cpus with htop
(In reply to Ivan Kalvachev from comment #30)
(In reply to Matteo Bruni from comment #29)
If someone has any other idea how Wine could be implicated in the bug, that would be interesting too.
I'd ask the user to try `taskset` utility and set CPU affinity to the `wineserver` so it is executed on a specific core/cpu_thread. Alternatively `htop` and pressing `a` might be used.
The `wineserver` process is single threaded and used for a number of windows kernel core function. Having it cause lag or delay would slow down all wine controlled threads.
If you look at this https://github.com/iXit/Mesa-3D/issues/313#issuecomment-379089675 benchmark, you can see that `wineserver` is using about 6 times more CPU in the threaded case.
As I've explained in the other thread: In Ryzen, 2 physical cores form a NUMA node that share L2 cache. Moving a process to another node means it looses all cached data. So this would lead to huge increase in CPU usage.
Hi Ivan,
I tried your suggestion 5 minutes ago and unfortunatly, it does not work for me. Like you suggested, i used htop to set "wineserver" to a single core and i use the core #6 (cpu #11 & #12) like you can see on the screenshot.
maybe i did something wrong but i did this way : 1- Launch Uplay to create wineserver process 2- Launch htop in a console and set cpu #11/#12 like on the screenshot 3- Launch FarCry 3 from UPlay
Result : Still have the same bad perf (~10-15FPS)
I tried to set "wineserver" on only one cpu (cpu#12) without success too.