Giter Club home page Giter Club logo

sto's Introduction

Install

    $ ./bootstrap.sh
    $ ./configure
    $ make

(NOTE: if you are using OS X you should probably run ./configure CXX='clang++ -stdlib=libc++ -std=c++11')

Tests

Run single-threaded tests:

./single

Multi-threaded test: (-c performs a check of the multithreaded correctness)

./concurrent randomrw DATASTRUCTURE -c

^ runs with 4 threads, 1 million total transactions of size 10 each, half of which are read-writes

If this is too fast:

./concurrent randomrw DATASTRUCTURE --ntrans=10000000 -c

Check delete multithreaded correctness (not applicable for arrays):

./concurrent xordelete DATASTRUCTURE -c

You can get a list of both available tests and data structures by running ./concurrent without arguments.

Benchmark singlethreaded:

./concurrent randomrw DATASTRUCTURE --nthreads=1

or

./concurrent randomrw DATASTRUCTURE --nthreads=1 --ntrans=10000000

Or if you want to test transaction system overhead, read-my-writes overhead, etc. (larger transactions):

./concurrent randomrw DATASTRUCTURE --nthreads=1 --opspertrans=100

(and benchmarking multithreaded just involves changing the --nthreads argument)

Paper benchmarks

See BENCHMARKS.md for some help on reproducing data/graphs from the paper.

sto's People

Watchers

 avatar  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.