-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprep.sh
More file actions
executable file
·81 lines (63 loc) · 1.46 KB
/
prep.sh
File metadata and controls
executable file
·81 lines (63 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#!/bin/bash
home="$(realpath ~)"
install_pcm () {
cd $home
git clone --recursive https://github.com/intel/pcm
cd pcm
mkdir build
cd build
cmake ..
cmake --build .
cmake --build . --parallel
ls bin
# sudo apt install libasan11
}
install_mlc () {
cd $home
wget https://downloadmirror.intel.com/834254/mlc_v3.11b.tgz
mkdir -p mlc
mv mlc_v3.11b.tgz mlc
cd mlc
tar -xvf mlc_v3.11b.tgz
ls Linux
}
install_rdt () {
cd $home
git clone https://github.com/intel/intel-cmt-cat.git
cd intel-cmt-cat/
make
sudo make install
sudo modprobe msr
}
install_iperf3 () {
cd $home
git clone https://github.com/esnet/iperf.git
cd iperf
git checkout 3.18
./bootstrap.sh
./configure; make; sudo make install
sudo ldconfig
}
install_netperf () {
cd $home
git clone https://github.com/HewlettPackard/netperf.git
cd netperf
cp $home/Fast-and-Safe-IO-Memory-Protection/utils/tcp/netperf-logging.diff .
git apply netperf-logging.diff
./autogen.sh
./configure
sudo apt install texinfo
make CFLAGS=-fcommon
sudo make install
}
cd $home
git clone https://github.com/Terabit-Ethernet/Understanding-network-stack-overheads-SIGCOMM-2021
git clone https://github.com/aliireza/ddio-bench.git
install_pcm
install_mlc
install_rdt
install_iperf3
install_netperf
sudo bash utils/setup-envir.sh --dep $home \
--intf ens1np0 \
--ip 192.168.100.1