diff --git a/README.md b/README.md index 064a6c1..2837be4 100644 --- a/README.md +++ b/README.md @@ -4,19 +4,26 @@ ### Download the Source Code -``` +```plain git clone https://github.com/BigDataAnalyticsGroup/RewiredCracking.git +cd RewiredCracking +git submodule update --init --recursive ``` or -``` +```plain wget https://github.com/BigDataAnalyticsGroup/RewiredCracking/archive/master.zip unzip master.zip rm master.zip +cd RewiredCracking +wget https://github.com/opcm/pcm/archive/master.zip +rmdir processorcountermonitor +unzip master.zip +mv pcm-master processorcountermonitor ``` ### Build the Project -``` +```plain mkdir build_debug cd build_debug cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release .. @@ -25,7 +32,7 @@ make -j 42 ### Mount the `hugetlbfs` -``` +```plain sudo ./mount_hugetlbfs.sh ``` @@ -33,7 +40,7 @@ sudo ./mount_hugetlbfs.sh The following commands require privileged access. -``` +```plain mkdir /dev/cpuset mount -t cpuset cpuset /dev/cpuset ``` @@ -43,7 +50,7 @@ mount -t cpuset cpuset /dev/cpuset Use `build_debug/bin/partition -h` for help. -```bash +```plain build_debug/bin/partition 4 DENSE ``` @@ -54,7 +61,7 @@ You find the results in a CSV file that is named after the name of the host, e.g The plot script is written in R. Make sure to have all required libraries installed. -```bash +```plain R -q --no-save --file=partitioning.r --args partitioning_MY_AWESOME_HOSTNAME.csv ```