Gentoo Archives: gentoo-user

From: Rich Freeman <rich0@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Rasp-Pi-4 Gentoo servers
Date: Thu, 27 Feb 2020 21:50:12
Message-Id: CAGfcS_m=gJoYXVgQAKrY4_xnxsP5Y+jFaoYREF7UtAhE2ovTSw@mail.gmail.com
In Reply to: Re: [gentoo-user] Rasp-Pi-4 Gentoo servers by james
1 On Thu, Feb 27, 2020 at 4:25 PM james <garftd@×××××××.net> wrote:
2 >
3 > Yea, I was not clear. I'd run the mail-server, on a 'cluster' (4 or
4 > more), not an individual pi-board unless it was beef up, processor and
5 > ram wise. Gig E would also be on my list.
6 >
7
8 Unless you have some niche need I wouldn't generally run servers on
9 Pis. The biggest issue with ARM is that all the cheap platforms are
10 starved for RAM, and RAM is one of the biggest issues when running
11 services. And of course the Pi in particular has IO issues (as do
12 many other cheap SBCs but this is less of an ARM issue). The RAM
13 issue isn't so many an ARM issue as a supply/demand thing - the only
14 people asking for 64GB ARM boards are big companies that are willing
15 to pay a lot for them.
16
17 I do actually run a few services on Pis - DNS, DHCP, and a VPN
18 gateway. That's about it. These are fairly non-demanding tasks that
19 the hardware doesn't struggle with, and the data is almost entirely
20 static so an occasional backup makes any kind of recovery trivial.
21 The only reason I run these services on Pis is that they are fairly
22 fundamental to having a working network. Most of my services are
23 running in containers on a server, but I don't want to have to think
24 about taking a server down for maintenance and then literally every
25 IOT device in the house won't work. These particular services are
26 also basically dependency-free which means I can just boot them up and
27 they just do their jobs, while they remain a dependency for just about
28 everything else on the network. When you start running DHCP in a
29 container you have more complex dependency issues.
30
31 A fairly cheap amd64 system can run a ton of services in containers
32 though, and it is way simpler to maintain that way. I still get quick
33 access to snapshots/etc, but now if I want to run a gentoo container
34 it is no big deal if 99% of the time it uses 25MB of RAM and 1% of one
35 core, but once a month it needs 4GB of RAM and 100% of 6 cores. As
36 long as I'm not doing an emerge -u world on half a dozen containers at
37 once it is no big deal at all.
38
39 Now, if I needed some server in some niche application that needed to
40 be able to operate off of a car battery for a few days, then sure I'd
41 be looking at Pis and so on.
42
43 --
44 Rich

Replies

Subject Author
Re: [gentoo-user] Rasp-Pi-4 Gentoo servers james <garftd@×××××××.net>
Re: [gentoo-user] Rasp-Pi-4 Gentoo servers Wols Lists <antlists@××××××××××××.uk>
Re: [gentoo-user] Rasp-Pi-4 Gentoo servers Daniel Frey <djqfrey@×××××.com>