CLUSIM: A Fast and Scalable Trace-Driven Computer Cluster Simulator
Authors: Cheng-Yueh Liu, Po-Yao Huang, Yuan-Di Li
sudo apt-get install docker.io
wget https://download.docker.com/linux/centos/7/x86_64/stable/Packages/docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
sudo yum install docker-ce-18.03.1.ce-1.el7.centos.x86_64.rpm
sudo systemctl enable docker
sudo systemctl start docker
cd clusim
./tools/empower-tcpdump.sh username
tcpdump -i docker0 -w justForTest.pcap
cd clusim/vcluster
docker build -t vcluster .
./start-vcluster.sh 4 0
Then, we will log in to master node (node0)
cd ~ && ./demo-npb.sh bt A 4
cd clusim/ns3
./build.py
Modify the path to the logged pcap file in simple.cfg
cd clusim
make
cp config/default.cfg .
./clusim default.cfg