Which distro has the smallest memory footprint on Linode?
top - 11:27:58 up 1 min, 1 user, load average: 0.02, 0.01, 0.01
Tasks: 72 total, 1 running, 71 sleeping, 0 stopped, 0 zombie
%Cpu(s): 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
KiB Mem: 2040900 total, 172508 used, 1868392 free, 3400 buffers
KiB Swap: 262140 total, 0 used, 262140 free. 78556 cached Mem
Distro #processes Mem usage/ MiB
Slackware 14.1 66 91
CentOS 6.5 72 97
Gentoo 66 100
Debian 7.5 70 111
openSUSE 13.1 74 113
Arch Linux 2014.04 73 115
Ubuntu 14.04 LTS 72 117
Fedora 20 72 139
Method: 'deploy a linux distribution' from Manager, then log in and run top
all on Latest 64 bit (3.14.1-x86_64-linode39) kernel
I did 3-4 reboots of each deployment, and there was some small variation in both observed variables
However, not really sure how meaningful or useful this info is (esp. in light of the 2Gb plans). I don't know what processes some distros spawn that others don't, or whether the difference is made up once application stacks are spun up and work is done.
With these numbers distro choice for smallest memory footprint (after boot) seems an irrelevant criterion.
In other words, with a mere 48M spread from top to bottom (or 2.3% of the smallest Linode) it doesn't really matter which distro you chose.
I'm getting 29MB not counting what was accidentally cached at boot, on my Ubuntu 14.04 64bit Linodes.
Minimal installs though, but has the basic services running, cron, rsyslog, sshd, getty.
@trippeh: I used 'top', which includes some buffers AFAIK. The figures are 10-20 Mb lower if I use 'free' -/+buffers/cache, so the difference between the distros may be entirely accounted for by the small differences in the processes they run up and how initial buffering is configured. In other words, there is no material difference between them
That said, I used the off-the-peg images available in the Linode Manager, and get around 80Mb for a clean Ubuntu 14.04 64bit with latest kernel, not counting buffers (mem command). Which image are you using, and how are you counting?
Do you mean memory use? I'd disagree though, take the case for example where the stock distro runs up processes and allocates buffers which are subsequently never used by applications? Buffer use is just as open to tuning as process choice.
Anyway, I looked a bit further what differentiates the different stock distros on Linode, and it is mostly in the choice of daemons for things such as dhcp, cron and logging, and whether they used systemd or not. It wasn't an exhausting look, but at least 1 distro (Debian 7.5) spun up some nfs related daemons as part of the stock configuration.
The conclusion of this short and incomplete trip around the distros is that there seems little difference in their memory footprint after boot