DIY Nodes Guide

Anyone can become a ThreeFold farmer by connecting standard computers to the ThreeFold Grid as 3Nodes. This guide is for those who want to purchase or build their own nodes, rather than using hardware provided by ThreeFold. We’ll cover what kind of systems are compatible and how to optimize your setup.

How many tokens will I receive?

Let’s get this one out of the way. The short answer is that the number of tokens a node farms depends on several factors. Farming rewards are designed to fairly compensate farmers based on the value of their contributions to the grid. As ThreeFold grows, the model for token distribution sometimes changes.

The constant goal is to create an attractive investment over a five year period. If you are looking for quick gains or absolute certainty about how many tokens you will receive each month, farming might not be for you. To learn more about how rewards are calculated, see this wiki page.

What kind of hardware is supported?

A 3Node can be any reasonably modern 64-bit computer with an Intel or AMD processor, running ThreeFold’s Zero OS. The team has had some success testing ARM based devices, but supporting them is not currently a priority.

Each node also needs a minimum of one solid state disk (~500gb) and a bare minimum of two gigabytes of random access memory. USB based external drives are not supported, due to reliability concerns.

Servers, desktops, and mini computers are preferred over laptops. No graphics capability or display is required, although it may be helpful during boot configuration or if troubleshooting is necessary. You can check out some other farmers’ rigs in this thread.

How many watts?

Power efficiency is a key consideration for farmers. Spending less on electricity means more earnings. A small form factor server may be much more power efficient than a gaming PC with similar specs (the Grid does not currently support GPUs). Knowing exactly how much power a system will draw can be complicated, but some manufacturers provide more detailed estimates than the watt rating of a power supply.

How much RAM?

It’s recommended to have a minimum of four gigabytes of RAM for each virtual CPU. There are generally two vCPUs per physical CPU core, so that equals eight gigabytes per physical core. The recommended upper limit is eight gigabytes per vCPU—beyond that, adding RAM does not increase the number of tokens farmed. For example:

  • 4 physical CPU cores (8vCPU): 32-64 GB of RAM

What kind of internet connection?

A wired network connection should be considered essential for maximizing reliability and your node’s ability to farm. Any domestic high speed internet plan is adequate for a basic node. If you are planning to offer more than a few terrabytes of storage, a gigabit or faster connection may be necessary to support the traffic. Your node only needs bandwidth when it is being utilized to store or retrieve data. That means you could scale up your connectivity as utilization of your node grows. The Grid is designed with IPv6 in mind, but IPv4 is sufficient for now.

How to boot it?

Zero OS may be booted either from a USB stick (the boot image is tiny, so any size drive will do) or over a network via PXE. In either case, the latest software will be downloaded and cryptographically verified before boot. After the first boot, Zero OS will update itself automatically and requires virtually no maintenance. Occasionally, updates to the boot medium may be required.

What next?

When you’re ready to start farming, follow these instructions to bring your 3Node online.

7 Likes

I wanted to ask, I don’t have a 512 GB SSD but do have 6 x 1 TB HDD in my server is this acceptable? If I wanted to add/replace storage for that node, is there anything special that needs to be done or once the node is rebooted with new hardware (whether cpu, ram or storage) it will be recognized?

We consider at least one SSD to be essential for the function of the OS. I can’t guarantee your node will boot without one. The node will detect any hardware changes on its next boot, no special intervention needed.

Great post, @Scott. Thank you – I am sure many will find it helpful!

2 Likes

Great post, what about network cards, what is supported?
I tried to boot my Dell R410 the other day, from a USB stick, but got stuck on a network initialization error right after boot.

1 Like

I run into problems with Broadcom 5709C it was not supported by ZeroOs V1, an additional NIC was necessary. but maybe in the meantime it is now supported.

for me the default 1GB Intel NIC worked fine.

see this topic for my setup - @ all please share you setup :wink:

1 Like

So you saying its better to have the SSD instead of HDD? I have 3 Enterprise HP laying around that have 1TB HDD. Maybe I should switch them out.

It is best to have some SSD in your node. If there is space, I’d recommend adding SSD in addition to the existing HDDs rather than swapping them out. The reason is similar to why is makes sense to have SSD to boot an OS and HDD for additional storage. Deployments on the Grid benefit from having some high performance SSD for their root filesystem, while HDD is preferred for applications needing large amounts of storage with lower performance requirements.

Hi guys! I’ve started assembling a couple of PC’s lately with parts that I had available, repurposing them into ThreeFold farmers.
For the lower end ones I have a choice between 4cores\8 virtual and 6cores\6 virtual, both with 32GB ddr4. Which one would be better for farming? I know that in multimedia tasks, more real cores are better, but I don’t know if it applies to ThreeFold.
Also, would there be a lot of difference between a Nvme M.2 and a Sata3 M.2? I’ve read that if the internet connection speed isn’t good enough to keep up with the transfer speed of your storage devices, it’s just over-kill. Am I right?

Looks like we got you covered over on Telegram :wink:

I have a dell server with Broadcom BCM5708 and I try to install ZeroOs V2 with legacy USB image not EFI and is stucked at:

Downloading Zero-OS image, transmit times out

IS getting ip setings, dns, gateway

Is it not supported this network card?IMG_20210825_141622

Well this seems to be a problem with the NIC and iPXE, we can’t really do something regarding this. Adding another network card could fix it.

We strongly discourage any machine not supporting EFI by the way.

1 Like