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!!

  • BigMikeInAustin@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    8 months ago

    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
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      8 months ago

      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.

      • BigMikeInAustin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        8 months ago

        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
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          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
            link
            fedilink
            English
            arrow-up
            2
            ·
            8 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.