Live data from Hacker News

Build your own bare-metal ARM cluster

blog.alexellis.io

1–10 of 38 posts

Re: Build your own bare-metal ARM cluster

#3
I was looking for something similar earlier this year and ended up with SOPINE's cluster board. It only supports 7 ARM modules at a time but you can always stack multiple boards. Its also inexpensive. The SOPINE board I have has worked very well and recommend it.

https://www.pine64.org/?product_cat=clusterboard

Re: Build your own bare-metal ARM cluster

#4
This is going to be a stupid question...but what does clustering do? Does it increase the amount of "cores" in a system? What about the RAM? Or is the clustering software a task manager that allocates different boards as needed depending on the the task load?

Re: Build your own bare-metal ARM cluster

#5

This is going to be a stupid question...but what does clustering do? Does it increase the amount of "cores" in a system? What about the RAM? Or is the clustering software a task manager that allocates different boards as needed depending on the the task load?

There are no stupid questions. Clustering allows you to do more jobs at once than you could do with a single machine of the same power. It allows for redundancy if you set things up in such a way that if one hardware components fails another takes over. It can allow for better isolation between processes for security reasons than what a process isolated from another process on the same machine can give you. And many other reasons besides, so clustering is a technique that can give you many different benefits.

But...

There is a price to pay. Clustering isn't easy, convenient or without overhead. As soon as you cross the boundaries of what a single machine can give everything suddenly has a price, either in terms of latency, throughput, complexity or loss of control. Clustering software tries to hide some of this but under the hood these will always be there.

Here are some good hints about what limitations you are operating under no matter how good your distributed environment:

https://en.wikipedia.org/wiki/Fallacies_of_distributed_compu...

https://en.wikipedia.org/wiki/Amdahl%27s_law

Re: Build your own bare-metal ARM cluster

#9
I'm really grateful to Alex Ellis for his gist[0] to install kubernetes on RPis. I built my own 4 nodes cluster following this gist. It's been great to get my hands dirty with kubernetes

That being said, I had to buy an Asus Tinkerboard with 2GB RAM to serve as the cluster master because 1GB RAM was a bit short. My master node went below 100MB of free RAM and pod evictions (of kube-system pods) started to happen. If I were to do it again, I think I would use only Tinkerboards just for the convenience of having the same OS/hardware on each node.

[0] https://gist.github.com/alexellis/fdbc90de7691a1b9edb545c17d...

Re: Build your own bare-metal ARM cluster

#10
Wouldn't doing something like this with FPGAs be ultimately cheaper and more efficient. Sure, it will have a big overhead to learn, build and set up your FPGAs specifically for your problem, but that seems like a constant time overhead?
Post reply on HN