8000 GitHub - itodnerd/WATT-leanstore
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

itodnerd/WATT-leanstore

 
 

Repository files navigation

LeanStore

LeanStore is a high-performance OLTP storage engine optimized for many-core CPUs and NVMe SSDs. Our goal is to achieve performance comparable to in-memory systems when the data set fits into RAM, while being able to fully exploit the bandwidth of fast NVMe SSDs for large data sets. While LeanStore is currently a research prototype, we hope to make it usable in production in the future.

WATT Artifacts Overview

Implementation

The implementation of WATT can be found in this repository.

Important parts are

  1. Tracker in the BufferFrame
  2. Replacement in the Page Evictor

Simulation

We compared WATT with other strategies based on this simulation:

https://github.com/itodnerd/WATT-simulate

Traces

For the simulation we used these traces:

https://github.com/itodnerd/WATT-traces/tree/main/WATT_competition_traces

Compiling

Install dependencies:

sudo apt-get install cmake libaio-dev libtbb-dev

mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. && make -j

TPC-C Example

build/frontend/tpcc --ssd_path=./ssd_block_device_or_file --worker_threads=120 --pp_threads=4 --dram_gib=240 --tpcc_warehouse_count=100 --notpcc_warehouse_affinity --csv_path=./log --cool_pct=40 --free_pct=1 --contention_split --xmerge --print_tx_console --run_for_seconds=60

check build/frontend/tpcc --help for other options

Cite

The code we used for our CIDR 2021 paper is in a different (and outdated) branch.

@inproceedings{alhomssi21,
    author    = {Adnan Alhomssi and Viktor Leis},
    title     = {Contention and Space Management in B-Trees},
    booktitle = {CIDR},
    year      = {2021}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.6%
  • CMake 3.4%
0