No, you need a lot of adapters to add ethernet, durable mass storage, etc. over USB OTG. Since these are just Raspberry Pi 3 SOCs effectively you could pick some of those up for the same price as this new board and all the USB dongles and adapters you'd need.
Maximum network bandwidth is ~220 Mbps, and that's with a massive USB Ethernet dongle hanging off each Zero 2. WiFi is a pretty anemic ~35 Mbps.
So unless your clustering needs are very low-performance and don't need much in the way of networked bandwidth, I would stay away from trying to cluster Zeros.
The Zero 2 is slightly less-bad than the original Zero W (I actually built a tiny K3s cluster with it way back when...), but still not a great idea. It's extremely slow and the 512 MB of RAM limits what you can do a lot.
Most of those tinkerer boards spend too much power on low-bandwidth connectivity and use too old cpus to ever be practical for compute. Outright wrong orders of magnitude.
For learning about clustering, sure, go wild. Or maybe use the latest and greatest Pi (is that Pi4 ATM?) to avoid issues with extremely low end stuff (e.g. even disregarding applications, can you run a "cluster stack" on this without OOM etc.?).
For "real work", nope, not worth it. For that, look into what e.g. the giant IAAS providers (AWS, Azure, GCP) or the top500 list are running on.
Well, occasionally they give presentations describing their hardware infrastructure. And you can deduce something from their documentation about available VM types.
Anyway, the idea wasn't to give an exact recipe but rather to give a glimpse on what is generally considered a cost-effective compute platform.
That's awesome, I did the same project when I was working for Hortonworks. I had 8 nodes and it was really limited by memory. I got a few MR jobs running and some benchmarks, but not a great cluster overall.
The US vendors linked on the official site sold out in less than an hour...really wish they enforced a limit per person like pihut did. Anyone else starting to notice that buying any new tech on launch with enthusiast levels of hype (the past 2 years, even prior to the supply chain slowdown) requires spinning up a bot?
Yeah, I don't know what it is. It's like the entire market has turned into one giant speculation machine, where everything and anything that could potentially have some broader interest has to be immediately bought out and resold at higher prices.
I don't know what the solution is, but yes, I've noticed it absolutely everywhere.
I wish this had more RAM and at least a USB-C to boot off of: it'd be pretty nice for singular use cases.
I'd replace the Pi 4 in my 3D printer controller with one and use that Pi 4 for a bunch of other things since they're impossible to find outside of scalpers in my country now. :/
Scalping is usually to sell back to the market at a higher price. People will do that with anything that is in demand but low supply, which has been the case with the initial release of rPi products in the past. I doubt they'll make much, but they make something.
Unfortunately there are ways around any scheme to limit scalpers, so no matter what you try they will still come and you'll just inconvenience the genuine people who was the product/show/other even more.
We have an official reseller but it’s been out of stock for months unfortunately. The making a quick buck on other people’s misfortune thing is widespread here. PS5s still cost upwards of $1000.
And also no antenna connector. My Zero W is nice but the connectivity can be bad so being able to attach a camera without jumping through hoops would be nice.
Curiously the last photo on the site clearly shows an SMA footprint, but the photos only show unpopulated solder pads. I wonder if you can order the board with the SMA socket populated?
It looks like it's set up so you could jump the antenna connection to the connector if you solder it yourself. The Zero W had the same setup (in a slightly different spot on the board), but has never been available with a connector pre-soldered AFAIK.
I’ve never really been happy about power for boards like this.
Is there something much much lighter that can run off a CR2032? For some applications all one really needs is zigbee for access, or something like that.
Or the alternative is a Pi-like with POE. Last time I did that with a Pi it involved a relatively expensive “hat” which felt suboptimal.
Does anyone know if this model supports USB boot? The previous ones did not, and since there’s no info about it in the official post, I assume that’s the case with Zero 2 as well.
I haven't tested it out, but I will in just a moment.
Edit: Out of the box, it doesn't seem to do anything at all without a microSD card with a valid bootloader inserted. Checking if I can set program_usb_boot_mode
Edit 2: I set `program_usb_boot_mode=1` in /boot/config.txt, rebooted, and verified `vcgencmd otp_dump | grep 17:` output `17:3020000a`, but the Zero 2 W just sits if I don't have a microSD card inserted. No HDMI output, no attempt to run off USB (tried with two different flash drives).
With the microSD card and USB both plugged in, it boots off only microSD and the USB volume shows up as sda.
Eben Upton's been mentioning how hard it's been to keep up with demand this year, and it looks like next year won't be better (but hopefully won't be worse!) [1].
I’ve used Raspberry Pi to build an always-on midi recorder for my electric piano (in Rust), which was super useful. Having to have a power supply is the ugliest part, I would say, otherwise it has been a fantastic help.
Fantastic, ordered one to use (hopefully) as a drop in replacement for the GPi case(for context - the GPi case is a Gameboy form factor case with integrated buttons and screen that uses the zero as the "brain" of the system. It's great for emulation, but the Zero could struggle with some games, hopefully this one will work a lot better :-) )
I've been testing it in a Null 2[1], and I can attest to the fact that it is, indeed, much better for emulation. It's rare to have stuttering in any of the NES, Genesis/Megadrive, or PS1 games I've tested. Still has some problems with N64, and I haven't really tested anything else.
The ETA Prime YouTube channel has a video up with more emulation testing.
52 comments
[ 6.6 ms ] story [ 114 ms ] threadSo unless your clustering needs are very low-performance and don't need much in the way of networked bandwidth, I would stay away from trying to cluster Zeros.
The Zero 2 is slightly less-bad than the original Zero W (I actually built a tiny K3s cluster with it way back when...), but still not a great idea. It's extremely slow and the 512 MB of RAM limits what you can do a lot.
For "real work", nope, not worth it. For that, look into what e.g. the giant IAAS providers (AWS, Azure, GCP) or the top500 list are running on.
How do you find that out?
Anyway, the idea wasn't to give an exact recipe but rather to give a glimpse on what is generally considered a cost-effective compute platform.
It works, but the ratio of power consumption to compute performance was worse compared to using a standard PC.
edit: with the huge increase in performance, Pi-4 models may now be competitive.
I don't know what the solution is, but yes, I've noticed it absolutely everywhere.
I'd replace the Pi 4 in my 3D printer controller with one and use that Pi 4 for a bunch of other things since they're impossible to find outside of scalpers in my country now. :/
https://www.raspberrypi.com/news/new-raspberry-pi-zero-2-w-2...
Is there something much much lighter that can run off a CR2032? For some applications all one really needs is zigbee for access, or something like that.
Or the alternative is a Pi-like with POE. Last time I did that with a Pi it involved a relatively expensive “hat” which felt suboptimal.
It seems to me that a microcontroller with an RTOS might be more up this alley (perhaps the esp8266/esp32 platform, but I'm no expert).
That said, it is incredible how fast they can boot, connect to wifi, send something and shutdown again.
Edit: Out of the box, it doesn't seem to do anything at all without a microSD card with a valid bootloader inserted. Checking if I can set program_usb_boot_mode
Edit 2: I set `program_usb_boot_mode=1` in /boot/config.txt, rebooted, and verified `vcgencmd otp_dump | grep 17:` output `17:3020000a`, but the Zero 2 W just sits if I don't have a microSD card inserted. No HDMI output, no attempt to run off USB (tried with two different flash drives).
With the microSD card and USB both plugged in, it boots off only microSD and the USB volume shows up as sda.
Eben Upton's been mentioning how hard it's been to keep up with demand this year, and it looks like next year won't be better (but hopefully won't be worse!) [1].
[1] https://www.theregister.com/2021/08/20/raspberry_pi_supply_e...
The ETA Prime YouTube channel has a video up with more emulation testing.
[1] https://www.null2.co.uk