Will mining go beyond the traffic limit - what internet speed is needed for mining

Will mining go beyond the traffic limit - what internet speed is needed for mining

Any home Internet via twisted pair will be enough to mine cryptocurrency. Or not? Let's figure out if ping plays a role in mining and what effect the internet speed has.

The number of megabytes "consumed" by the farm does not matter 

In 2021, any network provider operates at an unlimited tariff, without limiting the traffic flow. The price of such services starts from 150 UAH per month in Ukraine and from 100 rubles in the Russian Federation. Any "free" Internet at 64kb / s will have a low ping, or stability, which just affects the quality of mining.

Internet speed plays a secondary role in mining. There are no mining tasks that depend on network speed. In fact, video cards execute equations pre-loaded into the computer memory without downloading code from external servers.

The DAG file is created but not downloaded. Before starting mining, the video card generates a special registry that contains information about correct and incorrect blocks. It is called a DAG file, and before the start of mining, it is created according to a previously obtained algorithm from the blockchain network, without requiring a download.

The connection is used to check with the blockchain. During the execution of calculations, the size of the data that the video card receives is within 17 MB. It can be a reconciliation of sent "shares" or hash-sums of received blocks of cryptocurrency - a fragile procedure and demanding on the stability of the signal.

What internet speed is needed for a mining farm

Technically speaking, the farm will be able to continue mining at 10 kbps per GPU. The speed of the Internet received through a telephone cable or a 3G modem is fully sufficient. There are no problems for the farm to go online and continue mining.

The signal should be stable. For example, in rural areas, a 3G modem that receives hardly one stick is not a friend in mining. The statement is also true for a telephone cable, through which the provider sends a signal once a day between 12 and 16 o'clock in the afternoon. The farm needs a stable signal to work.

25 mb / sec is enough for everyone. 1 mb / sec is not a problem either, but be prepared for the occasional mining problem. The network speed does not affect the "growth" or "fall" of the hash rate, the optimal level will be 25 mb / s, which is enough for four rigs.

Start mining with uninterrupted network access. Before you start mining, get an uninterrupted provider and get a current account from him to pay for the service. Any operators in Ukraine or Russia are suitable: Kyivstar, Iota, MTS, Beeline or any local provider of network access services. You will need a checking account to pay bills for the farm, which is in the middle of nowhere.

How much internet will an industrial mining farm need?

What is an industrial mining farm in general? When is it considered "industrial"? Trying to figure it out. Here's what's known.

An industrial mining farm integrates many video cards. There is no specific number, as there are no standards that could classify a farm as an industrial one. Conventionally, a farm can be called "industrial" when it contains 2 thousand video card miners and occupies a separate warehouse. There are also secondary aspects, for example, when five or six ventilation shafts are allocated for the cooling system. Or, alternatively, separate farm power shields, each 20 kilowatts.

An industrial mining farm will need a channel of 4 Gb / s. In theory, a 2000-farm farm would need a 10kbps bandwidth for each of the video cards. In total, we have a consumption of 20 kb / s, or 000 mb / s, for the entire farm. In practice, for industrial farms, they connect channels several gigabytes wide, the most optimal of which is 20 GB. This is done due to the number of devices and the associated network load, which a 4 Mb / s channel cannot handle due to technical limitations.

What is ping and why does it affect the mining farm?

Ping is the delay between the transmission of information within the communication network of the Internet. For example, you sent a letter by pigeon mail, it took 2 weeks, which means that the ping of such a "data packet" was 2 weeks. The statement is also true for signal transmission over copper cable.

Ping is measured in milliseconds (ms). The higher it is, the worse, for example, a 120 ms ping is much worse than a 20 ms ping. The difference is as much as 100 ms. A mining farm will have enough ping at the level of 100 ms, but only if the network is constantly jumping, then problems may arise.

The ping should be stable. Time delays in signal transmission should be of a systemic nature. For example, when, when checking, the ping is at a stable level from 99 to 102 ms, then this is good. Conversely, when the ping jumps between 76 and 150, then this is bad. The signal should be stable even if latency is high.

How to measure the ping of your mining farm?

During mining, miners give a ping of the farm between the data on accepted and rejected shares. For example, in the screenshot, mining is at the level of 300 ms, which is not good. With a high ping, like the friend in the screenshot, there is a risk that some of the mined blocks will not be accepted by the blockchain system.

Will mining go beyond the traffic limit - what internet speed is needed for mining

Ping checking can be done in two ways. The first one is through the website www.speedtest.net... Start testing by clicking Go, it will take a couple of minutes to check. The site will give results on connection speed and latency levels when using the current provider.

