Multi-cores, multi-threading and the future of gaming

voodooking

Distinguished
Mar 2, 2012
298
0
18,810
Question: Are programmers going to continue to develop games that use multi cores and threading?

I don't know what I am talking about and I am looking to learn more. So please feel free to post some links that can help out. I have been learning that programmers are starting to integrate the use of more cores in their games. They make it sound like it's difficult to program a game to use hyper-threading. I am assuming that multi-core and hyper-threading are two different things. I know that some games use hyper-threading like Dirt III. As you can read here, I am confused. I would like to know if you guys have some insight as to what the future is going to be as far as gaming is concerned.

Thanks in advance,

Jim
 
Solution

The main choke point for games is the control loop that manage user interactions. Since almost everything in the game depends on the outcome of user interactions and calculating those outcomes may have multiple inter-dependencies, trying to multi-thread that code would result in multiple threads being stalled on mutexes most of the time, little to no net gain and much higher potential for bugs to creep up.
Only one game is known to actually perform better with more cores (battlefield 3) however, games are becoming more and more gpu dependent. So developers will focus on developing their games to be more optimized on either nvidia or amd's graphics architectures.
 
This is how it goes with gaming a lot: Every year new games require more CPU power, but most CPUs can already handle the load if you buy a modern CPU. Games are really focusing on the graphics though, so if you buy a good quad core (I would suggest an ivy bridge i5 because so are right around the corner) and then just upgrade the graphics card you should be fine. The current line of Sandy Bridge CPUs are great and will last years to come because games just don't need all the power they provide. If you are looking for an upgrade and already have a decent CPU the graphics is where you should be looking. :)
 
The vast majority of games still only use two cores. The number of games that can use more than two core will be rather small in comparison.

Still a quad core CPU can benefit games that only use 2 or 3 cores since the background processes can make use of the free core(s). It also allows you to multi-task while playing a game, like encoding a video.
 

InvalidError

Titan
Moderator

The main choke point for games is the control loop that manage user interactions. Since almost everything in the game depends on the outcome of user interactions and calculating those outcomes may have multiple inter-dependencies, trying to multi-thread that code would result in multiple threads being stalled on mutexes most of the time, little to no net gain and much higher potential for bugs to creep up.
 
Solution