Raspberry Pi Zero Cluster Computing Fun
It's been a while since our last project, but the wait's been worth it, I promise! 😊
In this project, we'll have some fun a two-node Raspberry Pi Zero W Cluster, housed in our awesome ProtoStax Enclosure for Raspberry Pi Zero, and ready to crunch some numbers! We'll show you how you can compute all primes below 100 million (yes, million!!) in a mere 24 seconds!
Along the way, you'll have some fun learning about parallel computing and MPI, and a sweet math algorithm called Sieve of Eratosthenes! Even if you aren't familiar with any of these concepts, do not fear! I've taken care to try to explain the concepts and principles at a high level bird's eye (or plane's eye) view - a broad introduction without bogging you down with too many nitty gritty details. On the other hand, if you are math/computer savvy, there still plenty of information and pointers to additional information to keep you engaged! It's a win-win, I think! 😊
And the great news is you can use your same ProtoStax Enclosure for Raspberry Pi Zero to house up to 4 Raspberry Pi Zeros! I would love to know how fast your cluster is, and how long it took you to compute all primes below 100 million? The current record is 24 seconds, if memory serves me well! 😊Are you ready to erase the current leaderboard? Ooooh, smack talk, eh?!
Alright, let's dive right in! You can find out more information about the project and what I did at the ProtoStax Project Hub!
Sridhar (and the ProtoStax Team 😊)