Lotus-benchベンチマークテスト

1455 ワード

Lotus-benchテスト

  • 1、ダウンロードコードブランチtestnet-staging
  • 1,ダウンロードコード分岐testnet-staging

    # git clone https://github.com/filecoin-project/lotus.git -b testnet-staging
    # cd lotus/
    # git show
    commit e6dd4711031708d77c453d3235a47badffc6fe2f (HEAD -> testnet-staging, origin/testnet-staging)
    Author: Łukasz Magiera 
    Date:   Wed Dec 11 01:22:58 2019 +0100
    
        Version fixes
       
    # make build bench
    
    rm -f lotus-storage-miner
    go build  -o lotus-storage-miner ./cmd/lotus-storage-miner
    go run github.com/GeertJohan/go.rice/rice append --exec lotus-storage-miner -i ./build
    rm -f lotus-seal-worker
    go build  -o lotus-seal-worker ./cmd/lotus-seal-worker
    go run github.com/GeertJohan/go.rice/rice append --exec lotus-seal-worker -i ./build
    rm -f bench
    go build -o bench ./cmd/lotus-bench
    go run github.com/GeertJohan/go.rice/rice append --exec bench -i ./build
    
  • 試験開始--sector-size=1073741824は1 G
  • # ./bench --sector-size=1073741824
    
  • 超時報エラー
  • lotus-bench	lotus-bench/main.go:359	getting params: fetching file /var/tmp/filecoin-proof-parameters/v20-stacked-proof-of-replication-e71093863cadc71de61f38311ee45816633973bbf34849316b147f8d2e66f199.vk failed: Get https://ipfs.io/ipfs/QmYHW3zhQouDP4okFbXSsRMcZ8bokKGvzxqbv7ZrunPMiG: dial tcp 199.59.148.140:443: i/o timeout;
    

    参照先:
  • Lotus-bench results thread (v20 params)