...
Conceptually this is similar to the Stripped Solaris approach I refined from Tony Bates back in 2008 which he implemented for a major FI with nine-nines of uptime for years. Since 2013 Google and others have taken this idea further (CoreOS, Ubuntu Snappy, Redhat Atomic) with the concept of core operating systems with the key benefits (again some borrowed from Solaris),
...
Here are the differences between a minimal virtual machine, minimal and normal per Bonsai Framework setup instructions (no updates though) and then fresh reboot.
The following commands were used,
Code Block | ||
---|---|---|
| ||
free -h # how much memory used ps aux | wc -l # how many processes (including the two to run this command) df -h | grep root # how much disk used (not going to bother counting the small 30MB for boot dpkg --get-selections | wc -1l # how many packages installed |
Ubuntu 16.04.1
Running inside of VMWare Fusion. 2GB Memory and 2 CPU's assigned.
Attribute | Minimal Virtual Machine | Minimal *unchecked standard system utilities | Normal | Recently Ubuntu Snappy 15.04 | Microsoft Azure Default Image | ||
---|---|---|---|---|---|---|---|
Packages | 217 | 223 | 430 [*] standard system utilities selected 438 (+ openssh-server) | 2 core packages containing minimal utilities | 439489 (built with ssh) | ||
Memory Used (measured shortly after Initial boot) | 37 35 MB | 62 MB | 80 83 MB | 165 MB (this does not look right) | 97 96 MB | ||
Tasks (minus 2 to run the commands) * System needs time to settle after boot. | 161 | Initial boot - 8:00PM | Initial boot - 9:22PM22 178 176 - 9:45PM45 169 167 - 10:12PM12 169 167 - 10:24PM 24 | 223 (did not let it settle) Initial Boot - 10:50 | 174 (did not let it settle) | 152 (double check this does not look right) | 133 - 2:20 |
Disk Space Used | 733 735 MB | 992 MB | 1.3 GB | 639 MB | 1.9 GB (need to double-check this on a fresh install)3 GB | ||
Key Advantage | Reduced fat due to uniformity of virtual machines. | Minimal to run a normal Server. | Already includes popular admin packages. | Upgrade core OS as 1 package and revert btw OS upgrades quickly. Made for pure Cloud. |
Environment
VMWare Fusion wiith 2000GB of Memory and 2 Processors.
References
Provided what the differences between the installs are - http://askubuntu.com/questions/57336/minimal-system-or-minimal-virtual-machine-on-install