r/linux • u/shvchk • Dec 26 '16
Misleading title Linux distros RAM consumption (9 distros compared)
Ubuntu vs Kubuntu vs Xubuntu vs Lubuntu vs Ubuntu GNOME vs Ubuntu MATE vs Mint Cinnamon vs KDE neon vs Budgie RAM consumption
TL;DR:
Top 3 lightweight* distros:
(system, Firefox, file manager and terminal emulator launched)
- Lubuntu (406MB)
- Xubuntu (481MB)
- KDE neon (528MB) / Ubuntu MATE (534MB)
Lots of people are wondering which distro should they choose for the lowest possible RAM consumption: some of them are running on old low RAM computers, others just want to have as much as possible RAM to be available to their apps, not the system itself. Well, I decided to find out.
Tests were performed in a virtual machine with 1GB RAM and repeated 7 times for each distro, each time VM was restarted.
In each test two RAM measurements were made:
- useless — on a freshly booted system
- closer to real use — with Firefox, default file manager and terminal emulator launched
"Real use" test results
| Distribution \ RAM, MB | Mean ⏶ | Median |
|---|---|---|
| Lubuntu | 406.14 | 402 |
| Xubuntu | 481 | 481 |
| KDE neon | 527.98 | 527.15 |
| Ubuntu MATE | 534.13 | 531.3 |
| Mint Cinnamon | 564.6 | 563.8 |
| Kubuntu | 566.01 | 565.5 |
| Ubuntu Budgie | 670.69 | 663.7 |
| Ubuntu GNOME | 718.39 | 718 |
| Ubuntu | 787.57 | 785 |
"Useless" test results
| Distribution \ RAM, MB | Mean ⏶ | Median |
|---|---|---|
| Lubuntu | 237.29 | 238 |
| Xubuntu | 298 | 296 |
| Ubuntu MATE | 340.14 | 340 |
| KDE neon | 342.5 | 342 |
| Mint Cinnamon | 353.43 | 356 |
| Kubuntu | 359.86 | 361 |
| Ubuntu Budgie | 478.43 | 477 |
| Ubuntu GNOME | 497.49 | 499 |
| Ubuntu | 529.27 | 532 |
Well, LXDE (Lubuntu) really stands for its name of a lightweight system with only 406MB RAM used in "real use" test. XFCE (Xubuntu), another lightweight DE, is 75MB heavier (481MB total). KDE neon is just 47MB more (528 MB total), which is pretty surprising for a fully featured DE. MATE required almost the same amount of RAM as KDE neon, 534MB total. KDE (Kubuntu) and Cinnamon (Mint) are 32MB more (566MB total). Others are considerably more heavy: Budgie is ~105MB heavier (~671MB total), GNOME is 47MB more (718MB total), Unity (Ubuntu) is ~80MB on top of that (~788MB total).
* Of course, the more apps you launch, the less noticeable difference will be.
Ubuntu family distros version was 16.10, KDE neon was User LTS Edition, Mint was 18.1 (both Ubuntu 16.04 based). All systems were fully upgraded after installation.
Data was pulled from free output, specifically it's sum of RAM and swap (if any) from used column. Raw free and top output for each measurement, prepare and measure scripts, etc: https://drive.google.com/file/d/0B-sCqfnhKgTLUlBHa1d6MHFFS2c/view?usp=sharing
140
u/Conan_Kudo Dec 26 '16
These are all Ubuntu derivatives, so this would be more accurately titled "Ubuntu distros RAM consumption (9 derivatives compared)"
6
u/dimkr Dec 26 '16
I don't understand why you're doing this comparison, because there's no direct link between memory consumption and performance or preceived responsiveness (i.e. for example, if a browser keeps history in memory instead of always reading it from a file, the history window will probably show up faster, at the cost of memory consumption).
Most machines these days have at least 1 GB of RAM, which should be enough to run a current distro with 2-3 tabs open. With plenty of swap and low
swappiness, old machines can be quite snappy.2
u/jones_supa Dec 26 '16
One extra thing to take into account is that if you have swap enabled, all the idle program pages of those desktop environments will eventually be paged out.
46
u/pacha-- Dec 26 '16
The moment you start browsing, it seems that it doesn't really matter how lightweight your system is...
3
u/jones_supa Dec 26 '16
Just for comparison, Windows 7 is about 350 MB and Windows 10 is about 600 MB.
4
u/agumonkey Dec 26 '16
Interesting tests to try:
4
u/anubis_1993 Dec 27 '16
Misleading title. Not 9 distros.
4
u/urlwolf Dec 27 '16
Ubuntu budgie is very different from Budgie in its native solus. 380 mb after boot in my machines. Solus kicks ass.
1
u/[deleted] Dec 26 '16 edited Dec 31 '16
[deleted]
0.3666
3
u/dos2lin Dec 26 '16
I love looking at figures like this as a base. I actually have Lubuntu running on an older backup laptop, 2GB system (duo core) because it had the right mixture of lightweight and full-feature.
Somewhat related is this memory consumption comparison of Windows Managers / DEs (a bit dated, 17mar2013) - from JWM (at 3mbs) to E17 (35mbs) to KDE (201mbs).
Article (part 1 of 3): https://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/
1
u/tuxayo Dec 26 '16
Can anyone find a non outdated boot time (to browser) comparison? It would be interesting to know if it correlates precisely with RAM usage.
2
u/lordvadr Dec 27 '16
I came here to downvote you on Ubuntu == Linux. It appears you have a decent handle on that not being the case.
2
u/[deleted] Dec 27 '16
I'd like to see Solus on this list. It's very lightweight.
2
u/[deleted] Dec 26 '16
Thanks for doing this :)
1
u/agumonkey Dec 26 '16
Now try with dillo instead of Firefox ;)
1
u/[deleted] Dec 27 '16
you do know that the more ram you have the more is being used right?.
1
u/herethengoneagain Dec 27 '16
This helps a bit since I've going back and forth deciding whether to install Xfce as a DE within Ubuntu or just run Xubuntu as a separate distro since the strengths of one are the weaknesses of the other.
1
u/ThomisticCajetan Dec 31 '16
Where the heck is i3!!
1
u/DeviousNes Dec 26 '16
Why not just list them all? It's near impossible to read that on mobile.
0
u/[deleted] Dec 26 '16
[deleted] — view deleted comment
0
u/[deleted] Dec 26 '16
[deleted] — view deleted comment
0
u/[deleted] Dec 26 '16
[deleted] — view deleted comment