• Swarfega@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    I ran lots of containers on a Pi 4 but recently purchased two cheap Chinese mini PC’s with 16GB RAM and an SSD. They’re so much faster and only a bit dearer than a Pi. I run Proxmox on both.

    Absolutely nothing wrong with the Pi though. The Pi 4 lives on with a USB drive attached. I have NFS configured on it to backup my Proxmox VMs to it. It also hosts all the media for Jellyfin.

  • doktormerlin@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    10 hours ago

    If you think about it, the kubernetes nodes often are only raspberry pis specwise. 2-4 cores, 8-16gb of ram

  • Jakeroxs@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    13 hours ago

    I have been in for a couple months now, Proxmox cluster with two machines.

    1. Self built pc that was my daily driver for a while, rtx 3080ti 32gb ram, ryzen 7 3700x, runs the heavy stuff like a Mac VM, LLM stuff, game servers
    2. Rando open box mini pc I picked up on a whim from Bestbuy, Intel 300 (didn’t even know these existed…) with igpu, 32gb of ram, hosts my dhcp/dns main traefik instance and all the light services like dozzle and such.

    Works out nicely as I crash the first one too often and the DHCP going down was unacceptable, wish I got a slightly better cpu for the minipc but meh, maybe I can upgrade it later.

  • Legoraft@reddthat.com
    link
    fedilink
    arrow-up
    2
    ·
    13 hours ago

    To be fair, also love the mini pc’s and having a larger NAS. For me the PoE capabilities of the Pi’s are definitely the reason I use them

  • thecoolowl@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    14 hours ago

    The HAT-ability of RPi makes them enough for me. You can add sata ports, PCIe, and more with a simple HAT.

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      arrow-up
      24
      ·
      1 day ago

      I would have disagreed with you when Pis were like $50 and chaining 3 Pis together with a hard drive was a fun project to do self hosting.

      Now to get to the beefiest raspberry pi, it’s $120. And in the range, yeah, for price and reliability, use a mini-pc/laptop.

      • Korhaka@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I think the pi zero might have a place, don’t have one but at least it is actually cheap. Used an old laptop before, now running stuff on my PC which I feel was a bit of a mistake in a way but it started as one process and more appeared over time.

        At some point would like to move it into a VM tbh, then I could copy the VM to a mini PC at a later date. Or easily copy it when reinstalling the OS on my main PC. VM for convenience and separating it from my general PC usage.

        • Noerttipertti@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Pi zero 2 runs my home automation smoothly and few of it’s sisters are in a desk drawer in case of equipment failure. It has quite enough oomph to run Home Assistant with zigbee hat.

      • daniskarma@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        6
        ·
        1 day ago

        Nah, they are underpowered for their current price. When you could get your hand on a raspberry pi 3 for 35€ 10 years ago it was a bargain. But now it’s not the case.

      • Trainguyrom@reddthat.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        23 hours ago

        Honestly Raspberry Pis are pretty underpowered as hosts for more than a handful of super basic services, and given they consume 20-30w at minimum you’re easily getting into used office desktop territory where you can get a ton more performance right out of the gate.

        The real value in the raspberry pi is in the GPIO and the cohesive ecosystem of accessories to plug into said GPIO. You can do so many cool automations and controls using just an RPi (especially if combined with something that can’t be accomplished more cheaply and easily with an ESP32) but as a server host they’re pretty crap in comparison to a decade old business PC off of eBay

        • Infinite@lemmy.zip
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          I’ve got 3x RPi 4/5 with external drives and other USB running ~10 containers at 4-6W each. How did you make them draw 20W?

  • cynar@lemmy.world
    link
    fedilink
    English
    arrow-up
    19
    ·
    2 days ago

    I’ve found that a pi is good enough, computationally, but not reliability wise.

    A lot of things like advanced light control goes through my host, so any lockups or crashes are bad. My pi held up for about 18 months before it began to play up. I’ve found a small NUC system has higher reliability for the same price and power usage.

      • cynar@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 day ago

        That doesn’t help against hardware thermal runaway. The pi would overheat its own ram chips and hard lock up. A simple power cycle fixed it.

  • Mio@feddit.nu
    link
    fedilink
    arrow-up
    3
    arrow-down
    6
    ·
    17 hours ago

    Yes, you can optimize a lot. Especially with Linux. I did the same and even started to replace program that did too much, bloated, with my own programs. To speed up the development I did it with AI and Cursor.

  • Diurnambule@jlai.lu
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    So close. Started on raspberry pi. Went for a cluster with dpckrt swarm. Finished with a nas and a 10years old game computer as a mediacenter. (That the electricity bill whoch made me stop the cluster)

  • abbadon420@lemm.ee
    link
    fedilink
    arrow-up
    92
    ·
    2 days ago

    I need a kubernetes cluster with high availability, load balancing and horizontal pod autoscaling, because that is something I want to learn. I don’t care that it’s just for wife’s home-made dog collars webshop.

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      3
      ·
      19 hours ago

      Yeah that’s basically it for me. I have a collection of dev boards, old hardware and stuff other people were tossing out set up for a variety of purposes (Kubernetes clusters, two build farms, network boot, etc.). None of it is because I feel I “need” any of that for self hosting. In practice two old desktops with a bunch of drives would be perfectly capable of providing everything I need including redundancy. I have all that stuff because I’m learning and experimenting.

      • ikidd@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        2 days ago

        I don’t get this; a Pi isn’t even in the same conversation as an old rackmount server you can get for free. You couldn’t stuff half the compute, ram and storage into a Pi or a dozen Pis for 10X the cost of grabbing something off eBay for a hundred bucks.

        That’s if the Rpi Foundation is deigning to let us peasants even buy them these days.

        • methodicalaspect@midwest.social
          link
          fedilink
          English
          arrow-up
          14
          ·
          2 days ago

          I have an old rackmount server I got for free. Dual Xeon X5650s, 192GB of RAM, four 8TB HDDs, and a pair of 250GB SSDs. I can only use it in the basement because it’s too loud to run anywhere else, but even then, it’s currently off because it trips its circuit breaker under heavy load.

          A power strip full of Pis in a k3s cluster doesn’t do that. I used a 2GB model 4 for the control plane and 3Bs as the workers.

        • RamenJunkie@midwest.social
          link
          fedilink
          English
          arrow-up
          7
          ·
          2 days ago

          The problem is that server will probably use more electricity, it’ll be clunky to store, and it’s going to be loud as fuck.

  • nesc@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    128
    arrow-down
    1
    ·
    2 days ago

    I need

    It’s just fun to play with, there is no “need”.

    • hanke@feddit.nuOP
      link
      fedilink
      arrow-up
      29
      ·
      2 days ago

      Yeah, I enjoyed my time with k3s setup at home as well, but right now I don’t really want nor need that 😄

  • merc@sh.itjust.works
    link
    fedilink
    arrow-up
    10
    ·
    2 days ago

    The only problem I’ve had with Raspberry Pi is that some apps want to write a lot of stuff to “disk”, and the default “disk” on a Pi is a MicroSD card which dies if you keep writing things to it. Sure, you can always plug something into a USB slot, but that adds a bit of friction to the whole process.

    Oh, also, I wish it were easy to power a whole bunch of Pi units. Each one needing its own wall wart is a bit annoying, and I’ve had iffy results using weaker, less steady power supplies with multiple ports intended for things like phones.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        22 hours ago

        Yeah, but then you have to get a kind of case that can handle a Pi plus that hat. It’s a good idea, it’s just a bit more fiddly than just the typical booting from the SD card and doing everything that way.

        • Trainguyrom@reddthat.com
          link
          fedilink
          English
          arrow-up
          3
          ·
          23 hours ago

          The amount of writes required to kill an SSD aren’t going to be seen in the real world on a timescale of less than 10 years unless you’re really doing something wild that you shouldn’t be.

          An SD card might fail after it’s full capacity being written a handful of times, SSDs can survive that several hundred times over. Seriously look up the terrabytes written specs for various storage mediums and calculate out the daily amount of writes. Oftentimes with SSDs you’d have to literally write a terrabytes of data a week to actually see a problem

        • rtxn@lemmy.worldM
          link
          fedilink
          arrow-up
          2
          ·
          23 hours ago

          Not within the computer’s lifetime. Consumer-grade SSDs are generally rated for 3000-5000 write cycles or more, and contain some kind of wear levelling mechanism to distribute write operations over the entire physical medium to reduce the chance of individual block failures. The first SSD I ever bought is still going strong as my server’s root filesystem.

    • fallingcats@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Most SD cards aren’t really suitable for the kind of workload an operating system generates (that being mostly random i/o). Make sure to get a reputable A2 (application class 2) rated card, they aren’t that expensive but perform way better.

      Raspberry Pi themselves launched a card recently, I haven’t tried that one but it’s probably a good choice too.

      • merc@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        22 hours ago

        I think the Raspberry Pi Linux releases mount things onto a ram drive, so the typical IO doesn’t touch the SD Card. But, if you run another OS (which sometimes is the easiest way to get other software running) it tends to just treat the SD Card like an HDD/SSD.

        • fallingcats@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          20 hours ago

          That’s definitely not true, Raspberry Pi OS works and acts like a normal Debian installation per default - with root mounted rw and all.

          Other than that, there isn’t much “treating like an HDD/SSD” going on, it just writes to flash when an application requests it does. If the underlying storage is an eeprom, an sdcard nvme storage doesn’t really change anything here.

  • passepartout@feddit.org
    link
    fedilink
    arrow-up
    80
    ·
    2 days ago

    Switched from a raspberry pi 3 to a second hand x86 thin client (lenovo thinkcentre m920q) because raspberry pi 4 were not available at the time. Made me learn proxmox and a bunch of other cool stuff my raspi couldn’t handle.

    I’m rooting for ARM / RISC-V to become more popular in desktop computing / servers though.

    • mesamune@lemmy.world
      link
      fedilink
      English
      arrow-up
      53
      ·
      2 days ago

      I’ve always liked riscv. Just the idea of literally everything on the device being open source is a fun idea. Manuals to everything.

      • Refurbished Refurbisher@lemmy.sdf.org
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 days ago

        Just because the ISA is open source doesn’t mean that the end product or even the design will be open source.

        RISC-V is licensed permissively, giving anyone the right to make a proprietary (or FOSS) RISC-V processor.

        Often times, you’ll see mostly open source cores, but then some extention is proprietary.

    • QuarterSwede@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 day ago

      I did similar once the pi4s were hard to get and expensive. A used x86 mini pc was cheaper and magnitudes more powerful. It runs all my server needs. I’m a simple person: homebridge, plex server, retro game library.

    • tofuwabohu@slrpnk.net
      link
      fedilink
      arrow-up
      8
      ·
      2 days ago

      Waiting for proxmox-arm becoming a thing (I know there’s some community versions trying it but I’m not sure how reliable they are)

        • fuckwit_mcbumcrumble@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          8
          ·
          2 days ago

          Apple Silicon Macs do a great job with virtualization. Outside of them there’s just no nice high end hardware that’s well suited for something like proxmox. It’s either low end SBC, or the hyper proprietary ARM servers that I don’t think we can even buy.

          • Refurbished Refurbisher@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            Modern Android phones include a hw-accelerated hypervisor. In Android 16, there will be a feature to run a full Linux VM through what Google calls protected Kernel VM (pKVM).

            Qualcomm has their own implementation called Gunyah

      • QuazarOmega@lemy.lol
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 days ago

        Very much so, not quite ready for prime time maybe, but you can play with it, StarFive is quite well-known for their chips in this space for example

      • passepartout@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        There are some Raspi competitors offering SBCs with RISC-V chips, there is even a RISC-V Mainboard for the framework laptops, but the last time I checked they sadly didn’t reach the performance levels of comparable ARM chips.