FIL Lotus Benchmark v26参数 基准测试

Posted by chen yang on June 15, 2020

	*   Empty
		|   |
		|   v
		*<- Packing <- incoming
		|   |
		|   v
		*<- PreCommit1 <--> SealFailed
		|   |                 ^^^
		|   v                 |||
		*<- PreCommit2 -------/||
		|   |                  ||
		|   v          /-------/|
		*   PreCommitting <-----+---> PreCommitFailed
		|   |                   |     ^
		|   v                   |     |
		*<- WaitSeed -----------+-----/
		|   |||  ^              |
		|   |||  \--------*-----/
		|   |||           |
		|   vvv      v----+----> ComputeProofFailed
		*<- Committing    |
		|   |        ^--> CommitFailed
		|   v             ^
		*<- CommitWait ---/
		|   |
		|   v
		*<- Proving
		|
		v
		FailedUnrecoverable

		UndefinedSectorState <- ¯\_(ツ)_/¯
		    |                     ^
		    *---------------------/


Lotus版本

commit a032bbe08751f3c7aa88a56b22276bad5584a07d (HEAD -> master, origin/master, origin/HEAD)
Merge: 9fbc7aaf a2943a6b
Author: Jakub Sztandera <kubuxu@protocol.ai>
Date:   Fri Jun 12 19:27:51 2020 +0200

    Merge pull request #2012 from filecoin-project/schomatis/feat/doc/README/branches

    doc: active development branches

Bench版本

root@test-miner:~# ./bench --version
2020-06-14T13:43:58.381+0800	INFO	lotus-bench	lotus-bench/main.go:74	Starting lotus-bench
lotus-bench version 0.3.0

显卡版本

nvidia-smi
GeForce RTX 2080ti 11GB

CPU

AMD Ryzen Threadripper 3970X 32-Core Processor

内存

RAM: 128GB DDR4
SWAP: 128GB
HARD DISC:
    System: 1TB Samsung 970Evo (Swap is here)
    For IPFS: 2x16TB RAID0
VGA: NVidia Geforce RTX 2080Ti 11GB

Bench测试结果数据(非优化结果)

RUST_LOG=info FIL_PROOFS_MAXIMIZE_CACHING=1 ./bench sealing --sector-size 32G   2>&1| tee log
results (v26) (34359738368)
seal: addPiece: 6m7.624609796s (89.1 MiB/s)
seal: preCommit phase 1: 3h6m40.589776601s (2.93 MiB/s)
seal: preCommit phase 2: 2h7m18.955245157s (4.29 MiB/s)
seal: commit phase 1: 6.512451269s (4.91 GiB/s)
seal: commit phase 2: 1h33m50.453247266s (5.82 MiB/s)
seal: verify: 35.519876ms

generate candidates: 4.407319ms (7.09 TiB/s)
compute winnnig post proof (cold): 5.817039387s
compute winnnig post proof (hot): 5.590646663s
verify winnnig post proof (cold): 41.795401ms
verify winnnig post proof (hot): 17.804181ms

compute window post proof (cold): 28m23.701103315s
compute window post proof (hot): 27m49.917823069s
verify window post proof (cold): 4.911413109s
verify window post proof (hot): 49.601297ms