The source code is provided under the Apache v2 licence. A copy of the licence is provided in the LICENCE.TXT file, which is included in this repository.
git clone https://github.com/BigDataAnalyticsGroup/RewiredCracking.git
cd RewiredCracking
git submodule update --init --recursive
or
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
mkdir build_debug
cd build_debug
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Release ..
make -j 42
sudo ./mount_hugetlbfs.sh
The following commands require privileged access.
mkdir /dev/cpuset
mount -t cpuset cpuset /dev/cpuset
Use build_debug/bin/partition -h
for help.
build_debug/bin/partition 4 DENSE
You find the results in a CSV file that is named after the name of the host, e.g.
partitioning_MY_AWESOME_HOSTNAME.csv
.
The plot script is written in R. Make sure to have all required libraries installed.
R -q --no-save --file=partitioning.r --args partitioning_MY_AWESOME_HOSTNAME.csv
The plots are named partitioning_MY_AWESOME_HOSTNAME_<NAME>.pdf
.