eunomia-bpf / rocksdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AisLSM Open Source Project Introduction

Welcome to the AisLSM open source project! This project is based on the Linux io_uring technology and aims to achieve optimal I/O operation performance for RocksDB.

Environment Requirements

  1. Linux Version Requirement: Since io_uring is still maturing and continuously updating, it's recommended to use Linux version 6.2 or higher. However, at a minimum, version 5.2 is required to expect the software to reach its optimized performance.

  2. Dependency: This project relies on the liburing library. You can download and install it from GitHub. Here's the installation link:

    liburing GitHub

Installing liburing is quite straightforward. You can find installation instructions from the aforementioned GitHub link. Before installing, it's imperative to remove any existing liburing library from your Linux system to avoid unpredictable bugs during program execution

Compilation Steps

  1. First, ensure you've installed all the necessary dependencies and git clone this repository.

  2. Compile using the following commands in the directory that you cloned:

    mkdir -p build && cd build
    cmake -DCMAKE_BUILD_TYPE=Release ..  -DWITH_SNAPPY=1 &&  cmake --build .
    

Note

  1. On GitHub, you'll find different branches. Each branch corresponds to a different variant of AisLSM as mentioned in the paper.

  2. It's essential to note that the polling version of the project can only run properly on NVMe drives.

able to hook

bpftrace -e 'uprobe:/root/zys/bpftime-evaluation/rocksdb/build/librocksdb.so.7:io_uring_submit { printf("PID %d sleeping...\n", pid); }'

About

License:GNU General Public License v2.0


Languages

Language:C++ 82.9%Language:Java 9.7%Language:C 2.5%Language:Python 1.6%Language:Perl 1.0%Language:Shell 1.0%Language:Makefile 0.7%Language:CMake 0.4%Language:PowerShell 0.1%Language:Assembly 0.1%Language:Dockerfile 0.0%