Live data from Hacker News

Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

the-diy-life.com

21–30 of 70 posts

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#22
post #3

From quick overview seems like speed up is achieved because there is comparison of 4 local processes, versus 16 processes, since it is only single gather operation does not seem like latency would make much of difference. I wonder what performance would look like on 5 years old 16 core CPU from ebay for like $20, compared to py cluster.

I have a 2 socket E5-2650 v2 for 16 cores which is as fast as a modern Ryzen above (but 50% slower on real world tasks)

0.8 seconds for 10,000

28.16 seconds for 100,000

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#23
2GB Pi is $55 on amazon. 4GB version is $62. That'd be $450+ for the eight pies.

Ryzen 2700 launched at $300 (and tapered down to ~$200) and would pretty much run circles around such a Pi cluster.

Just saying. These Pi clusters can be a cool and fun thing to build but if you're looking for compute power, you'd be better served by a mid-range desktop.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#24

2GB Pi is $55 on amazon. 4GB version is $62. That'd be $450+ for the eight pies. Ryzen 2700 launched at $300 (and tapered down to ~$200) and would pretty much run circles around such a Pi cluster. Just saying. These Pi clusters can be a cool and fun thing to build but if you're looking for compute power, you'd be better served by a mid-range desktop.

In terms of computer per dollar yes. In terms of compute per joule, no.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#25
post #19

There are only 1229 primes up to 10,000, not 1230 as the article says. Not sure whether this is a bug in the code or a typo in the article. I still remember this because 25 years ago as a teenager I spend quite some time making primality testing as fast as I could. My implementation was certainly not as naive as the one from the article - only testing up to the square root of n, only testing against primes I had foun…

1 is considered prime by some.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#26

2GB Pi is $55 on amazon. 4GB version is $62. That'd be $450+ for the eight pies. Ryzen 2700 launched at $300 (and tapered down to ~$200) and would pretty much run circles around such a Pi cluster. Just saying. These Pi clusters can be a cool and fun thing to build but if you're looking for compute power, you'd be better served by a mid-range desktop.

Those 8 pis have all their hardware, though. The Ryzen needs all the rest of the hardware to finish off the computer.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#27

2GB Pi is $55 on amazon. 4GB version is $62. That'd be $450+ for the eight pies. Ryzen 2700 launched at $300 (and tapered down to ~$200) and would pretty much run circles around such a Pi cluster. Just saying. These Pi clusters can be a cool and fun thing to build but if you're looking for compute power, you'd be better served by a mid-range desktop.

In terms of computer per dollar yes. In terms of compute per joule, no.

You can just undervolt the Ryzen and it will still run cycles around the Raspberry Pi while consuming less power if you are into that sort of thing.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#28

Earlier quoted context omitted.

In terms of computer per dollar yes. In terms of compute per joule, no.

You can just undervolt the Ryzen and it will still run cycles around the Raspberry Pi while consuming less power if you are into that sort of thing.

That is not true. The energy efficiency will go down if you downclock because the static to dynamic power ratio will increase.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#29
post #19

There are only 1229 primes up to 10,000, not 1230 as the article says. Not sure whether this is a bug in the code or a typo in the article. I still remember this because 25 years ago as a teenager I spend quite some time making primality testing as fast as I could. My implementation was certainly not as naive as the one from the article - only testing up to the square root of n, only testing against primes I had foun…

1 is considered prime by some.

There are also people who consider the world to be flat though. There is a very thorough mathematical definition of prime numbers and 1 is not prime according to that definition.

Re: Can My Water Cooled Raspberry Pi Cluster Beat My MacBook?

#30

Earlier quoted context omitted.

You can just undervolt the Ryzen and it will still run cycles around the Raspberry Pi while consuming less power if you are into that sort of thing.

That is not true. The energy efficiency will go down if you downclock because the static to dynamic power ratio will increase.

static to dynamic power ratio isn't efficiency though (and static power in modern desktop chips is tiny compared to the dynamic power). The dynamic power is not linearly related to processing speed (in fact it's much worse). If you downclock and undervolt a ryzen processor it will use much less power than the decrease in speed (e.g. from stock, if you drop performance by ~20% you might get a ~40% power decrease). Obviously at a certain point you will start to get worse again but most chips are not at peak performance/watt at their stock settings because raw performance and performance/cost also matters.
Post reply on HN