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

Selfhosted

37939 readers
660 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!!

you are viewing a single comment's thread
view the rest of the comments
[–] BigMikeInAustin@lemmy.world 12 points 4 months ago (1 children)

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.

[–] towerful@programming.dev 8 points 4 months ago (2 children)

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.

[–] AtariDump@lemmy.world 1 points 4 months ago* (last edited 4 months ago) (1 children)

Is there an intel/amd/x86_64 computer I can power via PoE?

[–] towerful@programming.dev 1 points 4 months ago (1 children)

A quick google found things like these:
https://things-embedded.com/us/edge-computers/poe-computers/

Obviously tailored more to the industrial/automation/embedded side of things with odd IO. And probably a ridiculous prolice tag.
PoE++ (802.3bt) can deliver 60w. UPoE extends this to 100w. So, there is a LOT you can power from that!

[–] AtariDump@lemmy.world 2 points 4 months ago

Neat, and agreed that the price is probably stupid money.

With that in mind, it’s why I like the Pi for smaller projects - I can power them via PoE.

[–] BigMikeInAustin@lemmy.world 1 points 4 months ago (1 children)

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.

[–] towerful@programming.dev 1 points 4 months ago (1 children)

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.

[–] ShepherdPie@midwest.social 2 points 4 months ago

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).

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.