Skip to content

A RDMA-aware mutual exclusion primitive designed to optimize for operation asymmetry

License

Notifications You must be signed in to change notification settings

sss-lehigh/alock

Repository files navigation

ALock README

Setup

In the directory now containing your alock repo, download our internal RDMA library, remus, which can be found at https://github.com/sss-lehigh/remus.git.

Create a cloudlab experiment, or add your own cluster information to the $user, $machines and $domain variables in setup.sh.

Build Dependecies

cd remus/tools sh install.sh

cd alock

bash setup.sh

Change Experiment Configuration

Edit parameters in "alock/exp.conf".

Build ALock Executable

Create build directory. mkdir build cd build

Generate build system. cmake -DCMAKE_PREFIX_PATH=/opt/remus/lib/cmake -DCMAKE_MODULE_PATH=/opt/remus/lib/cmake ..

Build. make -j

Log Level Flag:

Use below flags to update log level. cmake -DLOG_LEVEL=INFO ..

Recommended levels in increasing information order: -DLOG_LEVEL=INFO -DLOG_LEVEL=DEBUG -DLOG_LEVEL=TRACE

CMake Build Type Options

-DCMAKE_BUILD_TYPE=Release (-o3)

-DCMAKE_BUILD_TYPE=Debug (-g) -DCMAKE_BUILD_TYPE=RelWithDebInfo (-o3 and -g)

Send to Clouldab and Run Exepriment'

Update exp.conf to desired experiment parameters.

bash run.sh

bash exp_run.sh

About

A RDMA-aware mutual exclusion primitive designed to optimize for operation asymmetry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published