Merge pull request #854 from filecoin-project/@jimmylee/docs-latest

documentation: mining updates from recent TestNet updates
This commit is contained in:
Jim 2019-12-11 13:31:36 +01:00 committed by GitHub
commit 1511f52c7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 4 deletions

View File

@ -11,8 +11,12 @@ BECAUSE OF THIS, OUR STANDARD TESTING CONFIGURATION FOR FILECOIN MAINNET CAN AND
The setup below is a minimal example for sealing 32 GiB sectors on Lotus: The setup below is a minimal example for sealing 32 GiB sectors on Lotus:
* 3 TB of hard drive space. * 3 TB of hard drive space.
* 8 to 12 core CPU * 8 core CPU
* 256 GB of RAM * 128 GB of RAM
## TestNet discoveries
* 256GB **NVMe** Swap on an SSD for anyone that has 128GB RAM to avoid out of memory issues while mining.
## Benchmarked GPUs ## Benchmarked GPUs

View File

@ -1,5 +1,13 @@
# Mining Troubleshooting # Mining Troubleshooting
```sh
mining block failed: computing election proof: github.com/filecoin-project/lotus/miner.(*Miner).mineOne
```
This bug occurs when the storage miner can't acquire the `bellman.lock`. To fix it you need to stop the `lotus-storage-miner` and remove `/tmp/bellman.lock`
## Your miner is not ready
```sh ```sh
lotus-storage-miner info lotus-storage-miner info
# WARN main lotus-storage-miner/main.go:73 failed to get api endpoint: (/Users/myrmidon/.lotusstorage) %!w(*errors.errorString=&{API not running (no endpoint)}): # WARN main lotus-storage-miner/main.go:73 failed to get api endpoint: (/Users/myrmidon/.lotusstorage) %!w(*errors.errorString=&{API not running (no endpoint)}):
@ -7,8 +15,19 @@ lotus-storage-miner info
If you see this, that means your **Lotus Storage Miner** isn't ready yet. If you see this, that means your **Lotus Storage Miner** isn't ready yet.
## Your computer is too slow
```sh ```sh
CAUTION: block production took longer than the block delay. Your computer may not be fast enough to keep up CAUTION: block production took longer than the block delay. Your computer may not be fast enough to keep up
``` ```
If you see this, that means your computer is too slow and your blocks are not included in the chain, and you will not receive any rewards. If you see this, that means your computer is too slow and your blocks are not included in the chain, and you will not receive any rewards.
## Running out of storage
```
lotus-storage-miner pledge-sector
# No space left on device (os error 28)
```
If you see this, that means `pledge-sector` wrote too much data to `$TMPDIR` which by default is the root partition (This is common for Linux setups). Usually your root partition does not get the largest partition of storage so you will need to change the environment variable to something else.

View File

@ -65,6 +65,8 @@ lotus-storage-miner info
lotus-storage-miner pledge-sector lotus-storage-miner pledge-sector
``` ```
* Warning: On Linux configurations, this command will write data to `$TMPDIR` which is not usually the largest partition. You should point the value to a larger partition if possible.
Get **miner power** and **sector usage**: Get **miner power** and **sector usage**:
```sh ```sh

View File

@ -48,7 +48,7 @@ lotus client deal <Data CID> <miner> <price> <duration>
``` ```
* Price is in attoFIL. * Price is in attoFIL.
* The `duration`, which represents how long the miner will keep your file hosted, is represented in blocks. Each block represents 30 seconds. * The `duration`, which represents how long the miner will keep your file hosted, is represented in blocks. Each block represents 45 seconds.
Upon success, this command will return a **Deal CID**. Upon success, this command will return a **Deal CID**.