this post was submitted on 18 Sep 2023
39 points (95.3% liked)

Selfhosted

40329 readers
410 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 am several months into the self-hosting journey and I feel I have outgrown my Pi 4 B 8GB. I'm only running around 3 dozen containerized services and it seems to struggle to keep up. But I'm not sure of the best bang for my buck. I'd like good, long-term performance, but I don't really have a grand lying around for a Lenovo Tiny or Dell Optiplex or ASUS NUC. I'm thinking of buying an SSD to boot from, but will this even help much? For $350-500, could I make a more cost effective homeserver upgrade?

top 50 comments
sorted by: hot top controversial new old
[–] witten@lemmy.world 32 points 1 year ago (1 children)

A grand?? You can pick up a used Lenovo Tiny for 50 bucks (US) on EBay.

[–] passepartout@feddit.de 8 points 1 year ago* (last edited 1 year ago) (2 children)

This is what i did. In europe, viable options start at 200€ on ebay (imo). If your use case outgrows one lenovo tiny (which is unlikely since you're coming from a pi), you can buy more / other tiny pcs / a desktop pc / a server rack and put proxmox on everything for running services inside a cluster.

[–] Valmond@lemmy.mindoki.com 4 points 1 year ago

You can get a decent Lenovo Tiny for 75€ + 10€ IMO. On eBay.

Like some 2-4 core 4-8GB 120-240GB SSD. Blasts a hole in any SOC like the raspberry.

[–] witten@lemmy.world 1 points 1 year ago

Wow, that's pricey!

[–] ThorrJo@lemmy.sdf.org 16 points 1 year ago

Just get a used ultra-small form factor PC a la the Tiny, Mini, or Micro series. A higher-end one which is 7 generations old will still absolutely destroy the Pi in terms of performance.

Once I gave up (for now) on doing all this on ARM and switched back to x86, everything got way easier to actually accomplish.

[–] electromage@lemm.ee 9 points 1 year ago

You could build a Framework desktop with one of their past gen motherboards. Also look for surplus servers. The first 1U servers I bought were only about $150 and lasted many years.

[–] ramielrowe@lemmy.world 9 points 1 year ago (1 children)

Check out minisforum, for example this intel mini-pc. They have a ton of selection, not just that one example.

[–] DARbarian@artemis.camp 3 points 1 year ago (1 children)

This seems like exactly the site I'm looking for! Thanks

[–] tomten@lemmy.world 1 points 1 year ago

You also have beelink that makes these small PCs

[–] bbbbb@lemmy.world 8 points 1 year ago (2 children)

For $350-500 you could easily get a used desktop and processor with 16-32 gb ddr4. But it sort of depends on your home lab goals and workloads. Do you need a lot of storage? Are you CPU bound or memory bound? Some people will suggest used Dell/HP servers, and they’ll look affordable, but keep in mind enterprise gear will eat power and is usually loud. Personally I’d go for a used AMD 5800 or 5900 processor and mobo, install your favorite Linux, and call it a day. AMD processors don’t have quick sync which makes them slightly worse for plex hosting but better for everything else.

[–] DARbarian@artemis.camp 2 points 1 year ago

Not sure if I'm CPU-bound or RAM-bound, but I'd hazard to guess both lol And the lower the power consumption the better as this is an always-on, very passive deal.

[–] DARbarian@artemis.camp 1 points 1 year ago (1 children)

Personally, I only plan to run another dozen or so containers. What I want most is reliability/stability. I want everything I set up to, once it works, continue working without issue. This is where the Pi has begun frustrating me as it seems to just seize up sometimes. I do need as much storage as possible as I'm a bit of a media hoarder, but that can always be solved with more drives.

[–] bbbbb@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Makes sense. I think you’d be fine with pretty much any modern(post DDR4) motherboard/CPU combo these days. I feel Linux hardware support is only really shakey if you’re using a SoC without upstream patches or if you’re using brand new hardware/laptops. With that being said if you’re running a lot of containers on one host have you looked into docker compose or kubernetes(k8s)? Maybe k8s is overkill for home use, but both offer support to restart containers if a health check fails. With k8s you also can spread out containers across multiple physical node, so you could just add a second RPI and “double” your resources.

[–] Ninjasftw@lemmy.world 2 points 1 year ago

Also worth looking at k3s if its running on a single node to reduce resource usage

[–] AA5B@lemmy.world 6 points 1 year ago (1 children)

A second Pi? According to the RPI Locator, Raspberry Pi’s are available for list price now.

My use case is a bit different in that I don’t know what containerized services I want to run, except that I want to play with Kubernetes. Raspberry Pi still seems like a good choice and I may restart that project soon

[–] DARbarian@artemis.camp 7 points 1 year ago (1 children)

I'd rather keep all the services to a single more powerful device and then relegate the Pi to more specialized, Pi-related tasks like a smart doorbell cam or Home Assistant Hub.

[–] AdminWorker@lemmy.ca 3 points 1 year ago

Cost of electricity is non zero. Distributed computing between pis might be the most cost effective way (hardware and electricity)

[–] UnPassive@lemmy.world 5 points 1 year ago (1 children)

You could pick up a used laptop for pretty cheap. Low TDP, leagues ahead of a Pi

[–] Corgana@startrek.website 2 points 1 year ago

This is a great suggestion. There's so much e-waste out there that could be more than powerful enough to be a major upgrade from a Pi. If OP has a PC built in the last 15 years it's almost certainly the cheapest (and greenest) solution.

[–] gorogorochan@kbin.social 5 points 1 year ago (2 children)

For me, the small energy footprint of an ARM machine is really important for home usage so I personally went on multiple occasions with Odroid’s offerings and as long as you have a tinkerer’s soul, I can really recommend it.

[–] rsolva@lemmy.world 5 points 1 year ago (1 children)

In that case, I can recommend minicomputer's like HP EliteDesk G2 800 Mini. You can get them with a variety of intel CPUs, they can take up to 32GB RAM, they have slot for M.2 disks and a regular 2.5" SSD – and they hardly use any power when idle, between 5 to 10 watts, depending on the CPU and CPU governor settings. They are sold used for ~€50 and if you buy newer generations you'll get even more umpfh for a bit more cash.

In other words, very competetive with the Pi's, only more available, cheaper and about the same power consumption!

[–] thirdBreakfast@lemmy.world 2 points 1 year ago

And look better.

[–] DARbarian@artemis.camp 2 points 1 year ago (1 children)

I also want to prioritize power consumption just because I can't afford server rack levels of electricity, so I will have to check that out.

[–] maiskanzler@feddit.de 4 points 1 year ago

Intel's low power offerings are sometimes even less power hungry than a RPi and handle more stuff. I like Asrock's line of CPU-onboard motherboards and use one myself. You get the convenience of a full x86 machine but it sips power. Mine peaks at ~36W with full load on CPU, GPU, RAM and 4 SSDs or disks. Usually it is much much lower. You can always go smaller with an Atom x5 z8300 (~2W Idle without disks or network, 6W with both and some load), but those are getting a little old and newer stuff is better and more feature-rich. Maybe an N100 machine with 4 or 8 gigs of RAM are a good option for you? Don't go overboard with RAM if you are using docker for everything anyways. I use 8 but 4 would be more than enough for me and my countless containers. I run Nextcloud, Jellyfin, Paperless-ngx, Resilio, Photoprism and a few more. Only the minecraft server benefits from more than four. Very happy with my J5005 board.

[–] Redditiscancer789@lemmy.world 5 points 1 year ago

As the computer nerd in my friends/family circle, Im constantly being gifted old PCs from people. Some I keep and repurpose into servers/other things and others I just recycle for them. I also am an avid PC gamer so when my rig gets retired I usually upgrade the other servers internals from parts I had left over. Don't know if something else is viable for you to keep costs down, even if you can get the PC without a HDD but everything else.

[–] Halafax@kbin.social 4 points 1 year ago (1 children)

If containerized, scale horizontal and load balance.

[–] DARbarian@artemis.camp 1 points 1 year ago (1 children)

Could you elaborate on that possibly?

[–] poVoq@slrpnk.net 4 points 1 year ago (1 children)

Aka, buy a second Rasberry 😅

[–] Halafax@kbin.social 1 points 1 year ago

Pretty much this. There is a significant learning curve to kubernetes (or similar, I guess?), but it's a handy skill to be familiar with. If things basically run but with degraded performance on one raspberry, there is no real need for a vertical performance increase. Adding the second will provide almost double capacity, with some HA added for fun.

[–] Decronym@lemmy.decronym.xyz 4 points 1 year ago* (last edited 1 year ago)

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

Fewer Letters More Letters
HA Home Assistant automation software
~ High Availability
LXC Linux Containers
MQTT Message Queue Telemetry Transport point-to-point networking
NUC Next Unit of Computing brand of Intel small computers
PSU Power Supply Unit
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer
SSD Solid State Drive mass storage
k8s Kubernetes container management package

[Thread #146 for this sub, first seen 18th Sep 2023, 18:05] [FAQ] [Full list] [Contact] [Source code]

[–] poopsmith@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

I got a free computer and upgraded the processor to an i7-6700T (eBay) and some old SSDs. It measured around 15W and I haven't had any problems with it. It is miles ahead of using any Pi or ARM-based SBC. I would really recommend just finding a used computer nearby, if possible. Craigslist and Facebook Marketplace has some killer deals.

[–] ares35@kbin.social 3 points 1 year ago (1 children)

if you're in the u.s. check walmart for clearance desktops. we just picked up (to replace an older neighbor's dead atom-based desktop) a new i3, 8gb, 256gb nvme, slim desktop. inside it had mount points and the cables for two sata (3.5in + 2.5in) and a slim optical (or a 'creatively' mounted second 2.5in). we were going there to pick it up at a bit over $300, as i had seen it there the previous day. surprise! it had just got marked down again to ~ $200. original price was $400.

[–] DARbarian@artemis.camp 2 points 1 year ago

Damn that's a steal! Guess I may have to go the old brick and mortar route.

[–] Faceman2K23@discuss.tchncs.de 3 points 1 year ago

I recently replaced a pi4 with an intel n95 based mini-pc and it's been an absolute joy. I moved a few of my services and VMs over from the main server. It runs my Homeassistant via HAOS in a VM significantly faster than the pi4, another VM with access to the IGPU runs a 4k dashboard feed into my video distribution matrix, a few containers for simple things like MQTT and Adguard Home (like pihole) and it has room to do more.

The whole computer with 16gb of ram and 256gb SSD cost about the same as a pi4 8gb did when the shortage was at its worst.

The other option of course, is a cheap older optiplex, for under $200 you can get quad core sky lake or kaby lake generation processors, 16gb of ram and room for a couple of SSDs, a bulk storage HDD and a couple of low profile PCIE cards.

[–] billwashere@lemmy.world 2 points 1 year ago

What about something like one of those Beelink Mini PCs? A friend sent me a link to one and I was amazed at the specs.

https://youtu.be/zt-5vJdmu0s?si=6tcnq721k0cXB2uG

[–] PanaX@lemmy.ml 2 points 1 year ago (1 children)
[–] DARbarian@artemis.camp 1 points 1 year ago (3 children)

Holy shit that is so cheap! There's gotta be a catch, right?

[–] Krtek@feddit.de 3 points 1 year ago

laptops are sold at the same price with similar components, so no

[–] Devjavu@lemmy.dbzer0.com 2 points 1 year ago

Not that I know of

[–] PanaX@lemmy.ml 1 points 1 year ago

Nope. I was in your position with a Pi400, got tired of the poor performance with streaming UHD stuff across multiple devices and went with the ser. I now have a ser 5 and 6, and they are beasts for their size.

[–] sj_zero@lotide.fbxl.net 2 points 1 year ago

I can vouch for the power of a nuc, they're basically laptop grade hardware.

Dominant failure modes are fan failure and ssd failure. The latter can be solved by using a quality ssd, the former by keeping your nuc out of dirty areas. You can clean it up if it gets dirty, but it's a high risk operation, I've seen fan blades break.

[–] poVoq@slrpnk.net 2 points 1 year ago (1 children)

Second hand Intel 6/7 gen is probably the best bang for the buck right now. Relatively power efficient too if you turn off the turbo-boost in the bios.

[–] Cobrachicken@lemmy.world 4 points 1 year ago (1 children)

Debatable. Boost through a task and be done quickly, with some more power usage, or chunk along longer with probably more power usage. Would have to be tested, but I'd bet on the boost.

[–] poVoq@slrpnk.net 1 points 1 year ago

Yes, it depends a bit, but you can use a smaller ATX PSU if you don't have to account for power spikes due to turbo boost, and these PSUs are somewhat more efficient when they don't run at 10% utilization only most of the time. Also allows using smaller DC/DC Pico PSUs that would struggle providing peak power.

[–] Corgana@startrek.website 2 points 1 year ago* (last edited 1 year ago)

My suggestion is to either recycle an old pc/laptop or find one on craigslist for $100 and use the rest of the money to take your husband/wife out to a nice dinner.

Pretty much anything built in the last 15 years will be a big upgrade from a Pi.

[–] Gutless2615@ttrpg.network 1 points 1 year ago

Those intel NUCs are amazing while they last. A j4125 will chug away transcoding anything you'd like. It's been a wonderful upgrade from my pi-stack, and well within your price range.

[–] Fermiverse@kbin.social 1 points 1 year ago* (last edited 1 year ago)

I went for the ASRock J5040 board, 16gb ram (yes it works) a 500gb m.2 as system using a PCI adapter , 2x4tb ironwolf as ZFS mirror pool, 350 W power supply all in the node 304 fractal case for 550 euro.

Runs proxmox as hypervisor for VM or Container. 6 LXC running motioneye, plex, pyload with openvpn, syncthing, rclone cloud backup and openbookshelf.

Typical power usage is around 20W

[–] InvertedParallax@lemm.ee 1 points 1 year ago

Lenovo m715q, ryzen 2400ge isn't bad, put more ram and an nvme and it's solid.

[–] iHUNTcriminals@lemm.ee 1 points 1 year ago

I use an i78500 hp elitedesk g4?

Shop goodwill.com or eBay.

load more comments
view more: next ›