Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat May 03, 2014 5:43 am 
Offline
Senior Newbie

Joined: Sat May 03, 2014 5:24 am
Posts: 5
Hi there,

Does anyone have any data points on this please?

Many thanks

Pete


Top
   
PostPosted: Sat May 03, 2014 6:30 am 
Offline
Senior Newbie

Joined: Sat May 03, 2014 5:24 am
Posts: 5
Here's My Ubuntu 14.04 LTS Profile (Latest 64 bit (3.14.1-x86_64-linode39)), after fresh install and reboot:

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


Top
   
PostPosted: Sat May 03, 2014 4:56 pm 
Offline
Senior Newbie

Joined: Sat May 03, 2014 5:24 am
Posts: 5
Code:
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.


Top
   
PostPosted: Sat May 03, 2014 5:12 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
Nice chart!

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.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Sat May 03, 2014 6:28 pm 
Offline
Junior Member

Joined: Wed Jul 04, 2012 11:08 am
Posts: 34
How did you count?

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.


Top
   
PostPosted: Sun May 04, 2014 4:56 am 
Offline
Senior Newbie

Joined: Sat May 03, 2014 5:24 am
Posts: 5
@vonskippy: that's certainly what it looks like after boot

@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?


Top
   
PostPosted: Sun May 04, 2014 6:54 pm 
Offline
Junior Member

Joined: Mon Mar 04, 2013 8:51 pm
Posts: 24
Once again, we see why there is quite simply never any valid reason whatsoever to ever use anything besides Slackware.


Top
   
PostPosted: Mon May 05, 2014 10:53 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Buffers/cache can't be counted towards distro CPU use... For one thing, cache is available for applications if required.


Top
   
PostPosted: Wed May 07, 2014 4:59 am 
Offline
Senior Newbie

Joined: Sat May 03, 2014 5:24 am
Posts: 5
>Buffers/cache can't be counted towards distro CPU use...

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 :-) YMMV


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group