this post was submitted on 19 Mar 2024
55 points (96.6% liked)

Selfhosted

40040 readers
702 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I recently bought a domain from Porkbun (thanks to all of the comments on this post!) and I want to self-host some services myself. I currently have a Raspberry Pi 3 Model B+ and I'm not quite sure if it can handle these things:

  • A matrix homeserver
  • A lemmy instance
  • A website with static HTML pages
  • Privacy-respecting frontends (Piped, Redlib etc.)

I am thinking about getting a maxed-out Raspberry Pi 5 with a whole 8 Gigabytes of RAM. Is it worth it? I need a machine that is quiet, doesn't draw that much power and is overall pretty good for the money.

Edit: I bought this Mini PC instead of the Raspberry Pi 5. Thanks to all the comments!!

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 7 months ago

I personally recommend you to go for a GMKtec G3 instead, you will not regret it. Good luck.

[–] [email protected] 20 points 7 months ago* (last edited 7 months ago) (2 children)

In my humble opinion the Pi 5 is very expensive for what you get. You just don’t buy the board, you also buy the fan (cooling), case, power supply and SSD + connection adapter. For more or less the same price you can get a refurbished Intel NUC with a i3, 8GB RAM and 128GB SSD. Or you can look for N100 at AliExpress. You will get the full blown experience and reliability + x86. And if you want to use Plex then you can make use of QuickSync for hardware encoding. I don’t understand why people bother with the Pi if they don’t need the GPIO. The extra power consumption of a NUC compared to the Pi 5 is minimal, in my case just 70 cents a month. Do yourself a big pleasure and get a NUC. The Pi is not the all in one cheap solution anymore it used to be. And x86 so no goofy community maintained as is ports to arm.

And you can upgrade a NUC with more RAM up to 32 GB if you pick a model which supports that amount.

[–] [email protected] 1 points 7 months ago

I've got a BeeLink N100 system that's just a bit bigger than a NUC, has two 2.5Gb LAN ports and came with a 512gb nvme drive. Works a treat as a Jellyfin server with TONS of processor and ram headroom. N100 is a great little chip, so long as you're not expecting i5+ power.

[–] [email protected] 3 points 7 months ago

My go to is a refurbished slim mini pc. Like a dell or HP for sub $100

[–] [email protected] 10 points 7 months ago* (last edited 7 months ago)

@[email protected] I'm in your situation. At the moment on my RPI 5 I'm hosting (via docker) the followings:

  • lemmy
  • mastodon
  • gotosocial
  • peertube
  • pixelfed
  • grav CMS
  • matrix homeserver (synapse)
  • gitea
  • nextcloud And outside docker
  • teleport cluster
  • nginx for some reverse proxy
  • minecraft java 1.20.1 server

For the sake of clarity, here is my docker ps -a | wc -l

cyberpingu@vega:~ $ docker ps -a | wc -l
36
cyberpingu@vega:~ $ 

Almost everything is behind a reverse proxy (on another machine, a rpi4 with KVM) with an argo tunnel. And again

top - 10:38:34 up 9 days, 14:33, 14 users,  load average: 1.06, 0.50, 0.34
Tasks: 544 total,   1 running, 543 sleeping,   0 stopped,   0 zombie
%Cpu0  :  2.0 us,  2.0 sy,  0.0 ni, 96.0 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
%Cpu1  :  1.3 us,  0.7 sy,  0.3 ni, 97.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st 
%Cpu2  :  2.6 us,  1.3 sy,  0.0 ni, 95.4 id,  0.3 wa,  0.0 hi,  0.3 si,  0.0 st 
%Cpu3  :  2.7 us,  0.7 sy,  0.0 ni, 96.0 id,  0.3 wa,  0.0 hi,  0.3 si,  0.0 st 
MiB Mem :   8053.5 total,    156.8 free,   5744.0 used,   2683.2 buff/cache     
MiB Swap:  16384.0 total,  11620.0 free,   4764.0 used.   2309.5 avail Mem 

