[Bug 52968] CPU BoostTester manages to run only on real cores in Windows, but not with wine

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 6 14:05:45 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52968

Sveinar Søpler <cybermax at dexter.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cybermax at dexter.no

--- Comment #1 from Sveinar Søpler <cybermax at dexter.no> ---
Interesting. Seems to be that way on I7 8700K aswell, doing core 0-2-4-6-8-10,
and afaik my real cores are 0-1-2-3-4-5.

Using these two patches:
https://github.com/ValveSoftware/wine/commit/ec795b741d316ae18ab68dc0b75b2df91855fd04
https://github.com/ValveSoftware/wine/commit/5381caf1be5fb176f623ca96b3cd72f7a1154f9e

And setting "WINE_LOGICAL_CPUS_AS_CORES=1" makes this BoostTester run through
all cores+threads, so guess it is some sort of detection thing from wine.
Maybe the real/threads layout is different for various package types, and wine
would need some sort of mechanic to get this from kernel (possibly not easily
obtainable from userspace), or one would need a cpu-id thing for
"most-popular-cpus" with a fallback to what it is now?

Not a solution to the issue, but atleast something to experiment with if you
want to.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list