update scripts and docs to use human-readable sector size

Commit #fa863595 modified various CLI commands to accept a 
human-readable sector size. We should update docs and scripts, too.
This commit is contained in:
laser
2020-06-01 09:20:44 -07:00
parent c3916e3a7f
commit 12ff9fd76b
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ Download the 2048 byte parameters:
Pre-seal some sectors:
```sh
./lotus-seed pre-seal --sector-size 2048 --num-sectors 2
./lotus-seed pre-seal --sector-size 2KiB --num-sectors 2
```
Create the genesis block and start up the first node:
@@ -34,7 +34,7 @@ Then, in another console, import the genesis miner key:
Set up the genesis miner:
```sh
./lotus-storage-miner init --genesis-miner --actor=t01000 --sector-size=2048 --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json --nosync
./lotus-storage-miner init --genesis-miner --actor=t01000 --sector-size=2KiB --pre-sealed-sectors=~/.genesis-sectors --pre-sealed-metadata=~/.genesis-sectors/pre-seal-t01000.json --nosync
```
Now, finally, start up the miner:
+1 -1
View File
@@ -51,7 +51,7 @@ If you suspect that your GPU is not being used, first make sure it is properly c
First, to watch GPU utilization run `nvtop` in one terminal, then in a separate terminal, run:
```sh
lotus-bench --sector-size=2048
lotus-bench --sector-size=2KiB
```
This process uses a fair amount of GPU, and generally takes ~4 minutes to complete. If you do not see any activity in nvtop from lotus during the entire process, it is likely something is misconfigured with your GPU.