The second method for checking ping is software, through the CMD console. To invoke the console, press Win (⊞) + R, write CMD and press Enter. In the black window that appears, enter the text "ping google.com -t" without quotes. Wait a couple of minutes, then press CTRL + C, this will interrupt the ping check by the console. Further, in the window there will be rows of text, where we are interested in the number next to "time =". Ideally, the numbers should go exactly, for example "56, 57, 55, 58, 55, 55".

When the ping is above 250, it's time to change the provider. Conversely, when ping jumps from side to side like a frightened mountain goat, this is also a reason to change providers. What do ping jumps look like? Like this: “55, 57, 56, 120, 22, 55, 54 ". An abrupt transition to "120, 22" indicates that the signal from the provider is unreliable.

Reducing the ping to the mining pool server 

First, let's take a look at the scenarios why ping staggers from side to side or grows by leaps and bounds.

The provider saves on wires and switches. As a result, you get high ping and unstable signal. Changing the operator will cost up to $ 20; you will not need to re-lay the cables for this. High ping occurs mainly in regions and district regions, where you will need to purchase a 4G mobile communication package or set up satellite Internet.

Poor connection to the pool. There will be some experimentation here as the ping reduction is based on choosing the best route networks. As a traveling salesman's task, only in the case of mining will you need to choose the nearest server that is only available.

We check the ping to different pool mirrors. You will need to perform operations manually, in fact, you take the address of the mining pool, open the CMD console and do the -ping command insert.pool.address -t. After that, watch what happens. If the ping is high, then try changing the connection locations.

Ping is geo-linked. Let's say Mikhail lives in St. Petersburg. It will have low ping if it works with European servers. It's good. At the same time, if he tries to connect to Asian servers, his ping will grow and the farm will produce more bad blocks.

On the Hashalot pool, the server is selected automatically. The balancer takes into account the geolocation of the farm and selects a route with minimal delays. The procedure is automatic, you do not need to select the mirror manually.

Choosing the type of connection for the mining farm

If we focus on reliability, then it strives for fiber optic cable. But this is an ideal, which in mining conditions is superfluous and unattainable. Another issue is receiving a signal through a twisted pair cable or over the mobile Internet.

We connect the farm via twisted pair cable or a good router. In terms of reliability, twisted pair is higher than the mobile Internet, but you can continue mining through 4G modems. The choice of the type of connection depends more on the location of the farm. For example, in a city apartment, connect the farm through a twisted pair cable and switch. A mining farm "on the run" in the woods is connected via satellite communications or mobile 4G Internet.

How to choose a router for a mining farm

Anyone with more than one antenna. For example, from TP-Link or Mikrotik.

Mining router TP-Link

A router is not a router. Let's divide the concepts, here we are talking about a router that is designed to transmit a signal over Wi-Fi. It can be confused with a switch or router, these are the devices that are needed to build a mining farm "on the walk". They are used to create local infrastructure, for example, connecting several farms into one network.

Mining router

Router, front view, model with antennas. There is overkill in a home mining farm.

The speed of the mining router is secondary. Any router capable of supporting a speed of 50 mb / s is suitable for a mining farm. The farm doesn't need a bigger one.

Router for eight ports - for the development of the farm. If you want to expand your farm, you will need more network ports to connect new rigs. Take with a margin, for example, an 8-port router is suitable for assembling eight separate rigs at home.

How to set up a router for mining

When mining, you do not need to configure a router. From the point of view of the router, mining is no different from watching porn or news - the type of load does not change. Another question is that the router may need to start after a power outage. This is where you need to buy additional UPS and batteries for satellite Internet, or ... just wait until the lights for the Wi-Fi router are turned on.

Using Watch Dog Timers to Restart the Farm 

Watchdog timers are of two types. There is a special type of software that is designed to remotely monitor the state of the farm. These are timer programs, they are able to monitor what is happening in the computer and react to events, provided that they have been configured in advance. And then there are hardware watchdogs.

Mining uses hardware timers. There is a small memory chip on the PCB with the USB plug. It can be flashed through a programmer or special software for a computer. You can sew your program onto a memory chip, for example, specifying special conditions.

Timers serve as a farm tracking tool. For example, a situation - video cards in a barn are extracting ether. Something went wrong in the cooling system and the temperature of the graphics chips rose to 90, the VRM warmed up to 140, the memory banks ran into 97 degrees. A farm in the balance of light and noise.

Conventionally, the timer "sees" the temperature and sends the farm to reboot or to sleep. In the described scenario, it would be optimal to put the farm to sleep by sending a notification in the messenger or email to the mail of the owner of the farm.