<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Richard,</div><div><br></div><div>So, on a server, it sounds like we're talking about:</div><div><br></div><div>11 MB for the OS</div><div>5 MB for stripped down Erlang based on Joe's work,</div><div>plus our application code.</div><div><br></div><div>Thanks to all for these numbers. </div><div><br></div><div>My question came out of a conversation with a friend re: how far we could push Erlang on a Raspberry Pi or Odroid C2 SBC.</div><div><br></div><div>It's interesting to look at the numbers for TinyCore on ARM:</div><div><br></div><div><a href="http://mirror.epn.edu.ec/tinycorelinux/arm.html">http://mirror.epn.edu.ec/tinycorelinux/arm.html</a></div><div><br></div><div>Compressed, they seem to run in the 25MB range. Raspian zipped is some 4GB. So, on an RP server TinyCore seems to offer much.</div><div><br></div><div>This makes me think that a cluster of $5.00 RP Zeros would be viable and a great platform for exploring and teaching distributed Erlang.</div><div><br></div><div>All the best,</div><div><br></div><div>Lloyd</div><div><br></div><div><br><div>Sent from my iPad</div></div><div><br>On Sep 17, 2017, at 9:55 PM, Richard A. O'Keefe <<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>> wrote:<br><br></div><blockquote type="cite"><div><span></span><br><span>On 16/09/17 9:29 PM, Joe Armstrong wrote:</span><br><blockquote type="cite"><span>Old timer here :-)</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Just out of interest how large is Apline? (in MB?)</span><br></blockquote><span></span><br><span>For what it's worth, TinyCore-8.0.iso is just under 17 MB.</span><br><span>Installed in VirtualBox and running, complete with GUI,</span><br><span>it's 21.7MB. That doesn't include development tools.</span><br><span>I note that just the</span><br><span>"OTP 20.0 HTML Documentation File (33,948,386)"</span><br><span>is bigger than this and</span><br><span>"OTP 20.0 Windows 32-bit Binary File (96,337,114)"</span><br><span>is a lot bigger.</span><br><span></span><br><span><a href="http://distro.ibiblio.org/tinycorelinux/intro.html">http://distro.ibiblio.org/tinycorelinux/intro.html</a></span><br><span><a href="http://distro.ibiblio.org/tinycorelinux/downloads.html">http://distro.ibiblio.org/tinycorelinux/downloads.html</a></span><br><span>The current Core (TinyCore minus GUI &c) is 11 MB.</span><br><span></span><br><span>Bringing in clang and its dependencies blows the system</span><br><span>out from 21.7 to 145.8 MB (+ 124.1 MB).</span><br><span>Adding gettext brought it to 148.0 MB (+ 2.2 MB).</span><br><span>Adding the manual pages and related tools brought</span><br><span>it up to 152.4 MB (+ 4.4 MB). Add a couple of text</span><br><span>editors (NOT including emacs, which I actually like)</span><br><span>and it's 161.4 MB (+ 9.0 MB).</span><br><span></span><br><span>So the actual TinyCore distribution is about 1/8th of</span><br><span>a fairly minimal development environment. I used to</span><br><span>run a full SunOS 3 environment on a 100 MB disc, and</span><br><span>40 MB of that was left over for my files. How times change.</span><br><span></span><br><span>I suspect that TinyCore plus enough to *run* Erlang could</span><br><span>be quite small by today's standards. Certainly you could</span><br><span>carry around TinyCore Linux + C development environment +</span><br><span>full Erlang distribution and run it comfortably from an</span><br><span>elderly memory stick.</span><br><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>