May 30, 2021 - infrastructure nvidia

Creating an Nvidia Jetson Nano Portable Cluster

Xavier Geerinck

@XavierGeerinck

In my previous article I explained how we can get one single Nvidia Jetson Nano 2GB Node up and running. In this article I would love to go in more detail on how we can create a cluster.

Requirements

To create my cluster, I utilized the materials below:

Note: These requirements were created for 3 Nodes and receive internet through a Mobile Pocket router that can be put in Client mode to connect LAN over WiFi (very useful for portability).

Total Bill: 358.64 Eur (or 163.64 Eur without the Nvidia Jetsons)

While Assembling

To make efficient use of our time, we can flash the SD Cards with the Operating System as explained before. They take around 20 minutes each.

Assembling

While the SD Cards are flashing, we can get started with assembly! This is quite straightforward, so mount the nodes on top of the switch and connect them through the UTP cables. Then take the Mobile Pocket Router and connect that to the first port of the switch.

Once this is done, we can provide power by connecting the nodes and the mobile Router to our USB Hub. Finally, power on the switch and the USB Hub to get started!

Connecting to your Nvidia Jetson Nanos

Once the Nvidia Jetson Nanos have been set-up, you can quite easily detect them by installing Angry IP Scanner and scanning your home network. This will show the nodes and their respective IP Addresses.

Configuring Windows Terminal

As mentioned earlier, you can easily login on all the nodes through a shortcut and entering the command below:

CMD /C wt.exe wsl -d "Ubuntu-20.04" -- bash -c "ssh xavier@xavier-nvidia-node-1.local"; split-pane -H wsl -d "Ubuntu-20.04" -- bash -c "ssh xavier@xavier-nvidia-node-2.local"; split-pane -V wsl -d "Ubuntu-20.04" -- bash -c "ssh xavier@xavier-nvidia-node-3.local"

Conclusion

With a small bill we have built our own GPU Cluster that has a combined 384 Cores and 1.416 TFLOPS! (which is similar to 1 Jetson TX2)

Did you enjoy reading? Or do you want to stay up-to-date of new Articles?

Consider sponsoring me or providing feedback so I can continue creating high-quality articles!

Xavier Geerinck © 2020

Twitter - LinkedIn