I had a chat on reddit about RAM use and it inspired me to check out multiple games to see just how much RAM you should be looking to have as a Linux gamer. Part of my thought pattern here is that I tend to leave a bunch of applications open when gaming (Discord, Telegram, IRC, Chrome) and I imagined other people did too. So I wondered: Just how much RAM will games use up and is 8GB still okay for now?
These tests were done on my main machine with 16GB RAM and XFCE which is quite light on RAM use compared to other desktops.
I also did a Twitter and Telegram poll to see if people generally leave background applications running like me. Both polls were very much one-sided with people leaving applications open in the background.
The tests
My system uses about approximately 1.07GB RAM with just Steam open by itself, so I will use that as the figure when adding things together.
I chose some games that I felt would be quite hard-hitters or popular amongst Linux gamers, considering these tests take quite a while to do I do have to keep it to a limit.
This is not the RAM used at the end of the session, but the maximum the game requested to use throughout the time spent in it. This does not include cache (which can differ from machine to machine), just the actual RAM being used.
ARK Survival Evolved: High details, 1 hour playtime.
Game RAM Use: 7.3GB
Total with Steam + Desktop: 8.37GB
HITMAN: Ultra details, SSAO off. About 30 Minutes playtime.
Game RAM Use: 5.6GB
Total with Steam + Desktop: 6.67GB
DiRT Rally: Ultra details, 4xMSAA. Daily event, Rallycross custom event plus a Championship stage.
Game RAM Use: 4.8GB
Total with Steam + Desktop: 5.87GB
Dying Light: High details, AA on. About 30 Minutes playtime.
Game RAM Use: 5.7GB
Total with Steam + Desktop: 6.77GB
Cities Skylines: High details, AA on. About 30 Minutes playtime.
Game RAM Use: 5GB
Total with Steam + Desktop: 6.07GB
That was only on a small scenario too.
I did additional tests with Cities, one with a 100K population.
Game RAM Use: 5.8GB
Total with Steam + Desktop: 6.87GB
A 1 Million population city.
Game RAM Use: 6.7GB
Total with Steam + Desktop: 7.77GB
Rocket League, 1v1, 2v2 and a two 3v3 matches
Game RAM Use: 2.2GB
Total with Steam + Desktop: 3.27GB
Looking at my simple testing, it is entirely possible and relatively easy to stick with 8GB RAM for now, as long as you close most of your background applications. However, if you are on 8GB RAM you will want to be careful about how much you leave open, especially considering how close to 8GB my short sessions were in some, as RAM use will likely creep up in longer sessions.
I will recommend at least 16GB RAM to ensure you have breathing room without the nuisances of closing everything possible before gaming. Not only that, but it will give you room to grow as our games are getting bigger and bigger. It would be silly to buy 8GB now and if you are still on 8GB this might give you something to think about.
You should always aim to have some breathing room with RAM for any issues encountered in games and extras you need to run behind them at any time.
If you have ideas for tests for me to do at any time, feel free to pop a message in the comments or email me.
These tests were done on my main machine with 16GB RAM and XFCE which is quite light on RAM use compared to other desktops.
I also did a Twitter and Telegram poll to see if people generally leave background applications running like me. Both polls were very much one-sided with people leaving applications open in the background.
The tests
My system uses about approximately 1.07GB RAM with just Steam open by itself, so I will use that as the figure when adding things together.
I chose some games that I felt would be quite hard-hitters or popular amongst Linux gamers, considering these tests take quite a while to do I do have to keep it to a limit.
This is not the RAM used at the end of the session, but the maximum the game requested to use throughout the time spent in it. This does not include cache (which can differ from machine to machine), just the actual RAM being used.
ARK Survival Evolved: High details, 1 hour playtime.
Game RAM Use: 7.3GB
Total with Steam + Desktop: 8.37GB
HITMAN: Ultra details, SSAO off. About 30 Minutes playtime.
Game RAM Use: 5.6GB
Total with Steam + Desktop: 6.67GB
DiRT Rally: Ultra details, 4xMSAA. Daily event, Rallycross custom event plus a Championship stage.
Game RAM Use: 4.8GB
Total with Steam + Desktop: 5.87GB
Dying Light: High details, AA on. About 30 Minutes playtime.
Game RAM Use: 5.7GB
Total with Steam + Desktop: 6.77GB
Cities Skylines: High details, AA on. About 30 Minutes playtime.
Game RAM Use: 5GB
Total with Steam + Desktop: 6.07GB
That was only on a small scenario too.
I did additional tests with Cities, one with a 100K population.
Game RAM Use: 5.8GB
Total with Steam + Desktop: 6.87GB
A 1 Million population city.
Game RAM Use: 6.7GB
Total with Steam + Desktop: 7.77GB
Rocket League, 1v1, 2v2 and a two 3v3 matches
Game RAM Use: 2.2GB
Total with Steam + Desktop: 3.27GB
Looking at my simple testing, it is entirely possible and relatively easy to stick with 8GB RAM for now, as long as you close most of your background applications. However, if you are on 8GB RAM you will want to be careful about how much you leave open, especially considering how close to 8GB my short sessions were in some, as RAM use will likely creep up in longer sessions.
I will recommend at least 16GB RAM to ensure you have breathing room without the nuisances of closing everything possible before gaming. Not only that, but it will give you room to grow as our games are getting bigger and bigger. It would be silly to buy 8GB now and if you are still on 8GB this might give you something to think about.
You should always aim to have some breathing room with RAM for any issues encountered in games and extras you need to run behind them at any time.
If you have ideas for tests for me to do at any time, feel free to pop a message in the comments or email me.
Some you may have missed, popular articles from the last month:
I am using by default 32GB Ram on every setup I have build so far and I Am thinking to get 64GB
These applications are open by default when the computer starts
Clementine (-2nd monitor)
Vivaldi (tabs open : tweetdeck,gmail,outlook,youtube,facebok) - 2nd Monitor
Chrome (for netflix) - 3rd Monitor TV
4-5 Plasma Widgets - 2nd Screen
Thunderbird - Main Screen
Cairo - Dock (2x docks - up and down)
2x - Plasma Panels
Firefox as main browser with over 15-20 Tabs
Steam
octopi
caffeine
KDE Connect
and maybe some more when I have lots of work to do ... and no I dont have time to close any of these applications in order to launch a game when I Want to rest a bit...
I am using preload in order to have my system take advantage of all the RAM I have in order to prefetch the applications I Am using more often.
These applications are open by default when the computer starts
Clementine (-2nd monitor)
Vivaldi (tabs open : tweetdeck,gmail,outlook,youtube,facebok) - 2nd Monitor
Chrome (for netflix) - 3rd Monitor TV
4-5 Plasma Widgets - 2nd Screen
Thunderbird - Main Screen
Cairo - Dock (2x docks - up and down)
2x - Plasma Panels
Firefox as main browser with over 15-20 Tabs
Steam
octopi
caffeine
KDE Connect
and maybe some more when I have lots of work to do ... and no I dont have time to close any of these applications in order to launch a game when I Want to rest a bit...
I am using preload in order to have my system take advantage of all the RAM I have in order to prefetch the applications I Am using more often.
0 Likes
8GB and I haven't experienced any swapping yet while gaming. I don't play modded Cities Skylines though.
2 Likes, Who?
I had 8GB and experienced some swapping in some games (so I had to close firefox when I was playing such games)
Lately I upgraded to 16GB and now there's no swapping anymore.
Lately I upgraded to 16GB and now there's no swapping anymore.
1 Likes, Who?
Pffeeew... my very recent upgrade to 8GB was definitely a good thing. It was just becoming too unplayable. But I bit the bullet and tried some "AMD-only" DDR2, which worked just fine (although it seems slower than my former one).
I lost a few FPS in some games, but it's nice not to leave with swap's damocles sword. I don't mind background apps being moved to swap (that's what it's for), but not games that are in the foreground.
I think we definitely need an easier way to configure zram and zswap.
I lost a few FPS in some games, but it's nice not to leave with swap's damocles sword. I don't mind background apps being moved to swap (that's what it's for), but not games that are in the foreground.
I think we definitely need an easier way to configure zram and zswap.
0 Likes
Linux Mint 18 64bits Xfce
Intel Core i5 4590 (4 x 3,3 GHz)
MSI GeForce GTX 960 @ 2 Go
8 Go DIMM DDR3 PC12800
I usually have Firefox open, and Steam, Itchio or nothing, depending on games, and so far i'm still satisfied with my setup. I bought it i think about 3 years ago, and i play i'd say 75% indi games, often "low tech", but sometimes AAA too (MadMax, Rocket League, Warhammer...). Sure i don't play "Ultra", but it's good enough, so far.
Intel Core i5 4590 (4 x 3,3 GHz)
MSI GeForce GTX 960 @ 2 Go
8 Go DIMM DDR3 PC12800
I usually have Firefox open, and Steam, Itchio or nothing, depending on games, and so far i'm still satisfied with my setup. I bought it i think about 3 years ago, and i play i'd say 75% indi games, often "low tech", but sometimes AAA too (MadMax, Rocket League, Warhammer...). Sure i don't play "Ultra", but it's good enough, so far.
0 Likes
I have 32 GB and managed to consume it only once, with Cities, a Firefox with several tabs, and several VMs started. The box started to become damn slow, and closing Cities fixed the issue.
BTW on that box I use KDE as my DE.
BTW on that box I use KDE as my DE.
0 Likes
Quoting: wolfyrionThese applications are open by default when the computer startsJust curious, is there any reason at all not to close most of these apps when you're not actually actively using them? You can easily install a single indicator to watch your mail boxes at least? And surely you don't listen to music while you watch netflix and play games? Your decision of course, I just don't understand why anyone would do this.
[Massive list of apps]
0 Likes
Quoting: tomaszgDid you include "Buffers and cache" size for your calculation of total RAM used? For example for War Thunder I get around 4.5GB used (while the game is minimised) and additional 5.5GB used for cache. This extra memory is also important from the point of view of performance.Since Linux memory management is quite complicated at the best of times, this was a simple test using system monitors to check total listed RAM use. Going through virtual, shared, cache and so on is a bit out of our scope and current knowledge.
0 Likes
Quoting: gojulI have 32 GB and managed to consume it only once, with Cities, a Firefox with several tabs, and several VMs started. The box started to become damn slow, and closing Cities fixed the issue.
BTW on that box I use KDE as my DE.
Linux will happily assign all available RAM to cache and buffers, but it does not mean that it NEEDS that much memory. It will also reassign that memory to processes as needed.
Edit: I just saw you had some VMs running - that's a different story then because you can use as much memory as you want.
Last edited by FredO on 6 March 2017 at 9:43 am UTC
0 Likes
It seems Linux versions of games consume much more RAM than Windows versions. Why?
0 Likes
See more from me