I assumed it was the M1. (It's an Intel MacBook.)
Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
11–20 of 70 posts
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#12Earlier quoted context omitted.
this is with a fixed multiprocessing script ?
is this what you mean? FindingPrimesMulti-1.zip
https://github.com/joshjerred/mpi4py-with-multiprocessing-Ch...
To me this would be more fair comparison between single cpu and pi cluster.
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#13Nevertheless this is not as interesting as testing the M1 chip on the latest MacBook offering. I feel a bit misled but perhaps it was just my fondness for the M1 causing this bias.
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#14Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#15Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#16I would really like to see how a raspi cluster fares with "real world" loads, like running an app or a distributed system, instead of calculating pi. I'm genuinely curious whether there would be any gains by running Docker containers, each on a separate Raspberry Pi. I personally am a web developer, therefore my technology stack is almost always the same - an app server, a background worker, a queue and a database. O…
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#17The test script didn't share the load across processors so the author is rerunning the tests. It seems the graphs therefore are misleading (for now). Nevertheless this is not as interesting as testing the M1 chip on the latest MacBook offering. I feel a bit misled but perhaps it was just my fondness for the M1 causing this bias.
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#18I tried FindingPrimesMulti.py on a 3970x: Find all primes up to: 10000 using 256 processes. Time elasped: 0.51 seconds Number of primes found 1229 Find all primes up to: 100000 using 256 processes. Time elasped: 36.71 seconds Number of primes found 9592 Find all primes up to: 200000 using 256 processes. Time elasped: 149.55 seconds Number of primes found 17984 EDIT: ran it again: Find all primes up to: 200000 using 2…
10k using 48 processes: 0.82 seconds (using the original single threaded script this was actually faster at 0.65)
100k using 48 processes: 28.41s
200k using 48 processes: 99.68s
--- EDIT - looking at resource monitor python.exe is only using 7-8% of total available CPU resources
--- EDIT 2 - switching to ThreadPool from multiprocessing.dummy brought the 10k result down from 0.8 seconds to 0.3 seconds, but didn't impact the 100k or 200k results
Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#19Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?
#20I would really like to see how a raspi cluster fares with "real world" loads, like running an app or a distributed system, instead of calculating pi. I'm genuinely curious whether there would be any gains by running Docker containers, each on a separate Raspberry Pi. I personally am a web developer, therefore my technology stack is almost always the same - an app server, a background worker, a queue and a database. O…
If that is the case, then M1 should be the slowest CPU Apple has used in the past 10 years.