Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Gaming > how to enable dual processor support for games?

how to enable dual processor support for games?
Thread Tools
nycdunz
Senior User
Join Date: Aug 2002
Status: Offline
Reply With Quote
Jun 11, 2005, 04:31 AM
 
i heard most games only use single processor. if you have a dual processor machine, you need to activate it via terminal. Is this true? If so, how does one do this? i heard this works for games like doom 3, call of duty, etc..
     
Buck_Naked
Mac Enthusiast
Join Date: Sep 2000
Location: Silicon Valley The home of empty office buildings
Status: Offline
Reply With Quote
Jun 11, 2005, 04:04 PM
 
The game/ applications needs to be coded for dual processors.
     
Kristoff
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jun 13, 2005, 06:21 PM
 
That's not quite true either.

For the most part, OS X thread scheduler does a good job splitting the load on it's own, assuming the game is reasonably multi-threaded.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Leonard
Professional Poster
Join Date: Mar 2000
Location: Ottawa, Ontario, Canada
Status: Offline
Reply With Quote
Jun 14, 2005, 11:48 AM
 
Originally Posted by Kristoff
assuming the game is reasonably multi-threaded.
That's what he meant by the app must be coded for it!

Very few games are coded for multi-processors. As far as I'm aware, only Quake 3, Jedi Knight 2, and possibly RTCW is dual processor aware. UT2003 and UT2004 had the ability to offload the sound onto the second processor, but it really didn't help much. As far as I know Doom 3 is not dual processor aware.

The good news is that future games like UT2007 will be made for dual processors and dual core chips, largely because the Intel world has hit the Mhz wall and is realizing, finally, that dual cores is the way to go.
Mac Pro Dual 3.0 Dual-Core
MacBook Pro
     
Kristoff
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jun 15, 2005, 03:14 AM
 
No, you missed what I said.

Most current games are indeed multithreaded. Multithreaded programming has nothing to do with processor count per se, but the Mach scheduler does a good job of load balancing threads.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Leonard
Professional Poster
Join Date: Mar 2000
Location: Ottawa, Ontario, Canada
Status: Offline
Reply With Quote
Jun 15, 2005, 03:24 PM
 
While yourright that the OS X scheduler does a great job of balancing processor load, most games are not multi-threaded and therefore about all the scheduler can do is put the game on one processor and balance the rest of the OS threads around it. What needs to happen and is happening slowly, is to get games multi-threaded.

Running Quake 3 with SMP on and off shows off the difference quite dramatically (if I remember correctly), as putting SMP on will almost double framerates.
Mac Pro Dual 3.0 Dual-Core
MacBook Pro
     
Kristoff
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jun 16, 2005, 12:03 PM
 
When I run RTCW ET, it spawns 6 threads and the CPU load is spread across 2 cpus.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
Horsepoo!!!
Banned
Join Date: Jun 2003
Status: Offline
Reply With Quote
Jun 16, 2005, 01:10 PM
 
There's an on/off switch for the second processor at the back of the computer.
     
Scotttheking
Moderator Emeritus
Join Date: Dec 2000
Location: College Park, MD
Status: Offline
Reply With Quote
Jun 16, 2005, 05:47 PM
 
Originally Posted by Kristoff
When I run RTCW ET, it spawns 6 threads and the CPU load is spread across 2 cpus.
Originally Posted by Leonard
That's what he meant by the app must be coded for it!

Very few games are coded for multi-processors. As far as I'm aware, only Quake 3, Jedi Knight 2, and possibly RTCW is dual processor aware.
mmm
My website
Help me pay for college. Click for more info.
     
Brad Oliver
Aspyr Staff
Join Date: Nov 2001
Location: Glendale, AZ
Status: Offline
Reply With Quote
Jun 16, 2005, 07:16 PM
 
Originally Posted by Kristoff
When I run RTCW ET, it spawns 6 threads and the CPU load is spread across 2 cpus.
5 of those threads originate from the OS, and have such a low load that they're negligible for most cases. You're not going to see it eating up 200% CPU time (the max for a 2 CPU system), that's for sure.
Brad Oliver
bradman AT pobox DOT com
     
Brad Oliver
Aspyr Staff
Join Date: Nov 2001
Location: Glendale, AZ
Status: Offline
Reply With Quote
Jun 16, 2005, 07:17 PM
 
Originally Posted by Kristoff
Most current games are indeed multithreaded.
Technically, this isn't true. Most current games are single-threaded. They may spawn off a few more threads as you noted in your other post, but these are really coming from within the OS and the services it provides, and they don't really help performance in a measurable fashion.
Brad Oliver
bradman AT pobox DOT com
     
jman
Fresh-Faced Recruit
Join Date: Feb 2002
Location: RI
Status: Offline
Reply With Quote
Jun 16, 2005, 07:31 PM
 
Originally Posted by Horsepoo!!!
There's an on/off switch for the second processor at the back of the computer.
Does my powerbook have this switch?



j/k
     
Leonard
Professional Poster
Join Date: Mar 2000
Location: Ottawa, Ontario, Canada
Status: Offline
Reply With Quote
Jun 20, 2005, 11:59 AM
 
Thanks for your replies, Brad. I should have remembered that the other threads are OS threads.
Mac Pro Dual 3.0 Dual-Core
MacBook Pro
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 01:09 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,