Skip to content

Future for multi-core CPU usage in gaming

I’m not sure if this is more of a software developer or engineering question, but I’d thought I’d ask here.

While a majority of PC games are optimized for single core usage, do you think there is a future seeing developers utilizing additional CPU cores / threads for running their games. While the race for more and more cores stuffed into a desktop continues (ex. AMDs upcoming 3950x which is really more of a productivity CPU but I digress), you don’t hear about AAA PC games being programmed to take advantage of these features. I’m just wondering why that is.

0 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
dxynrg

Author

1
posts
1
comments
0
media
View profile

4 comments

Actually, many game engines will utilize multiple cores, given that your assets are optimized to facilitate parallelization.

2 points

Well, to be honest it's been quite a while since game devs started crazing over using all available cores instead of putting everything onto the main thread.

Sure, a lot of simpler games can make do with single thread performance so there's not much of a reason to parallelize there (although as @shbeeb has mentioned, a lot of engines that those games use might do a lot of threading under the hood. However, in the AA and AAA world you simply can't make a compelling enough game without at least trying your best to utilize all of the cores available, especially on consoles.

Heck, AA-AAA games were using many cores even before the PS3-XBox360 era.

So yeah, it's not the future, it's the present. And you do hear about it, you just gotta know where to look. Here's a very interesting GDC talk, Naughty Dog went to insane length to utilize all of the PS4's cores for the Last of Us remaster: https://www.gdcvault.com/play/1022186/Parallelizing-the-Naughty-Dog-Engine

Here's similar talk from Bungie: https://www.youtube.com/watch?v=v2Q_zHG3vqg

2 points

I can tell of at least one direction in game development, which heavily utilises multiple threads and thus -- CPU cores as well. This is voxel graphics.

Voxels aren't directly supported by GPUs as polygonal graphics is. Thus voxel engine programmers have two alternatives: either embed some CUDA-like code in program to take advantage of GPU, or to perform voxel related calculations with CPU and here one thread of i5 or i7 is nowhere near enough.

I, for example, am developing voxel engine for my RTS "Land of Sand", ray casting in which requires a lot of calculations. To speed this up I divide screen in 8 vertical sections and to render each frame launch 8 simultaneous threads drawing respective vertical section of picture.

I believe voxel engines in games like Outcast use multiple threads in similar fashion.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.