Wine support 4core CPU?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
psychok9
Level 2
Level 2
Posts: 34
Joined: Wed May 14, 2008 10:30 am

Wine support 4core CPU?

Post by psychok9 »

Wine support Intel quad-core cpu?
Thank you.
John Drescher

Wine support 4core CPU?

Post by John Drescher »

On Wed, May 14, 2008 at 1:15 PM, psychok9 <[email protected]> wrote:
Wine support Intel quad-core cpu?
Thank you.
Yes wine supports whatever amount of cpu cores you have.

John
James McKenzie

Wine support 4core CPU?

Post by James McKenzie »

John Drescher wrote:
On Wed, May 14, 2008 at 1:15 PM, psychok9 <[email protected]> wrote:
Wine support Intel quad-core cpu?
Thank you.

Yes wine supports whatever amount of cpu cores you have.

John

It only uses on core at a time. There is an issue referencing this.

James McKenzie
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine support 4core CPU?

Post by vitamin »

James McKenzie wrote:It only uses on core at a time. There is an issue referencing this.
Wrong. :!:

Wine uses everythin available to the system. If your system sees all those 4 cores, then Wine will happily use all those 4 cores.
psychok9
Level 2
Level 2
Posts: 34
Joined: Wed May 14, 2008 10:30 am

Re: Wine support 4core CPU?

Post by psychok9 »

vitamin wrote:
James McKenzie wrote:It only uses on core at a time. There is an issue referencing this.
Wrong. :!:

Wine uses everythin available to the system. If your system sees all those 4 cores, then Wine will happily use all those 4 cores.
Great! I want buy 4Core Intel cpu for maximize my WOW performance on Linux and play and relax without drop-down of framerates :)
I've an 8800 GT and Wine use OpenGL library.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine support 4core CPU?

Post by vitamin »

psychok9 wrote:
vitamin wrote:
James McKenzie wrote:It only uses on core at a time. There is an issue referencing this.
Wrong. :!:

Wine uses everythin available to the system. If your system sees all those 4 cores, then Wine will happily use all those 4 cores.
Great! I want buy 4Core Intel cpu for maximize my WOW performance on Linux and play and relax without drop-down of framerates :)
I've an 8800 GT and Wine use OpenGL library.
And why do you think it will be faster then 1 or 2 core? You have not asked about game performance. You asked "can Wine use?" - yes it can. But depends.

Wine coded in a way that it can use only one CPU/core for d3d/opengl/GUI at one given time. Besides most games won't benefit from all those extra cores running around. 2 faster CPUs/cores are better then 4 slower ones.
psychok9
Level 2
Level 2
Posts: 34
Joined: Wed May 14, 2008 10:30 am

Post by psychok9 »

Oky, more faster 2core cpu :)
Thank you for answer, and sorry for my english :)
Sleaka J
Level 2
Level 2
Posts: 29
Joined: Wed Feb 27, 2008 7:43 am

Post by Sleaka J »

I didn't think World of Warcraft was multi-threaded.
John Drescher

Wine support 4core CPU?

Post by John Drescher »

On Fri, May 16, 2008 at 2:18 PM, Sleaka J <[email protected]> wrote:
I didn't think World of Warcraft was multi-threaded.
It is but it does not make good use of more than one core even on windows.
John
James McKenzie

Wine support 4core CPU?

Post by James McKenzie »

vitamin wrote:
James McKenzie wrote:
It only uses on core at a time. There is an issue referencing this.
Wrong. [Exclamation]

Wine uses everythin available to the system. If your system sees all those 4 cores, then Wine will happily use all those 4 cores.


Is Wine cleanly multi-threaded? I did not think it was. Thus it will
happily use one Core (as it does here) and leave the rest of the system
for other applications. I've run 99.5% on one program with the other
core left alone. Maybe, I'm reading that incorrectly then. BTW, I have
an Intel Duo Core on my system here.

James McKenzie
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine support 4core CPU?

Post by vitamin »

James McKenzie wrote:Is Wine cleanly multi-threaded?
Well yes it uses posix threads when they are available (most platforms now days).

The only two bottlenecks I can think of - wineserver and x11lock. Wineserver is single-threaded. And x11lock - used to limit all communications with X11 server to one thread at a time.
James McKenzie

Wine support 4core CPU?

Post by James McKenzie »

vitamin wrote:
James McKenzie wrote:
Is Wine cleanly multi-threaded?
Well yes it uses posix threads when they are available (most platforms now days).

Thank you for clearing this up. As I stated I have two cores and maybe
MacOSX is not POSIX thread compliant.
The only two bottlenecks I can think of - wineserver and x11lock. Wineserver is single-threaded. And x11lock - used to limit all communications with X11 server to one thread at a time.
Maybe that is where I got the one-thread for Wine from.

This old dog is never too old to learn new tricks.

James McKenzie
ulberon
Level 2
Level 2
Posts: 37
Joined: Wed Apr 16, 2008 3:43 am

Post by ulberon »

Has wine bothered messing with CPU affinity? For instance, binding all other wine processes and threads to other cores, cores that the GUI/OpenGL/D3D is not running on?
Paul Johnson

Wine support 4core CPU?

Post by Paul Johnson »

On Saturday 17 May 2008 03:58:01 pm ulberon wrote:
Has wine bothered messing with CPU affinity? For instance, binding all
other wine processes and threads to other cores, cores that the
GUI/OpenGL/D3D is not running on?
Am I wrong in thinking that the Linux scheduler is smart enough to not assign
additional work to a core grinding on something heavy? If not, what benefit
would second-guessing the scheduler bring?

--
Paul Johnson
[email protected]

Explaination of .pgp part: http://linuxmafia.com/faq/Mail/rant-gpg.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
ulberon
Level 2
Level 2
Posts: 37
Joined: Wed Apr 16, 2008 3:43 am

Post by ulberon »

Just based on some limited testing, yes, you are incorrect in thinking that the Linux Scheduler is smart enough not to assign additional work. It passes the process around the cores like a party favor.

I was just curious if anyone pursued it, there are performance benefits to binding a process to a specific core (in the general case), increased cache hits being one. To cut to the chase, I think there would be performance benefits to binding the opengl/d3d process to a core, and binding the other processes to the remaining cores.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

ulberon wrote:Has wine bothered messing with CPU affinity? For instance, binding all other wine processes and threads to other cores, cores that the GUI/OpenGL/D3D is not running on?
You can't know which thread might do d3d/opengl/gui. It's all up to application.
Locked