Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
If you don't need the I/O pins, look into a mini PC. In the US, used can easily get you something under $100 US. New would probably be around $100-$150.
If you get a low CPU, they idle around what the PI would be doing.
A PC would give you faster, more durable storage, inside of a case. And maybe memory upgradability, if you need it eventually.
A PC would be bigger, but some are not much bigger, especially if you add any USB dongles or external storage to the PI.
The YouTube channel "Hardware Haven" has a bunch of random old "junk" computers he's worked on.
I agree.
Pis are great for tinkering, GPIO things, or ultra low power.
Plenty of older hardware out there that is as powerful (or more so), more reliable (ie, not an sd card), and more maintainable (ie can swap CPU/ram/disks/fans/psu).
But, power consumption is always a concern. At $0.30/kwh, 10 watts is $27 per year.
So, if a pi draws 5w and an SFF draw 25w, thats $55 per year. Any price benefit of a larger/older PC is negligiable after a year or 2, so reliability probably wont come into it.
The last video from "hardware haven" I saw (not the last released, just the last I saw) found:
Fuzzy memory on details: a 5th or 6th gen Intel idled at 7 watts vs an ultra efficient at 5 watts. He calculated out that it would take 2-4 years, depending on your electricity, to pay for the cost difference of a new ultra low power machine. CPUs and even graphic cards have gotten much better at idling very low.
5th and 6th gen are pretty ancient.
An i3-12100 motherboard bundle is about £160, will idle with dual NVMes about 20w, and will absolutely slay a similar 5th or 6th gen low power build.
Anyway...
A Pi 4 will idle around 3 to 4 watts, and run 6 watts when the CPU is pegged. A Pi 3 is 2w idle and 3.6w pegged. (https://www.ecoenergygeek.com/raspberry-pi-power-consumption/)
Here is a low power 6th gen intel build.
https://mattgadient.com/building-a-low-power-pc-on-skylake-10-watts-idle/
Idle draw is 10w. Total pegged draw is 50w.
They mention an i7-6700t has lower TDP (35w), so that power draw under load would be probably 25-30w.
Which is still 2x higher at idle, and 5x higher under load than a raspberry pi.
Chances are the i7 would run closer to idle when tasked with work that would be stressing the pi, considering it is twice the clock speed and twice the thread count. So, maybe 2x more draw on average (6w vs 15w)?
As for costs, im seeing i7-6700t selling used for £60, new DDR4 is probably another £40, and a new cheap motherboard is £60. A quick ebay search shows refurbbed " i5 6th gens" (no model number) with 8gb of ram and 256gb ssd going for £140 (16gb of ram is £5 more, but for the sake of comparison).
I can buy a 8gb pi4 starter kit for £104 (psu, case, sd card, hdmi cable & pi4 8gb).
Which is cheaper than a refurbished i5 6th gen, and is lower power.
If i was running virtualisation, i would absolutely pay more for something i can eventually stuff 64gb (or more) ram into, as well as multigig/10gb networking.
But for running some home services in a docker compose stack? A pi4 is going to be cheaper in the short and long term.
When people suggest these, they're recommending old Optiplex micro PCs (such as the 3040 micro) not building a new machine from scratch. These can be purchased for $100 or less in the US as businesses use them and then dump them all when they upgrade.