Code Monkey home page Code Monkey logo

nstore's Introduction

N-Store

An efficient database system designed for non-volatile memory (NVM).

For details, please read the original paper-

####Let's Talk About Storage & Recovery Methods for Non-Volatile Memory Database Systems.

Joy Arulraj, Andrew Pavlo, and Subramanya R. Dulloor. 2015.
In Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data (SIGMOD '15)

Dependencies:

  • g++ 4.7+
  • autoconf (apt-get install autoconf libtool)

To build:

    $./bootstrap
    $./configure
    
    $ cd src/
    $./build
    $ ./run -h                                  [For help]

To run :

    $ cd src/
    $ ./run --small --ycsb                      [can pass --med or --large for bigger workloads]
    $ ./run --small --tpcc                      [can pass --med or --large for bigger workloads]

Nstore will create a persistent heap in /dev/shm defined by the macro PERSISTENT_HEAP. Ensure that you have at least 1.00 GB of space for the heap.

To collect the trace of accesses to NVM, make sure you have debugfs mounted in Linux.

To run with tracing enabled :

    $ mount | grep debugfs
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    
    $ sudo cd /sys/kernel/debug
    $ sudo echo 128000 > buffer_size_kb         [128MB. Allocate enough buffer to hold traces]
    $ cat trace_pipe                            [Redirect output of pipe to any file for storage]
    
    Go back to nstore/:
    
    $ cd src/
    $ sudo ./run --small --ycsb --trace         [Need to be root to collect trace]

nstore's People

Contributors

snalli avatar

Watchers

James Cloos avatar Tony Mason 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.