Lotus-bench 基准测试

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 <magik6k@gmail.com>
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为1G
# ./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;

参考:

  1. Lotus-bench results thread (v20 params)
相关推荐
©️2020 CSDN 皮肤主题: 技术黑板 设计师:CSDN官方博客 返回首页