Giter Site home page Giter Site logo

bbb's Introduction

BBB: Boston Blockchain Benchmarking

Steps to Install & Use

  • populate a VM instance with Ubuntu 18.04 LTS, # of cpus >= # of Mininet hosts to be used + 1 (the extra core is for the Mininet's main process)

  • execute the following

    sudo su # mininet requires the root priviledge
    cd && git clone https://github.com/haochenpan/BBB.git
    cd ~/BBB && . setup.sh # to install Go environment, Geth, and Mininet
    cd ~/BBB && . run.sh 5 # to start evaluation with 5 miners, replace 5 with any other natural number
    # when you run it for the first time, it may not generate some throughput numbers because 
    # geth (Ethereum) is preparing the DAG files (check the logs under hosts folder). 
    # After a few more runs, logs (and henchforth, throughput numbers) can then be generated.

Project Structure

  • data/: store all log files for the analysis program to calculate throughputs and latencies
  • hosts/: store all geth miner runtime data
  • keys/: store all pre generated keys (may deprecate in the future)
  • v2/
    • v2_config.yaml: Config Mininet topology and link parameters. Explanation see here. Let # of Mininet hosts >= # of miners, i.e. the paramter after . run.sh
  • analysis.sh: the analysis program that calculates throughputs and latencies, called by run.sh
  • genesis.json: Etherum Genesis Block's definition
  • prerun2.sh: prepare Geth miners' folders, environment variables, called by run.sh
  • run.sh: the entry point of an evaluation
  • setup.sh: install this project

bbb's People

Contributors

haochenpan avatar tigranb2 avatar

Watchers

 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.