Giter Site home page Giter Site logo

qadahtm / logstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msrg/logstore

1.0 0.0 2.0 692 KB

A key-value store optimized for hybrid storage system drawing on HDDs and SSDs

License: Apache License 2.0

Makefile 1.00% Shell 3.08% C++ 87.22% C 2.47% HTML 5.31% CSS 0.12% CMake 0.18% Python 0.63%

logstore's Introduction

Logstore Project

Publications

  1. IEEE TKDE
  2. ICDE 2021 - TKDE Poster Track

System Setup

Google Cloud Setup

Setting up Disks

Use the following link as a reference: GC Add Disk Guide

Get the DEVICE_ID for the new disk. The new disk should be the SSD. Using the following command.

$ sudo lsblk

Format using ext4:

$ sudo mkfs.ext4 -m 0 -E lazy_itable_init=0,lazy_journal_init=0,discard /dev/DEVICE_ID

Create mount directories: We shall use the directories names as hardcoded in the bench scripts. However, those names can be anything you like given that you also change the values in the benchmarking scripts (i.e., bench.sh).

Create data directory which is used as a last-level DB datafile in LogStore:

$ sudo mkdir -p /disks/data

Note that the same main disk is used as last level. In our experiments, this is HDD.

Create directory for SSD whihch is used as the main level DB datafile in LogStore.

$ sudo mkdir -p /disks/ssd

Mount SSD

$ sudo mount -o discard,defaults /dev/DEVICE_ID /disks/ssd

Set permissions

$ sudo chmod a+w /disks/ssd; sudo chmod a+w /disks/data

Creat logstore directories

$ mkdir -p /disks/ssd/logstore; mkdir -p /disks/data/logstore

Creat leveldb directories

$ mkdir -p /disks/ssd/leveldb; mkdir -p /disks/data/leveldb

Tutorial (Ubuntu 18.04)

Set up YCSB dependency

Make sure dependencies are installed. e.g., Maven. To use the Python scripts, make sure to install the dependencies using requirements.txt. We recommend using VirutalEnv to manage your Python environment.

$ pip install -r requirements.txt

Install dependencies

$ sudo apt-get update; sudo apt install git make build-essential maven -y

Build customized YCSB

Unzip the YCSB.zip file. Then, use the following command.

$ cd YCSB; mvn clean package

Running Experiments

TBD

References

  1. YCSB Github
  2. LevelDB Github

logstore's People

Contributors

arnojacobsen avatar qadahtm avatar

Stargazers

 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.