Big distributions, little RAM
As you know I am currently running OpenSUSE 11.2 on my laptop. While I have enjoyed my time using it, I have noticed that this particular distribution tends to be on the heavy side of memory usage. This got me thinking. If OpenSUSE uses this much memory on my machine, how could it possibly run on a machine with 512MB of RAM (the lowest recommended amount)? If Ubuntu is the most popular distribution, but it is also, what I would call, a fully-fledged desktop distribution, then how does it manage given tighter memory constraints? And so the mini-experiment begins.
Points to make before I begin
- This is not a very scientific study, but rather something I did in my spare time because I was curious.
- I have picked the majority of the most popular desktop distributions. These distributions were chosen not because they were designed for minimal system specs but rather because they are popular and provide a full desktop experience out of the gate.
- What do I mean by full desktop experience? The distribution should be easy enough for a novice Windows user to install, should come with all of the standard software for desktop activities, and should not require any fine tuning.
- What you won’t find here: DSL, Arch Linux, Slackware (only because it failed at installing in VirtualBox), Gentoo, or other ‘expert’ distributions. You also will not find netbook remixes or low-resource specific distributions. This experiment is designed to see how these big distributions run on little RAM, nothing more.
- Please do not post things like ‘you forgot to test XYZ’ or other useless comments that don’t actually help the discussion. Yes I am sorry I missed your favourite distribution, but grab a tissue, clear the tears from your eyes and let’s all move on with our lives.
How I tested them
The process was identical for all tested distributions. I set up a new virtual machine inside of VirtualBox with the following specs:
- Total RAM: 512MB
- Hard drive: 8GB
- CPU type: x86
The tests were all done using VirtualBox 3.1.4 on Windows, and I did not install VirtualBox tools (although some distributions may have shipped with them) nor did I change the screen resolution from the default 800×600.
I have broken the results down into a variety of categories and included fancy graphs just for you!
First boot memory (RAM) usage
For this test I installed the distribution and then on its first (post-installation) boot measured the amount of memory it used. This was to gauge the amount of resources that the stock distribution required before any updates.
Average first boot memory (RAM) usage by packaging type
This shows the average memory usage broken down by the packing type used.
Memory (RAM) usage after updates
This was a test to see whether or not system updates caused the memory usage to increase or decrease. I updated the system with all current updates and then rebooted and measured the resource usage again.
Memory (RAM) usage change after updates
This graph shows the usage difference between installation and post-updating. The formula I used was [after updates – initial installation].
Average memory (RAM) usage after updates by packaging type
Similar to above. Again this is broken down by packing type.
This is a simple graph showing the partitions that each default setup created as well as the relative size of them.
Filesystems used in partitions
This graph shows the different filesystems used for the various partitions. For example if a distribution has a value of 2 under ext4 that means that it used ext4 in two different partitions.
Occurrence of filesystem by packaging type
This graph shows the number of distributions who used a certain type of filesystem. It is broken down by packing type.
Install size after updates
This is the total OS install size after downloading and installing all of the updates. This should represent a fully updated version of the distribution.
Average install size after updates by packaging type
This shows the average install size of the distributions broken down by packing type.
Make you own! …well it is pretty obvious that some of these distributions would perform better than others given these low system specs. There are however other things to consider. For example which packing type you prefer, or for that matter which package manager.
Previously I was running KDE 4.3.3 on top of Fedora 11 (for the first experiment) and KDE 4.6.5 on top of Gentoo (for the second experiment).
Feel free to visit me at my personal website here.