bellperson
bellperson copied to clipboard
zk-SNARK library
git clone git checkout 2080Ti BELLMAN_VERIFIER=gpu BELLMAN_CUSTOM_GPU="GeForce RTX 2080 Ti:4352" BELLMAN_CPU_UTILIZATION=0 CUDA_VISIBLE_DEVICES=0 RUST_LOG=trace cargo test --features gpu -- --exact multiexp::gpu_multiexp_consistency --nocapture ``` warning: unused import: `std::time::Instant` --> src/gpu/multiexp.rs:14:5 | 14...
results (v28) SectorSize:(34359738368), SectorNumber:(1) seal: addPiece: 1m40.626541161s (325.6 MiB/s) seal: preCommit phase 1: 3h3m16.757401329s (2.98 MiB/s) seal: preCommit phase 2: 23m43.763900117s (23.02 MiB/s) seal: commit phase 1: 332.897593ms (96.13 GiB/s)...
results (v28) SectorSize:(34359738368), SectorNumber:(1) seal: addPiece: 2m14.487987532s (243.7 MiB/s) seal: preCommit phase 1: 3h4m11.019860994s (2.965 MiB/s) seal: preCommit phase 2: 37m8.059063771s (14.71 MiB/s) seal: commit phase 1: 524.134053ms (61.05 GiB/s)...
Ubuntu 20.04 3090显卡 cpu 7542 2021-01-27T16:35:11.829+0800 INFO lotus-bench lotus-bench/main.go:606 [0] Generating PoRep for sector (2) beignet-opencl-icd: no supported GPU found, this is probably the wrong opencl-icd package for this hardware...
在docker下编译,编译没有问题,运行lotus-bench sealing --storage-dir=/home/lotus_user --sector-size 512Mib出错 2021-01-27T14:04:03.948 TRACE storage_proofs_porep::stacked::vanilla::proof > node index 800000/800000/16777216 2021-01-27T14:04:13.773 DEBUG rust_gpu_tools::opencl::utils > loaded devices: {} thread '' panicked at 'failed to create ColumnTreeBuilder: ClError(BusIdNotAvailable)', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/storage-proofs-porep-5.4.0/src/stacked/vanilla/proof.rs:516:23 stack...
warning: unused variable: `exp_bits` --> /home/bugx/lotus/bellperson/src/gpu/multiexp.rs:110:13 | 110 | let exp_bits = exp_size::() * 8; | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exp_bits` | =...
p2做完会有300m的内存遗留,这样再做c2时候,+10.8g,会超出11g,导致-4报错。 [](https://imgchr.com/i/svH8YT)
2021-01-26T20:16:44.626 INFO storage_proofs_porep::stacked::vanilla::cache > parent cache: opening /home/lotus_user/filecoin_proofs_parent_cache/v28-sdr-parent-7ba215a1d2345774ab90b8cb1158d296e409d6068819d7b8c7baf0b25d63dc34.cache, verify enabled: false 2021-01-26T20:16:44.626 INFO storage_proofs_porep::stacked::vanilla::proof > multi core replication 2021-01-26T20:16:44.626 INFO storage_proofs_porep::stacked::vanilla::create_label::multi > create labels 2021-01-26T20:16:44.689 DEBUG storage_proofs_porep::stacked::vanilla::cores > Cores: 32,...
[](https://imgchr.com/i/sXTw3d)
2021-01-26T00:31:58.945 INFO bellperson::gpu::locks > GPU is available for FFT! 2021-01-26T00:31:58.945 DEBUG bellperson::gpu::locks > Acquiring GPU lock... 2021-01-26T00:31:58.945 DEBUG bellperson::gpu::locks > GPU lock acquired! 2021-01-26T00:32:34.278 INFO bellperson::gpu::fft > FFT: 1 working...