2019-12-11 15:56:48 +00:00
|
|
|
|
# Protocol Labs Standard Testing Configuration
|
2019-12-06 15:26:03 +00:00
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
> This documentation page describes the standard testing configuration the
|
|
|
|
|
> Protocol Labs team has used to test **Lotus Storage Miner**s on Lotus. There
|
|
|
|
|
> is no guarantee this testing configuration will be suitable for Filecoin
|
|
|
|
|
> storage mining at MainNet launch. If you need to buy new hardware to join the
|
|
|
|
|
> Filecoin TestNet, we recommend to buy no more hardware than you require for
|
|
|
|
|
> testing. To learn more please read this
|
|
|
|
|
> [Protocol Labs Standard Testing Configuration post](https://filecoin.io/blog/filecoin-testnet-mining/).
|
2019-12-06 15:26:03 +00:00
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
**Sector sizes** and **minimum pledged storage** required to mine blocks are two
|
|
|
|
|
very important Filecoin TestNet parameters that impact hardware decisions. We
|
|
|
|
|
will continue to refine all parameters during TestNet.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
BECAUSE OF THIS, OUR STANDARD TESTING CONFIGURATION FOR FILECOIN MAINNET CAN AND
|
|
|
|
|
WILL CHANGE. YOU HAVE BEEN WARNED.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
|
|
|
|
## Example configuration
|
|
|
|
|
|
|
|
|
|
The setup below is a minimal example for sealing 32 GiB sectors on Lotus:
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
- 2 TB of hard drive space.
|
|
|
|
|
- 8 core CPU
|
|
|
|
|
- 128 GiB of RAM
|
2019-12-11 12:29:48 +00:00
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
Note that 1GB sectors don't require as high of specs, but are likely to be
|
|
|
|
|
removed as we improve the performance of 32GB sector sealing.
|
2019-12-17 19:59:14 +00:00
|
|
|
|
|
2019-12-11 12:29:48 +00:00
|
|
|
|
## TestNet discoveries
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
- If you only have 128GiB of ram, enabling 256GB of **NVMe** swap on an SSD will
|
|
|
|
|
help you avoid out-of-memory issues while mining.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
|
|
|
|
## Benchmarked GPUs
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
GPUs are a must for getting **block rewards**. Here are a few that have been
|
|
|
|
|
confirmed to generate **SNARKs** quickly enough to successfully mine blocks on
|
|
|
|
|
the Lotus TestNet.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
- GeForce RTX 2080 Ti
|
|
|
|
|
- GeForce RTX 2080 SUPER
|
|
|
|
|
- GeForce RTX 2080
|
|
|
|
|
- GeForce GTX 1080 Ti
|
|
|
|
|
- GeForce GTX 1080
|
|
|
|
|
- GeForce GTX 1060
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
|
|
|
|
## Testing other GPUs
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
If you want to test a GPU that is not explicitly supported, you can use the
|
|
|
|
|
following configuration flag:
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
BELLMAN_CUSTOM_GPU="<NAME>:<NUMBER_OF_CORES>"
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Here is an example of trying a GeForce GTX 1660 ti with 1536 cores.
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
BELLMAN_CUSTOM_GPU="GeForce GTX 1660 Ti:1536"
|
|
|
|
|
```
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
To get the number of cores for your GPU, you will need to check your card’s
|
|
|
|
|
specifications.
|
2019-12-11 01:50:13 +00:00
|
|
|
|
|
|
|
|
|
## Benchmarking
|
|
|
|
|
|
2019-12-18 18:40:47 +00:00
|
|
|
|
Here is a
|
|
|
|
|
[benchmarking tool](https://github.com/filecoin-project/lotus/tree/testnet-staging/cmd/lotus-bench)
|
|
|
|
|
and a
|
|
|
|
|
[GitHub issue thread](https://github.com/filecoin-project/lotus/issues/694) for
|
|
|
|
|
those who wish to experiment with and contribute hardware setups for the
|
|
|
|
|
**Filecoin TestNet**.
|