Raspberry Pi Server Mark III
uplab.pro
uplab.pro
USB thumb drive boot disks are better performance and cheaper than SD cards.
Fans are completely unnecessary on a Pi4 with an aluminum heat shield style "case". They do run hotter than with a fan, but they will not be heat throttled with recent firmware.
However, there are usb3 nvme enclosures that are incredibly cheap, and blow both out of the water:
https://www.jeffgeerling.com/blog/2020/fastest-usb-storage-o...
For a build like the one in the article, I imagine something that puts two nvme sticks beside each other, sandwiched between every other rpi, with passive aluminum heat shields in the remainder of the spaces between the rpi’s. I bet it could be even denser (more pis and more storage) and quieter.
I wonder if space can be saved by making a heat shield heatsink that has a pi on both sides, and fins in the middle.
Super cool article.
https://www.seeedstudio.com/Jetson-Mate-Cooling-Kit-p-4784.h...
They recommend Kubernetes for private cloud workloads. But I am wondering if there isn't room in the ecosystem for a new virtualization / containerization technology to orchestrate tasks on multi gpus? Have heard NVidia is developing its own OS, or rather two, one for Cloud AI and one for real time robotics, but its still research phase...
It might have GPU acceleration but the RPi already comes with 8GB of RAM for about 80$.
https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-...
https://www.amazon.com/Geekworm-Raspberry-Computer-Aluminum-...
https://flirc.tv/more/raspberry-pi-4-case https://flirc.tv/more/raspberry-pi-case (for RPi 2 and 3)
https://www.waveshare.com/pi4-case-argon-one.htm
Edit to add the fan is optional, so it can run fanless with no throttling.
Admittedly, that's a simple load, but my Pi never gets over 42 degrees C, in a tropical area, averaging around 30 degrees C.
1 x 4k@60hz with no case and alu heat shield and my RPI4 does throttle. Latest firmware. Seems you don't punish it enough.
I wish USB was designed to at least snugly support housing to housing of connectors and not have the entire connector supported by a flimsy piece of sheet metal soldered to a PCB.
Do you overclock?
If you ran at 99-100% CPU on average, would you still not need fans?
No Overclock.
99-100% CPU on all 4 cores for hours and no throttling. they do run at 75-78C instead of 65C, but I could not get them to throttle.
Even with the cheapo 3 piece heat sinks there was almost no throttling, but they did throttle occasionally after sustained stress.
Advantages: Cheaper than conventional servers, limited physical form factor suitable for constrained environments such as apartments, luggage, etc. Low power consumption, suitable for mobile/off-grid/renewable.
Recommended software: https://clusterlabs.org https://www.kernel.org/doc/html/latest/admin-guide/nfs/nfsro... https://wiki.gentoo.org/wiki/Diskless_nodes
Commercial advantage: Run highly cost and power efficient data centers, call centers, etc. Eliminate redundant state. Remove manual configuration rollout. Infrastructure as code. Full CI/CD with kernel-level control, per node, for any OS. Basically becoming a lost art in this day of "outsource to cloud". With SDN knowledge, confidently build your own cloud provider.
Honestly, could be as valid with a setup that just involves running a bunch of VMs.
> Low power consumption
Yeah, well, a typical laptop should draw around 50W, which is what, like 0.05$ a day?
> Commercial advantage: Run highly cost and power efficient data centers
Hu, no, in terms of power efficiency per unit of work, you will not beat specialized hardware.
> Infrastructure as code. Full CI/CD with kernel-level control, per node, for any OS. With SDN knowledge, confidently build your own cloud provider.
Sure, also, blockchain, 5G, serverless, microwaves, rust, wasm
Lets come back to earth for a second. There is objectively no purpose for this, except it's fun and nerdy. Do we really have to find excuses?
> Honestly, could be as valid with a setup that just involves running a bunch of VMs.
Slightly less valid. You don't have the same IO latency between nodes using VMs unless you start messing around with artificial attempts at inducing latency on each node individually.
It's much easier to accurately simulate real world networking by not bothering to simulate and just using real world networking.
There's a huge difference between latency on a wire vs latency within a hypervisor, and you won't know what you've papered over through lower latency via VM until you move to real hardware.
At least where I live that would be 1.2kWh and about 13 cents per day, around $4 per month, or around $50 per year if running 24x7.
Pacific Northwest has I believe some of the cheaper power in the U.S. at 10-11 cents per kilowatt hour.
When you're done with the cluster, you can likely sell them for nearly what you paid for them.
I host a lot out of my house on a T430S with a cracked screen.
In the case of Raspberry Pi it is pretty normal nowadays to connect a bunch of them into a cluster and have some fun. In fact, it has become so popular, that you u can find stackable cluster cases and other Pi cluster hardware on amazon.
"What about all the homeless Iranian Ferrari owners!" doesn't seem like much of a rallying cry.
Or maybe to Don Quixote, but he was famously delusional.
It's the same here.
Also you are comparing a space shuttle to a few raspberry pis, hardly apples with apples.
Many other small VM hosts accept payment by Bitcoin.
None of this is true.
"The most common one was having too little money to use an account. Two-thirds cited this as a reason for not having a financial institution account, and roughly a fifth cited it as the sole reason. Cost and distance were each cited by about a quarter of those responding to the question, and a similar share said they do not have an account because a family member already has one. Lack of documentation and distrust in the financial system were both cited by roughly a fifth of adults without a financial institution account, and religious concerns by 6%."
https://www.cashmatters.org/blog/globally-17-billion-people-...
(And to state the obvious: poverty is also a barrier to owning physical infrastructure)
What's the best way to go about clusters since I think you need 1gb RAM per node and lowest I've seen is $5.
Thanks
The alternatives are much more powerful, but far more expensive and not very attractive in other ways. Blade server? Huge, noisy, power-hungry and I wouldn't get much change from many thousands of pounds. Rack of NUCs? Powerful of course but far more expensive, large, separate power bricks, ethernet switch and lots of wiring required. VMs running on a desktop? Still more expensive, larger, and not the same tangible experience as having a real cluster. VMs on a laptop? Laptops at the same price point would have too little RAM to run lots of VMs well.
So these Raspberry Pi clusters fit a niche which is not well served by other solutions.
If you can distribute your workload (or it's not intensive anyway), i.e. having no single machine with a faster processor, then I think it's a good choice, cheaper to run.
Edit: I'm happy to be corrected if down-voters would like to reply... A Pi 4 draws 6-7W at full load. A former desktop PC turned server likely idles over 100W.
They're different beasts, so I'm not saying 'a Pi is better than a PC', I'm saying 'if your load could also be handled by a (bunch of) Pi(s), then all else being equal that might be better than the PC'. Of course all else is never equal, ymmv, you may already have the old PC, you may need very many Pis, so even if pennies cheaper to run it might take years and years to break even on the Pi acquisition cost.
[1] https://magpi.raspberrypi.org/articles/raspberry-pi-specs-be...
[2] https://www.pidramble.com/wiki/benchmarks/power-consumption
I also like the idea of having an easy homogeneous setup, each Pi having one disk, vs. my alternative (old PC parts) being something like '4 SATA ports on this one, and 6 on that one, but one's broken, less one on each for the boot disk' - I quite like the idea of having a bunch of Pis, and one image that I apply to all of them, which can include details like /dev/sda being its only data disk. That's not really a functional advantage, just appealing for keeping it simple to come back to and remember/understand how I set it up when I need to tweak something (and really easy to add another one increasing available cpu/ram/disk).
Picture in Swedish, from graphics card review comparing average power draw for the entire system for various GPUs, idle and while benchmarking in Metro Exodus, numbers rounded to nearest multiple of 5: https://cdn.sweclockers.com/artikel/diagram/22452?key=2c6f21...
If the direct picture link doesn't work, it's under "Effektmätning" here: https://www.sweclockers.com/test/30908-amd-radeon-rx-6900-xt...
Y'all negative folks against this seem to have very restricted use cases in mind. Not all redundant rack servers live in a 36U case in a air-conditioned internet connected server farm. There are plenty of use cases outside of this.
Not everything needs a business case, some things (most things) should be done just because you want to see if you can.
If someone really needs to think in items of ROI and that everything needs a business case, then this ideology of doing things for fun and testing limits is the only way to really innovate.
The RPi4 with a USB SSD should be fast enough and use little power.
I tried running Nextcloud on Raspberry Pi 4 (4GB) a while ago, and hitting performance issue on SD card very fast (initial DB import take very long). I tried to solve this by moving all Nextcloud data into iSCSI disk but RAM & CPU became a problem once I started adding more files. After a week or so, I tore everything down and went back to a VPS instance.
It might works better with Raspberry Pi cluster on Kubernetes, though. (This very Raspberry Pi is now happily running as a DVB streaming server.)
My only beef with RPIs as servers is disk I/O is terrible. If that's been solved, I'd love to know! If the SOC has PCI-E lanes that were accessable externally I feel like the server side would really take off
The RPi 4 also has support for USB 3 disks using UAS. I've attached a couple of SSDs to mine. https://rwmj.wordpress.com/2020/09/24/raspberry-pi-4-running...
Edit: someone has done this already. Of course! :) ( https://tech.xlab.si/blog/pxe-boot-raspberry-pi-iscsi/ )
There's room for a much larger fan so it seems a case of bad design by Raspberry Pi
Hmm ... seems like you can also network boot them over DHCP/TFTP:
https://www.raspberrypi.org/documentation/hardware/raspberry...
Every step deeper, or obscure loses you more and more mass appeal.
Therefore, projects with high max appeal make it to the top of lists like HN. It's no conspiracy.
All of the elastic and horizontal stuff is great, but that's covered under SLA.
Why do so many people want to see a higher purpose in any fun experiment? Can't it just be that, a fun and cool hobby project?
Compared to something we all know, e.g. MBP 16" 2019, how does this rack of Raspberry Pi's stack up?
I know it can be like comparing apples to oranges but I was just curious how fast this can be.
It's certainly much better than the original Raspberry Pi (which felt like a 486), but it is not using recent technology and it just doesn't compare to what is available today. It is for projects where you would normally use a microcontroller, but want HDMI and Linux out of the box. People using the Pi for art projects, signage, dashboards, controlling their sprinkler system, etc. have the right idea. People using them to serve interactive traffic are going to have a bad time. They are really, really slow.
The HN hug is strong this morning
How its going: Raspberry Pi Server Mark III
It's more or less the same as the people in /r/homelab who have full server racks in their basements but never do anything with most of their eBay servers other than install CentOS on them. At least those can serve movies via Plex, though.
RPI rack on other hand. plug and play. Cheap as chips to keep failover as you can keep backup rigs in a cupboard. It doesnt require expensive monkey to unplug bits. Most sites I serve have minimal if any internet at all. So cloud compute not an option everything has to be done on-site. RPI is perfect. It has more than enough grunt, costs bugger all, performance is rock solid.
But in terms for actual cost and performance; how does this compare in terms of peak performance, power consumption and actual total cost to mass produced quality hardware like the Apple Mac Mini?
I don't the actual numbers but I have the feeling it won't fare that well.
- The project was obviously started before the Mac mini was available
- Linux guests are still rather experimental and might not behave the same way as a real machine.
- 32-bit Arm applications do not run on the M1, it is a 64-bit-only CPU
- Nested virtualization is said to not work yet under MacOS, so you cannot run KVM guests inside of the Linux guest
- If you need to spin up lots OS instances simultaneously to test various setups and each of them need 8GB, you can have at most 2 instances on a Mac.
For most use cases, none of those apply, so you would be better off with a Mac, a Graviton instance or an off-the-shelf PC.
You can use it as a USB-hub though as I suppose you get 2 USB-ports pr. raspberry pi.
Serving web pages. A single Raspberry Pi 4 can manage 943 Mbit on its Gigabit port.
You might be able to buy (expensive) 40 Gigabit network adapters for the two TB4 ports of the Mac Mini. You'd still be slower.
Or a kiosk with 14 HDMI displays.