Ubuntu – How do Ubuntu flavors compare regarding resource consumption and performance

performance

Minimum requirements statistics do not provide enough accurate info to new and prospective users trying to determine a suitable flavor for their machine. People need to know if an OS will run smoothly on their hardware. We need the ability to easily compare Ubuntu flavors in terms of resource usage and management.

Points of interest include:

Performance

  • responsiveness under load (e.g. Firefox open with 10 tabs)
  • menu/dash speed

Resource usage

  • memory usage
  • hard drive usage
  • 3D graphics requirements

This data could be depicted using bar graphs and with different versions (13.04, 13.10, 14.04, etc) in separate graphs but most important are the latest versions.

How do they compare under standard use case scenarios such as using Firefox, LibreOffice, or watching full screen flash videos or Netflix? Will my machine be snappy and responsive running Ubuntu or am I better off with Lubuntu or Xubuntu? What are the minimum system requirements for a reasonable speedy and responsive system? Official minimum hardware requirements specifications do not provide this info.

Best Answer

There is a resource usage I made a couple of days ago which I mentioned in one of your posts, in a graph it would look like this:

enter image description here

enter image description here

The source for both graphs is from What is the difference between Ubuntu and its derivatives? and as mentioned in there, they should be taken lightly, because they can vary. While I was doing the tests I noticed the following:

  • For all cases if the maximum amount of RAM was lowered, their general RAM usage was also lower. For example, Lubuntu in a computer with 4 GB of RAM would use 165 MB of RAM. But if you took out 2 GB of RAM and only left 2 GB in total, it would use 125 MB of RAM. If I again took 1 GB out, leaving only 1 GB, it would use around 100 MB of RAM. So the normal RAM usage can vary depending on the amount of total RAM.

  • All Distributions adapt to their hardware. Which that said, if you have a low spec CPU, the usage might be more than the graph. If you have a more powerful CPU, they usage could be lower than the graph for that particular distribution. The same can be said about RAM. It should be noted that Linux tries to use as much resources as possible to have the most optimum system available. Not used RAM is wasted RAM. This type of thinking is NOT to be confused on how Windows uses RAM. Both use that extra RAM in different ways.

  • The values in the graphs can vary between hardware differences, distribution versions, desktop versions, updates and more. This are just to give the end user an idea on how they compare in one particular case scenario.

For FPS (Video Performance) I would seek Phoronix March 2014 Desktop Performance

If we grab the general FPS score for all FPS benchmark tests conducted there we would get the following graph:

enter image description here

But again, this type of benchmark can change a lot if we take into consideration the type of graphics card, driver version, distribution version, desktop version, etc..

For graphics requirements, they all don't ask for much, even KDE, Unity and Gnome, but you should have at least a video card that supports OpenGL 2.0+ (Right now, almost all do). If you want to measure how the desktops influence the FPS performance when using the Desktop interface, I could put this way:

Heavy Desktops - KDE
Intermediate Desktops - Unity, Gnome
Lightweight Desktops - Xfce, LXDE, OpenBox

The data shown in Flexion, I feel is very accurate and gives an idea of the memory usage (Not CPU)

| Desktop Environment  | Memory Used |
| ---------------------|------------:|
| Enlightenment 0.18.8 |    83.8 MiB |
| LXDE 0.5.5           |    87.0 MiB |
| XFCE 4.10.2          |   110.0 MiB |
| LXQt 0.7.0           |   113.0 MiB |
| MATE 1.8.1           |   123.0 MiB |
| Cinnamon 2.2.13      |   176.3 MiB |
| GNOME3 3.12.2        |   245.3 MiB |
| KDE 4.13.1           |   302.6 MiB |
| Unity 7.2.0.14       |   312.5 MiB |

Now, to be fair, all Desktops from the time they were benchmarked have received numerous updates in regards to their rendering. That is why Phoronix made another FPS Benchmark in which we can see some improvements. The final result was that, at least for Unity, it gained around 10% better framerate in cases like the Xonotic 0.7 (1920x1080) where it went from 112 (Low Benchmark) & 42 (High Benchmark) to 120 (Low Benchmark) & 63 (High Benchmark).

For menu speed, this does not vary much on all distributions. It can be quicker on Unity (Using Dash) if you disable the Online Search in the Security & Privacy option in the System Settings.

Final Thoughts:

When doing all of this tests, I found out more than I thought I would. For instance, I was really not expecting KDE to use that low amount of resources. I thought it would take like 1 GB of RAM. Another thing I found out was how quickly Lubuntu and Xubuntu were it terms of booting and using the whole system. of course, a almost common fact remains, the less resources a distribution uses, the less options you will have.

So a user of Kubuntu or Ubuntu can enjoy several features like Samba sharing, easier printing configuration and many other features but an OpenBox or LXDE user would have it more difficult or would take longer to achieve the same objectives (Like sharing a folder).

If you wish to see CPU/RAM specific usage for the cases mentioned here I invite you to read What is the difference between Ubuntu and its derivatives? which shows how each distribution behaved under different loads, apart from other information.

Related Question