r/AskComputerScience • u/KING-NULL • Nov 24 '25
Why are videogames consume so much compute and storage and why don't developers optimize that?
Title
0
Upvotes
r/AskComputerScience • u/KING-NULL • Nov 24 '25
Title
20
u/dr1fter Nov 24 '25
Some of it is basic economics, and some of it is games actually doing an impressive amount of work with an impressive amount of content.
15
u/axiom_tutor Nov 24 '25
Video games try to create fast, life-like, detailed, complex media. If a computer can withstand 100 units of abuse, video game developers will use up 99.9 of them, trying to make the game as cool as possible. And for that we are all grateful, because they games are extremely cool.
10
u/OpsikionThemed Nov 24 '25
Because most games these days, especially the really resource-hungry ones, contain an entire physics simulation which is then presented photorealistically to the player. That's a heck of a lot more expensive than... honestly, most things a consumer will do with their computer. Game engines are optimized to hell and back, it's just that even optimized, there's still a ton of CPU/GPU/RAM that needs to be used.
5
u/teraflop Nov 24 '25
This is kind of like asking "why do skyscrapers consume so much steel and concrete and glass, and why don't builders optimize that?"
There's a certain minimum amount of material needed to build a structure that supports a given floor area, weight, etc. Architects and engineers do optimize as much as possible, within those constraints. But that optimization just enables them to build bigger skyscrapers for the same cost.
The same general principle applies to games. The more the engineers optimize the game's code, the more content/physics/detail/effects/etc. the game designers can add while still maintaining reasonable performance.
3
u/dmazzoni Nov 24 '25
Games use so much storage because they have entire worlds - levels, maps, enemies, stories, music.
They use so much compute because they're rendering the whole world in real time as you play. Every frame you see on your screen had to be generated from scratch by your computer / console based on the way you played it.
Developers do optimize it. Many games start out 10x larger and slower before they start optimizing.
Optimizing takes a lot of work, so they stop when it's "good enough". Making a game twice as small isn't going to result in twice as many sales.
2
u/Adorable-Fault-5116 Nov 24 '25
I'm not sure this question is thought through.
What specific thing do you think they can be using less of, and why?
More broadly though, the generic answer is the same answer for all software: priorities. I'm not necessarily saying that anything could be faster or could use less storage, but if it could it's a higher priority to do anything else.
Fundamentally unless people stop buying badly constructed things (software or otherwise) people won't stop making them.
2
u/Life_Equivalent1388 Nov 24 '25
There's a simple answer to this:
When people buy a game, how often do they look at how much storage and "compute" is used?
How often do they care about how good it looks, how fun it is, how realistic it is, and how long they can play it for?
If you make the game look better, it can increase the size of assets increasing storage, if you make it more realistic, it can take more compute, if you create more content, it can increase the amount of storage needed.
Has anyone ever bought one game instead of another because "Game X packs its assets better than Game Y and uses 10% less disk space than if they didn't compress their assets as good?"
In the quarterly report to shareholders, do publishers report how many people bought their game, how much players enjoyed the game, how long they played the game? Or do they report on how much they reduced the storage requirements, or the computational demands?
Unless those things are impacting players experience directly (IE: bad performance, people can't load the game on to their hardware) it won't really be a concern.
2
u/gnygren3773 Nov 24 '25
(*Why do) There is some optimization but ultimately deadlines and budget are more important. There goal is to be able to run well on their most used system whether that be a console, pc, mobile, etc.
1
u/Ok-Lavishness-349 MSCS Nov 24 '25
Rendering realistic 3-D images from various points of view is inherently compute intensive. And, these images need to reflect the choices made by the game players, diverse reactions from the NPCs and so forth, so the images must be calculated in real time. In fact, games are highly optimized to reduce the amount of calculation as much as practicable; were this not the case, games would not be nearly as responsive and realistic as they are.
1
u/Separate_Emu7365 Nov 24 '25
Because most video games rely on high-quality resources (sounds, textures, 3D models...) and loss-less compression has its limits.
1
u/Informal_Escape4373 Nov 24 '25
Often not the choice of the developers but the company/management. If it isn’t necessary and doesn’t make money then it’s a loss of money
1
u/Possible_Cow169 Nov 24 '25
Lol. Why do you assume they aren’t optimizing.
Capitalism.
1
u/curiouslyjake Nov 24 '25
Because rendring realisric worlds is hard. Not only that, but rendring every frame faster than 15 miliseconds to get a smooth 60 FPS experience is even harder. You use plenty of storage to both store in-game assests for worlds that keep getting bigger and also to precompute some stuff that you can load later to help fit in those 15 ms.
As for optimizations - often there's much to be done but it costs a lot of money. Once your game runs fast enough on hardware that is common enough - that's good enough.
1
u/dariusbiggs Nov 24 '25
They do, there is significant effort spent in improving and optimizing the core game engines, just look at the Unreal engine details for example and the changes between versions.
But it is also the case of utilizing as many resources as you can to improve the experience of the player. The more that is available the more the game can do. The larger the render distance, the detail level, the physics for scenery objects in the game.
The fewer resources available the less the game can do, so you reduce the render distance, the level of detail, the cap on objects that can be in the game, etc.
There's a balance point that needs to be achieved where the game is still playable throughout to end game whilst still providing the experience the developers intended.
1
u/PhilNEvo Nov 25 '25
Because it's not worth it from a business standpoint. Keep in mind, games are usually made by businesses to earn money.
1
u/[deleted] Nov 24 '25
[removed] — view removed comment