Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't know why people love Pi-s so much. They filled a niche, once, years ago, and were quickly outcompeted not even a year and a half after.

Get some old i7 or Ryzen, get a big case, put 12-18 HDDs, spend a little extra on quality cooling solution if you have the server in your bedroom / living room, install modern Linux, tinker to your heart's content.



> I don't know why people love Pi-s so much. They filled a niche, once, years ago, and were quickly outcompeted not even a year and a half after.

They still fill a niche for me, just not a server niche. The easy-to-access GPIO in a close-to-vanilla Linux system really doesn't have a competitor at its price point. For a fourth grade science project last winter, I had a pi 4 already (but it'd have been about $40 at my local microcenter if I hadn't). We were able to source a few $2 sensors off Amazon. I showed her how to look up the pinouts, figure out which GPIO pin to connect the dupont connectors to, and helped her write a python program to log the data from the sensors to a spreadsheet. She had fun with it, learned some stuff, and it really sparked her interest.

I don't think anyone has outcompeted them in accessibility for that kind of tinkering and learning. Or, if they have, they haven't caught my attention yet, and I've usually got my eyes open for that kind of thing.


Ah, education, right. I never had interest in the whole GPIO thing but I'll admit life has been pulling me in very different directions, hence this dropped off my radar. Thanks for the reminder.

Thing is, I was aiming at servers. I've read many HN comments where people adore a Pi for some reason that I just can't see; they have to install custom kernels, get Pi hats, do some extra cabling, 3D-print cases, mount small (or big) fans, and all that.

And don't get me wrong, I love tinkering myself but after reading people's experiences for a while I just thought to myself "Why all this trouble? Get a $250 - $400 mini PC off of Amazon / eBay / AliExpress and put a 2-4 TB NVMe SSD and you have something 20x more powerful and with 100x the storage space".

Again, I love me some tinkering. But nowadays I want to get something out of it in the end. Like the mini PC I bought that I want to dedicate only to a PiHole even if it's a 50x overkill for it. Might add some firewalling / VLAN management capabilities to it down the line.

So yep, for education RPi and Arduino (+ its derivatives) seem mostly unbeaten.


On a RPi I can control more aspects than I can a mini pc ITX board. I can boot straight to my program. I can write directly to frame buffers. I don’t need Linux. I don’t really need a kernel…

Here are some examples of where an RPi outshines a mini-PC (though one can still achieve the same results, just putting the box outside the box):

Coffee table Digital Touch map.

Weather Station powered by a solar panel and a LiPo battery.

ADSB receiver also powered by solar and a battery.

Arcade Cabinet that sits on a bar top with a bill reader.

Mini JukeBox at the local hacker space.

Sailing autopilot using NMEA2000 connectors.

Wearables.

Playing with high density distributed computing. (More than 5 machines)

Where the mini pc really shines is:

Storage. (NAS included)

Media PC (TV sold separately)

Gaming Console

Personal Cloud (docker + nfs + caddy + <insert personalized preferences>)

General Autopilot (sensors that need GPU support).

You have left over old PCs and don’t want to open your wallet…


It's just an illusion. You're still running under https://en.wikipedia.org/wiki/ThreadX


Only for initial boot into Linux. But yes, technically it’s step0.


As I understand it, that is incorrect. It's more like a hypervisor still running in the background. That may have rolled back more and more with recent versions, but in principle the hypervisor can show shit like temperature, voltages and frequency in wrong ways, or delayed to the 'guest', whatever that may be. Actually that was the case, for some time, as some low-level tinkerers and/or overclockers discovered.

Similar to anything running in SMM (System Management Mode) on X86/AMD64 since the times of the 386SL. Be it BIOS, APM, ACPI, UEFI, or whatever.

I repeat: "It's just an illoooshn..." (There is now raw iron/silicon for consumers)


Pretty cool, thank you. Those things have been not on my mind for a while, thanks for the reminder.

I was commenting in the context of why people choose them for servers but I recognize that I did not make that clear.


For homelabs, yer you can get something much better for much less.

For use cases where consistency and future support is key (education and industry) you really can't beat a Raspberry Pi. Their hardware and software support is top class. The first Raspberry Pi is still supported by the latest version of their OS over a decade later and it's even still being manufactured.

For all their products they commit to long term availability. For example, the Pi 5 will be in active production until at least January 2036 (assuming the company itself exists of course).

For anyone with a fleet of these, that's an amazing commitment. It means that when a piece of hardware breaks you can buy a band new but identical piece of hardware to replace it.

For most other companies you'd need to buy a different piece of hardware. Yes, the specs would be better, but now you have a fleet with mixed hardware which _you_ need to support and maintain going forwards.


