Giter Site home page Giter Site logo

aleo-prove-bench's Introduction

Aleo Prove bench

Aleo Prove显卡测试工具

Running aleo prove on terminal

功能

  • 显示系统设备CPU、GPU信息;
  • 显示证明时系统CPU、GPU占用率;
  • 支持配置证明时的多项式系数阶degree及最大阶max_degree;
  • 支持多显卡并行处理;
  • 针对不同的显卡进行优化,如GeForce RTX 2660s;

支持系统

  • Linux
  • MacOS
  • Windows

依赖

注意:显卡驱动版本需要大于500,在515.76上测试通过

环境准备

sudo apt update -y

sudo apt install libssl-dev pkg-config nvidia-cuda-toolkit

编译

git clone https://github.com/minerdao/aleo-prove-bench.git && cd aleo-prove-bench

cargo build --release

⚠️ 注意: 由于aleo-std的版本冲突,请不要执行cargo update更新,会造成编译失败。

如何使用

cd aleo-prove-bench

./target/release/aleoprove [degree] 2>/dev/null

# 例如
./target/release/aleoprove 2>/dev/null
# 默认degree为12,degree最大不能超过20

./target/release/aleoprove 18 2>/dev/null

结果

Device: CPU 名字(核数), GPU 名字(核数)[V驱动版本]
Proving: CPU 0%, GPU 90%, Elapsed 290s
Result: CoinBase on prove: 43prove/ms(平均每个prove的执行时间), 23proves/s(每秒完成的prove数量)

⚠️ 注意: 首次运行时,生成~/.aleo/resources/cuda/msm.fatbin文件需要一些时间,会影响测试结果,请勿以首次运行的数据为准。

加入社群

MinerDAO社区聚集了Aleo项目的矿工、开发者、投资人。
我们为矿工和开发者提供技术交流、算法优化、资源合作、新项目研究等,欢迎大家加入讨论。

aleo-prove-bench's People

Contributors

maxvint avatar jimluo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.