install-tas.sh 606 Bytes
Newer Older
Antoine Kaufmann's avatar
Antoine Kaufmann committed
1
2
3
4
5
6
#!/bin/bash -eux
set -eux

apt-get -y install libnuma-dev libgmp-dev bc python

cd /root/
Antoine Kaufmann's avatar
Antoine Kaufmann committed
7
8
wget http://fast.dpdk.org/rel/dpdk-18.11.8.tar.gz
tar xf dpdk-18.11.8.tar.gz
Antoine Kaufmann's avatar
Antoine Kaufmann committed
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cd dpdk-stable-18.11.8
make -j4 install T=x86_64-native-linuxapp-gcc DESTDIR=/root/dpdk
cd ..
rm -rf dpdk-*

git clone https://github.com/tcp-acceleration-service/tas.git /root/tas
cd /root/tas
make -j4 RTE_SDK=/root/dpdk

git clone https://github.com/FreakyPenguin/benchmarks.git /root/tasbench
cd /root/tasbench/micro_rpc
make echoserver_linux testclient_linux TAS_CODE="/root/tas" 

echo "blacklist i40e" > /etc/modprobe.d/i40e_bl.conf