So if the question is "Is it enough a RPI 5"? The answer is yes, it is enough (at least for moderate traffic OFC). If the question is "I have to buy hardware: is a RPI 5 the best choice?" the answer may vary depending on many things. As you've been told, if GPIO is not a problem, maybe a minipc is better.

[–] [email protected] 20 points 7 months ago

Why not get a minipc? For the same cost you can get way more performance

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
NVMe Non-Volatile Memory Express interface for mass storage
PCIe Peripheral Component Interconnect Express
PSU Power Supply Unit
Plex Brand of media server package
PoE Power over Ethernet
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer
SSD Solid State Drive mass storage
nginx Popular HTTP server

[Thread #615 for this sub, first seen 19th Mar 2024, 23:15] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 28 points 7 months ago (1 children)

I replaced 4x Pi4 4gb with a single N95 mini PC with 16gb ram and wont look back.

Only PI left in my home is just running a 24/7 USBIP bridge.

the only reason to use a pi is if you need GPIO pins for custom devices.

[–] [email protected] 3 points 7 months ago (1 children)

USBIP bridge as in USB over ethernet?

[–] [email protected] 5 points 7 months ago (1 children)

Yip, I have a Linux VM running on one of my boxes in the garage that is plugged into a video matrix so I can bring it up on any screen in the house, I use the pi to connect Keyboard/Mouse/controllers etc to that when I'm using it.

[–] [email protected] 2 points 7 months ago

Well that sounds cool

[–] [email protected] 3 points 7 months ago (2 children)

You can try a mini PC, you mentioned Germany so for example this https://amzn.eu/d/0Evab2M I think that should be a bit more powerful than a Pi, but not sure by how much.

[–] [email protected] 2 points 7 months ago (1 children)

Is a Pentium powerful enough? I recently found a YouTube channel called "Wolfgang's Channel" and he also has a home server with a Pentium. He says it is plenty enough for these kind of tasks.

[–] [email protected] 2 points 7 months ago

If that's not powerful enough a raspberry pi isn't either, that CPU ranks slightly higher than the one on a pi 5 https://www.cpubenchmark.net/compare/5743vs2633/ARM-Cortex-A76-4-Core-2400-MHz-vs-Intel-Pentium-G4400T

Also I don't know how I forgot about this (since it's what I do a lot of the times), but you can buy from other Amazon's in Europe, for example in Spain you can get this CPU https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-6500T+%40+2.50GHz&id=2627 which is almost double the benchmark of a Pi for 127 https://amzn.eu/d/6UwsUqf

Those mini PCs are awesome, the only reason my home server isn't one of them is because I have a 3.5" HDD which doesn't fit in them, but I'm looking to switch to some other alternative because the franken-desktop I have now uses too much power for what it's doing.

[–] [email protected] 3 points 7 months ago (1 children)
[–] [email protected] 1 points 7 months ago (1 children)

Not sure if that much, their CPU benchmark is pretty close.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

It depends on the CPU however having an AMD64 type CPU means that you will have better performance

The question you should be asking is how much power will it draw

[–] [email protected] 36 points 7 months ago

A Pi 5 8GB is very expensive once you buy the power supply, case, cooling, adapters, etc.. And you're stuck with ARM64 stuff which doesn't support some things.

Personally in your shoes I would spend $80 or so on a USFF PC with an 8th or 9th gen Intel CPU off ebay.

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

I bought a CN62 Chromebox, and put MrChromebox's Bios on it -- I did the rounds comparing it with a Pi 4 and it was 2.5x faster, and could easily saturate my gigabit connection. It came with 16gb of storage, and 2gb of ram; but using ACTUAL DRAM slots. I could upgrade it to 16gb if I needed to down the line.

The whole thing, cost me like $45 shipped; power supply, storage, everything needed...and it's an X86 instruction set - so I can use whatever version of Linux I want, without any crazy Raspberry Pi specific patches/builds.

load more comments
view more: next ›