Git Product home page Git Product logo

arboretum-public's Introduction

Arboretum-Distributed

Hardware Setup

# if using cloudlab, need to mount extra storage using the following commands
sudo su 
mkdir /mydata
exit
sudo /usr/local/etc/emulab/mkextrafs.pl /mydata

Install Dependencies

on machine set up with github

# set up cpp redis
cd include/cpp_redis/
git reset --hard ab5ea8638bc51e3d407b0045aceb5c5fd3218aa0

on machine to execute

For all storage types:

./BUILD

(Optional) If using Azure Storage Client Library for C++ (7.5.0)

cd tools; ./install_azure.sh

(Optional) If using TiKV,

  • install the client library and its dependencies
# working directory: /path/to/Arboretum-Distributed
cp tools/kvproto_cmake.txt include/client-c/third_party/kvproto/cpp/CMakeLists.txt
cd tools ;
chmod +x install_grpc.sh ; ./install_gprc.sh
chmod +x install_poco.sh ; ./install_poco.sh
./install_tikv.sh
cd ..

(Optional) If using Redis,

# working directory: /path/to/Arboretum-Distributed
cd tools/ ; 
chmod +x install_cppredis.sh ; ./install_cppredis.sh
git submodule update --init --recursive
cd include/cpp_redis/tacopie
git fetch origin pull/5/head:cmake-fixes
git checkout cmake-fixes
cd ..

Compile and Run

generate makefile

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

expected output

-- Generating benchmark tests: 
-- [benchmark test] executable: bench_ycsb
-- Generating unit tests: 
-- [unit test] executable: AllUnitTests
-- [unit test] executable: CCTest
-- [unit test] executable: IndexObjBtreeTest
-- Generating experiments: 
-- [experiment] executable: ExpYCSB
-- Configuring done
-- Generating done
-- Build files have been written to: /users/scarletg/Arboretum-test/

compile using makefile

make -j <desire executable>

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.