First bring up an instance of our public AMI: cs244-16-qjump -- We used a C4.2xlarge instance It is available on US-West-2 (Oregon) region.
There may be an error where the third PTPd output file is not created. We have not ascertained the cause. To mitigate this issue, the script now takes an optional "--which" argument, which should specify the experiments you wish to run. e.g. 'sudo python run_experiment.py --which 12' to run only the first two experiments or '--which 3' to run only the third Running each experiment separately should ensure that all output files are created correctly.
- cd pa3/experiment
- git pull origin master
- sudo lsmod | grep 8021q
- if there is output, skip the next step
- sudo modprobe 8021q
- sudo lsmod | grep sch_qjump
- if there is output, 'sudo rmmod sch_qjump'
-
sudo insmod sch_qjump.ko bytesq=256 timeq=192000 p1rate=1 p5rate=100 p7rate=9999999
-
sudo python run_experiment.py -- THIS TAKES A LITTLE OVER 33 MINUTES, SORRY
-
cd to newly created data/[timestamp] dir
-
sudo python ../../process_data.py
-
copy the files in the new ‘processed’ dir to a machine with latex installed
-
sudo python qjump-nsdi15-plotting/figure1a_5/plot_ptp_memcached_hadoop_timeline.py exp1_PTPd_out exp1_memcached_out exp2_PTPd_out exp2_memcached_out exp3_PTPd_out exp3_memcached_out
Open the PDF with your favorite viewer
Marvel at how it almost looks intelligible
Note: The testing script is relatively fragile in that it has very little error handling. If it fails at runtime for some reason, you probably have to 'sudo reboot' and start this whole list of instructions over again because the mininet state will not have been cleaned up. Would have liked to have added more graceful handling into the script with a little more time :/