Skip to content

Commit

Permalink
Fix instructions for PCM submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
ImmanuelHaffner committed Jun 16, 2018
1 parent 89aa95c commit c61a5a6
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand All @@ -25,15 +32,15 @@ make -j 42

### Mount the `hugetlbfs`

```
```plain
sudo ./mount_hugetlbfs.sh
```

### Mount the `cpuset` pseudo filesystem

The following commands require privileged access.

```
```plain
mkdir /dev/cpuset
mount -t cpuset cpuset /dev/cpuset
```
Expand All @@ -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
```

Expand All @@ -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
```

Expand Down

0 comments on commit c61a5a6

Please sign in to comment.