GithubHelp home page GithubHelp logo

theshy321 / tips Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cosmoss-jigu/tips

0.0 0.0 0.0 1.62 MB

License: Other

Shell 0.21% C++ 47.66% Python 3.46% C 47.59% Makefile 0.67% CMake 0.41%

tips's Introduction

TIPS: Making Volatile Indexes Persistent With DRAM-NVMM Tiering (ATC 2021, NVMW 2021)

This repository contains the source code for TIPS library and seven volatile indexes that are converted using TIPS. All the TIPS-indexes are integrated with YCSB and the performance results presented in the ATC 2021 paper can be reproduced from this repository. Please find the link to the paper, ATC video presentation, and NVMW video presentations below.

Running TIPS-enabled Indexes

Preparing the YCSB workload files

  • Clone TIPS repo
git clone [email protected]:cosmoss-vt/tips.git
cd tips/index-microbench
  • Download and setup YCSB
curl -O --location https://github.com/brianfrankcooper/YCSB/releases/download/0.11.0/ycsb-0.11.0.tar.gz
tar xfvz ycsb-0.11.0.tar.gz
mv ycsb-0.11.0 YCSB
mkdir workloads
sh generate_all_workloads.sh

Compiling TIPS source and benchmarks

  • Compile the TIPS source
cd tips/tips-lib/src
make 
  • Prepare the build files for benchmarks
cd ../../
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
cp ycsb ../

Running the bechmark

sh rm.sh
sudo ./ycsb tips <index-- hlist/lfhlist/bst/lfbst/art/btree/clht> 
<workload type-- a/b/c/d/e> randint <uniform/zipfian> <number of threads>

Note

  • The default workload spec is set at 32M keys and uniform distribution; please modify the tips-ycsb/index-microbench/workload_spec file to change configs.
  • TIPS uses PMDK failure-atomic memory allocator, for a fair comparison against TIPS porting your application to use PMDK is recommended.
  • The default PMEM path is configured as /mnt/pmem0/, please change tips-ycsb/rm.sh and tips-ycsb/include/pmdk.h file if you use a different path.

Contact

Reach out to us at [email protected] and [email protected]

Citation

@inproceedings {krishnan:tips,
title = {{TIPS} : Making Volatile Index Structures Persistent with DRAM-NVMM Tiering},
booktitle = {2021 {USENIX} Annual Technical Conference ({USENIX} {ATC} 21)},
year = {2021},
url = {https://www.usenix.org/conference/atc21/presentation/krishnan},
publisher = {{USENIX} Association},
month = jul,
}

tips's People

Contributors

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