I know many of you may be wondering if you should get one of these, and if they can be used to create a cheaper cluster than RPi4s. I try to answer that as well as talk about my experience with the RPi Zero and how quick it is with Go and Node.js compared to the older generation. Are you running Zeros now or other models? What would you run on an RPi Zero 2?
Just a question on pi clustering in general. Is there an advantage vs buying a single more powerful computer, or a few powerful machines instead of a dozen+ pis?
First Impressions with the Raspberry Pi Zero 2 W
61–70 of 81 posts
Re: First Impressions with the Raspberry Pi Zero 2 W
#62I know many of you may be wondering if you should get one of these, and if they can be used to create a cheaper cluster than RPi4s. I try to answer that as well as talk about my experience with the RPi Zero and how quick it is with Go and Node.js compared to the older generation. Are you running Zeros now or other models? What would you run on an RPi Zero 2?
Just a question on pi clustering in general. Is there an advantage vs buying a single more powerful computer, or a few powerful machines instead of a dozen+ pis?
What makes more sense for you will depend on your workload and scaling requirements.
Re: First Impressions with the Raspberry Pi Zero 2 W
#63I know many of you may be wondering if you should get one of these, and if they can be used to create a cheaper cluster than RPi4s. I try to answer that as well as talk about my experience with the RPi Zero and how quick it is with Go and Node.js compared to the older generation. Are you running Zeros now or other models? What would you run on an RPi Zero 2?
My dream device for clustering is dual core 1Ghz+, 1GB ddr4 (ddr3 in a pinch) and wired Gb ethernet. In bulk (where bulk ~ 100) price $5-10. Some of the allwinner and rockchip based pi clones get close but price is a lot more.
For qty 1 @ $30 you get 2GB and 4 cores, you could put 2 more ethernet ports on the PCIe port for a total of 3. That gets you into the same-ish performance regime.
I am all for aggregates of low end compute, but I think something with more processing power and more PCIe lanes would scale better.
https://www.digikey.com/en/products/detail/raspberry-pi/SC02...
Re: First Impressions with the Raspberry Pi Zero 2 W
#64Earlier quoted context omitted.
Not really, but that's because I largely dismiss the early Pis altogether. They sit in the awkward space where they're larger and faster than a microcontroller but practically speaking require an OS that wastes a lot of the available resources; for running Linux applications, they feel way underpowered. Pi 3 seemed powerful enough to be interesting and I did a small project with it, but Pi 4 pushes it to where I'm ac…
This is the first time I'm hearing of the Pico. Is there any reason to use it, instead of the ESP32 or ESP8266 boards, or one of the many Arduino compatible uC's? The competitors seem to be much more common than the Raspberry Pico (i.e. it is much easier to find expansion boards, examples etc. for them). They seem to cost roughly the same too, and the ESPs even include WiFi and in the case of the ESP32 even Bluetooth…
Re: First Impressions with the Raspberry Pi Zero 2 W
#65Earlier quoted context omitted.
Yes, I think there are too many. Everyone tends to go for the latest and greatest. The Pi is heading towards becoming a PC replacement, but I'm not sure what advantage that is. Instead of have faster computers, I want a faster OS. Or preferably very little in the way of an OS. Something like a DOS, perhaps. Something where you could write blazingly-fast software because the kernel is straightforward. And I want a rea…
Is there anything fundamental in pi hardware that prevents putting a real time OS on it? (I'm not a hardware engineer)
The Broadcom CPUs in the RPis have unpredictable pauses to let the GPU refresh the RAM (really). That makes them unsuitable for hard real-time applications where you must service an interrupt within a certain time, or emit a signal on a strict deadline, etc.
They're just fine for soft real-time applications where some jitter is acceptable, but what counts as "soft" real-time versus "not-at-all" real-time is the subject of some debate.
Re: First Impressions with the Raspberry Pi Zero 2 W
#66Earlier quoted context omitted.
Not really, but that's because I largely dismiss the early Pis altogether. They sit in the awkward space where they're larger and faster than a microcontroller but practically speaking require an OS that wastes a lot of the available resources; for running Linux applications, they feel way underpowered. Pi 3 seemed powerful enough to be interesting and I did a small project with it, but Pi 4 pushes it to where I'm ac…
> for running Linux applications, they feel way underpowered I think that's because the Raspberry Pi's might be best used as tiny consumer servers, not desktop (or embedded) computers. They seem perfect for running things that require an OS and a moderate amount of processing power - say, DNS, Syncthing, audio streaming, ssh tunnel point, a VPN, a small personal (static) website, or a NAS that doesn't have particular…
Re: First Impressions with the Raspberry Pi Zero 2 W
#67I know many of you may be wondering if you should get one of these, and if they can be used to create a cheaper cluster than RPi4s. I try to answer that as well as talk about my experience with the RPi Zero and how quick it is with Go and Node.js compared to the older generation. Are you running Zeros now or other models? What would you run on an RPi Zero 2?
Just a question on pi clustering in general. Is there an advantage vs buying a single more powerful computer, or a few powerful machines instead of a dozen+ pis?
Re: First Impressions with the Raspberry Pi Zero 2 W
#68Earlier quoted context omitted.
Yes, I think there are too many. Everyone tends to go for the latest and greatest. The Pi is heading towards becoming a PC replacement, but I'm not sure what advantage that is. Instead of have faster computers, I want a faster OS. Or preferably very little in the way of an OS. Something like a DOS, perhaps. Something where you could write blazingly-fast software because the kernel is straightforward. And I want a rea…
Is there anything fundamental in pi hardware that prevents putting a real time OS on it? (I'm not a hardware engineer)
There's also the fact that compared to PCs, ARM boards are kinda special snowflakes. DOS could boot and run on thousands of different machines ("IBM PC compatible") from different manufacturers, in part thanks to BIOS abstracting out some of the core peripherals, in part thanks to (de-facto) standard peripherals. Your custom ARM OS? Well, it won't boot on the next board. UEFI is sort of changing that, but really it pushes the problem to the bootloader (until they start implementing UEFI in firmware).
In a way, I actually prefer not having to rely on BIOS or UEFI, because that protects me from stupid implementations and allows me to customize things. And on the other hand, if you want high performance drivers for modern peripherals, you probably don't want to rely on a firmware abstraction for it (but it'd still be nice to be able to boot and get a shell & some basic I/O going even without hardware specific drivers). But that means you do need drivers in your OS, and as long as chips keep changing as often as they do, it's a never-ending battle to stay on top of driver support.
PCs also gave you a nice escape hatch in that you'd plug in your peripherals to a slot and you could choose parts that you have drivers for. That's not really the case for laptops of course, and ARM SoCs integrate most of the peripherals so if you get a new chip, you get new everything.
Re: First Impressions with the Raspberry Pi Zero 2 W
#69Does anyone else have feelings about “there’s too many tiers of Pi” yet? I’m not sure if I feel that but it’s on my mind.
In practice there are 4 RPi's: the Zero (5$ is hard to beat), the Zero 2 W (small, cheap, with WiFi) and the 4 Model B.
Then there is the Pico, but it is a microcontroller, a completely different product, and the CM4, for large scale deployments.
Re: First Impressions with the Raspberry Pi Zero 2 W
#70The idea of using it as a self-hosted Github Actions runner spoke to me. I wouldn't have thought of that. Thank you!
Don't blame me. The idea came from Martin Woodward (from GitHub) and I was surprised how I had it up and running, executing builds in a few minutes. What kinds of things would you run with yours? Maybe you could use a GitHub action to trigger IoT lights on and off.
That's a long-winded way to say: debugging.