Code Monkey home page Code Monkey logo

pmidiobench's Introduction

Artifact Overview

This repository contains the code for our VLDB'21 paper, "Shashank Gugnani, Arjun Kashyap, and Xiaoyi Lu. Understanding the Idiosyncrasies of Real Persistent Memory".

We provide the following in this repository:

  • Source for PMIdioBench, the micro-benchmark suite proposed in Section 3
  • Source for ring buffer designs proposed in Section 6
  • Source for linkedlist designs proposed in Section 6
  • A set of scripts to reproduce idiosyncrasy, numa study, and lock-free results presented in Sections 4, 5, and 6, respectively
  • A set of scripts and data files to plot all graphs in the paper

Directory Layout

  • Bench/ contains the source for idiosyncrasy benchmarks
  • ring-buffer/ contains the source for TX and TX-free ring buffer designs
  • linkedlist/ contains the source for TLog and Log-free linkedlist designs
  • Data/ contains Excel files containing data points for all experimental analysis in the paper
  • Graphs/ contains PDF files of all graphs in the paper
  • Scripts/ contains scripts to plot all graphs in the paper

System Requirements

  • Linux x86_64 server
  • PMEM formatted as DAX FS
  • At least 2 NUMA nodes (required for I4 and NUMA study experiments)

Steps to reproduce idiosyncrasy and NUMA study results

  • Follow instructions in Bench/README.md
  • Copy idiosyncrasy results to Data/pmem-idiosyncrasies.xlsx
  • Copy NUMA study results to Data/numa-study.xlsx

Steps to reproduce ring buffer results

  • Follow instructions in ring-buffer/README.md
  • Copy results to Data/lock-free-results.xlsx

Steps to reproduce TLog and Log-free linkedlist results

  • Follow instructions in linkedlist/README.md
  • Copy results to Data/lock-free-results.xlsx

Steps to reproduce SOFT and Link-free linkedlist results

  • git clone https://github.com/shashankgugnani/Efficient-Lock-Free-Durable-Sets.git
  • cd Efficient-Lock-Free-Durable-Sets
  • Scripts/testLists.sh
  • The script will run all experiments and print throughput results. Latency results will be written to adr-latency.log and eadr-latency.log.
  • Copy results to Data/lock-free-results.xlsx

Steps to plot all graphs in the paper

  • Prerequisites: Python installation with jupyter notebook, matplotlib, and xlrd packages
  • Open Scripts/graphs.ipynb in jupyter notebook
  • Run the complete script
  • Plotted graphs will be available in the Graphs directory

Reference

Please cite PMIdioBench in your publications if it helps your research:

@article{gugnani-vldb21,
  author = {Gugnani, Shashank and Kashyap, Arjun and Lu, Xiaoyi},
  title = {Understanding the Idiosyncrasies of Real Persistent Memory},
  journal = {Proceedings of the VLDB Endowment},
  volume = {14},
  number = {4},
  pages = {626--639},
  year = {2021}
}

pmidiobench's People

Watchers

James Cloos 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.