Oh, I see. It's about fleets of easy-to-manage / predictable-to-support machines. That's valid, thanks for making me aware.

And indeed I was wondering about homelabs. RPis were never good there, not even when they got out for the first time. The form factor is what won over people back then. Feature- and speed-wise they were always mostly substandard. Not to mention Linux kernel support and driver issues (that might have been fixed since the last time I looked, admittedly).

And I agree on the fleet thing. Best if you can flash an SD card, drive to the spot in meatspace, pluck away the broken RPi, plug the new one in, wait for boot, test, drive away. Heard people doing that with RPis and others.


Userspace-accessible GPIOs, I2C, SPI, PCM, and UART on a system that runs Linux. My employer uses them for a bunch of our hardware-in-the-loop test automation, with the GPIOs used for CAN, relays for switching various signals, vibration table control, etc. The USB gets used for SCPI device control (power supply, multimeter, etc.) and DuT connection. It's a lot cheaper to use a Pi for this than it is to use a small form factor x86 machine with a bunch of USB-<protocol> dongles.


If you don’t have use for GPIO or some ISC^2 sensors and want to use it as a server then yes you should get something else.


> Get some old i7 or Ryzen

power draw. running 24/7 it makes a huge difference in overall power usage, and by switching from a repurposed desktop mobo & cpu, to a dedicated low power saved me thousands in electricity costs every year.

that fact that in EU power isn't cheap... is also a main reason for keeping total power draw as low as possible.


Power consumption is a major draw (pun intended) to keep Pis and other SBCs of that kind of form factor employed.


Valid, thanks. But to what degree? The light bulb that runs 18h a day in the kitchen likely draws the same power that my mini form factor Optiplex 3060 does.

To me arguments like "2W vs 10W" are fairly meaningless.

I am much more concerned about data center power usages, especially in the age of LLMs.

Like that ancient German teacher I had that kept preaching we should stop using electric kettles because it's bad for the planet. While the 3 plants in her hometown amounted to ~83% of all power usage and ~92% or all pollution. Boy, was she unhappy when I did that research and pointed it out to her.

Pi-s / SBCs are I suppose very good for computing out there in the meatspace, where you might need a battery because sometimes power stops for 6 hours? Could be that.


Wait how did she suggest people heat water for tea/coffee instead? I've never heard an environmentalist attack electric kettles before.


She did not offer any alternatives. That was also a very funny element to her preaching. She saw a class of students and thought she can signal her virtues.

She was, shall we say, disappointed with the response.

Also this was some 15 years ago.


Because for $40 I have a system that runs at a decent speed.

For $300 I could get an ITX to run.

So for the cost of an ITX, I could run a dozen RPIs. Who wants to have a server running in their bedroom? Have you heard the noise those things make? Sorry, no.


A “server” doesn’t need to mean a pizza box with 15k rpm jet engine fans.

My server is repurposed desktop hardware in a desktop tower case and is nearly silent except for the subtle hard drive noises. The hardware cost next to nothing and is far faster and more capable than any pi (except the pio of course which wouldn’t be used anyway).


You’re running the pi and drives in a plastic take away container off usb power for that price.

At the very least you want the case and psu. At which point the question is which cpu+motherboard+ram combo do you want in that case. The rpi is one of many such options and is actually quite expensive for the amount of cpu+ram you get for the price.


An ITX isn’t the competitor for a Pi. I’d suggest a USFF prebuilt. I use an HP Elitedesk and Dell and Lenovo each have similar tiny PCs. They’re nearly silent or completely silent, and half the size of a Mac Mini. Cost is about $150 for hardware that is more than enough for me, plus they can have 1-2 SSDs and a hard drive inside the case.


Clarification: They're about half the height of the OLD Mac Mini. Better comparison: They're the size of a typical hardcover book if you chopped it to be square.


I'm uncertain of why $40 vs $300 is even a point of debate on HN. The latter is a one-time investment and you likely can expand it a bit i.e. add a 2.5" or M.2 drive later.

What's the gain of running 12 RPi, exactly? Do you do research work requiring distributed low-cost computing?


I do distributed computing, and doing it at home for low costs without cloud spend helps…


Are virtual machines not an option for your use case? From the outside looking in they appear like they would be easier to manage and far less costly.


They are if the GPU can be attached. I avoid virtual machines in favor of container workloads from containerd for this reason. It’s easier to attach Mali GPU and do my work than it is to find cash in this economy for a dozen RTX’s.


Does that $40 include everything to make the Pi work?

After looking at lots of small board options, I got a NUC for $110 to be the brains of my NAS.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: