Wine build that would detect only one CPU core

Questions about Wine on macOS.
Locked
RvOHu9z6hcli
Newbie
Newbie
Posts: 2
Joined: Tue Mar 12, 2013 2:50 pm

Wine build that would detect only one CPU core

Post by RvOHu9z6hcli »

Is it possible to create a special Wine build for Mac OS X that would recognize only one of the processor cores? This could be useful for those who play old games.

Right now, the only alternative is to disable CPU cores system-wide.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine build that would detect only one CPU core

Post by dimesio »

doh123
Level 8
Level 8
Posts: 1227
Joined: Tue Jul 14, 2009 1:21 pm

Re: Wine build that would detect only one CPU core

Post by doh123 »

besides disabling cores system wide.. i have no idea how to do it. I used to have that built in to Wineskin (actually the option is still in Wineskin), but it doesn't work most of the time any more since it needs command line hwprefs which Apple nuked off machines... but it was still a system wide disable.

I don't think this is something that Wine should worry about,its a OS X thing.
RvOHu9z6hcli
Newbie
Newbie
Posts: 2
Joined: Tue Mar 12, 2013 2:50 pm

Re: Wine build that would detect only one CPU core

Post by RvOHu9z6hcli »

So the nice affinity implementation is not possible, but maybe you can think of some dirty hack (this WON'T BE an official build)?

On the Internet you can find info about the function utilBindThreadToCPU(), for example, on this blog -- http://ridiculousfish.com/blog/posts/barrier.html Could it be of any use? At least theoretically?
Locked