Coder Social home page Coder Social logo

hpides / perma-bench Goto Github PK

View Code? Open in Web Editor NEW
17.0 4.0 2.0 4.45 MB

A benchmarking suite to evaluate the performance of persistent memory access (PerMA-Bench @ VLDB '22)

License: MIT License

CMake 2.90% C++ 85.32% Shell 0.18% Python 11.09% CSS 0.51%

perma-bench's People

Contributors

1p4pk avatar lawben avatar ninaihde avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

yzouchen mweisgut

perma-bench's Issues

Fix HTML/plot layout

There is some overlay in the plots. Also, the plots should be cleaner in the HTML pages. Maybe we should add a table layout.

  • fix overlap
  • add KB/MB/GB to large numbers
  • separate latency and bandwidth visually
  • fix y scale for large values to avoid 1e6 etc.

Mixed Workloads in Parallel

add something like parallel_benchmark as top level entry in config file to run multiple different workloads in parallel

Run visualizations

Change path to path to JSON and not to a directory or accept more than one JSON in a result folder.

Fix config output

The parameters:

  • persist _instruction
  • data_instruction
  • exec_mode
  • random_distribution

only output there enum integer. Instead, the input string should be used as an output as well.

Data format benchmark

{  "benchmark_name": "bm_name",
   "config": <config>,
   "results": [
       { "type": "write",
         "latency": x, // (in nanoseconds)
         "bandwidht":  x, // (in GB/s)
         "data_size": x, // (in GB)
         "start_ts": x, // (timestamp)
         "end_ts": x, // (timestamp)
         "thread_id": x //
       },
       { "type": "read",
         "latency": x, // (in nanoseconds)
         "bandwidht":  x, // (in GB/s)
         "data_size": x, // (in GB)
         "start_ts": x, // (timestamp)
         "end_ts": x, // (timestamp)
         "thread_id": x //
       },
       { "type": "pause",
         "length": x, // (in microseconds)
         "start_ts": x, // (timestamp)
         "end_ts": x, // (timestamp)
         "thread_id": x //
       }
     ]
}

Asserts for parameter

Add assertions for our assumptions like relation of number of threads to number of partitions or read and write ratio.

Mixed Workload NUMA (multiple sockets)

Idea: give the user the option to differentiate between near or far benchmarks. Threads are scheduled on the same numa node where the data is in memory for near benchmarks. They are scheduled on different numa nodes if possible.

Benchmarksuite

Main -(filename)-> BMSuite

  1. Create benchmark
  2. Setup benchmark
  3. Benchmark run
  4. Benchmark getResult
  5. Visualization

Create Project Website

We should create a GitHub Pages site for this project.

The website should contain

  • documentation
  • all our results (not just the ones form the paper)
  • paper, presentation, etc.

Dump intermediate result jsons

If we wait until the end, all results are lost if a single BM fails. We should find a way to print intermediate results.

Enable mixed patterns

Integrate mixed patterns such as:

  • Random Read & Sequential Write
  • Random Write & Sequential Read

Fix standard deviation

This is the result for one benchmark:
{ "bandwidth": { "read": 43.37 }, "config": { ... }, "duration": { "avg": 212.00540293040294, "lower_quartile": 205, "max": 203647, "median": 215, "min": 69, "percentile_90": 234, "percentile_95": 241, "percentile_99": 284, "percentile_999": 370, "percentile_9999": 545, "std_dev": 805.4285555848616, "upper_quartile": 225 } }

std_dev value is 805.xx which is clearly to high.

Fix annoying test warning

We constantly get:

perma-bench/test/utils_test.cpp:14: warning: the use of 'tmpnam' is dangerous, better use 'mkstemp'.

We should fix this sometime.

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.