all: paper paper: clean paper.tex data/tput.pdf data/latency.pdf data/freshness.pdf pdflatex paper && bibtex -min-crossrefs 1000 paper && pdflatex paper && pdflatex paper clean: rm -f *.dvi *.aux *.log *.bbl *.blg *.image.tex *.brf *.haux *.htoc *.hbbl paper*.gif *.out paper.pdf rm -f data/mediumdb-* data/tput.pdf data/latency.pdf data/freshness.pdf raw/%.txt: @mkdir -p raw wget -O $@ http://farm5.csail.mit.edu:4312/results/$*/$*.txt data/mediumdb-modified-raw: raw/results-20090319220853-mediumdb-modified.txt ln -s ../$< $@ data/mediumdb-txcache-freshness30-top: raw/results-20090319234611-mediumdb-txcache-freshness30.txt ln -s ../$< $@ data/mediumdb-txcache-freshness30-top2: raw/results-20090320073921-mediumdb-txcache-freshness30.txt ln -s ../$< $@ data/mediumdb-txcache-freshness30-bottom: raw/results-20090319120051-mediumdb-txcache-freshness30.txt ln -s ../$< $@ data/mediumdb-txcache-freshness60: raw/results-20090319145404-mediumdb-txcache-freshness60.txt ln -s ../$< $@ data/mediumdb-txcache-freshness15-bottom: raw/results-20090319171929-mediumdb-txcache-freshness15.txt ln -s ../$< $@ data/mediumdb-txcache-freshness15-top: raw/results-20090320030559-mediumdb-txcache-freshness15.txt ln -s ../$< $@ data/mediumdb-txcache-freshness5-bottom: raw/results-20090319191703-mediumdb-txcache-freshness5.txt ln -s ../$< $@ data/mediumdb-txcache-freshness5-top: raw/results-20090320042646-mediumdb-txcache-freshness5.txt ln -s ../$< $@ # The latency on the point at 1000 clients is bogus. Just nuke it. data/mediumdb-modified: data/mediumdb-modified-raw grep -v '1000 clients' $< > $@ # The last dependency here may seem a little weird. RUBiS contains a # race condition that causes it to re-use part of the data from the # previous run. This happened at one of the low points on this # particular 30 second curve. We've run enough other experiments to # know that this point should be right on the line, so we borrow it # from the 5 second curve (which lower-bounds the 30 second curve # anyways) data/mediumdb-txcache-freshness30: data/mediumdb-txcache-freshness30-top \ data/mediumdb-txcache-freshness30-top2 \ data/mediumdb-txcache-freshness30-bottom \ data/mediumdb-txcache-freshness5-bottom python data/combine.py $^ > $@ data/mediumdb-txcache-freshness15: data/mediumdb-txcache-freshness15-top \ data/mediumdb-txcache-freshness15-bottom python data/combine.py $^ > $@ data/mediumdb-txcache-freshness5: data/mediumdb-txcache-freshness5-top \ data/mediumdb-txcache-freshness5-bottom python data/combine.py $^ > $@ data/mediumdb-txcache-freshness-peaks: data/mediumdb-txcache-freshness5 \ data/mediumdb-txcache-freshness15 data/mediumdb-txcache-freshness30 \ data/mediumdb-txcache-freshness60 python data/peaks.py $^ > $@ data/%.pdf: data/%.gnuplot gnuplot $< data/tput.pdf: data/mediumdb-modified data/mediumdb-txcache-freshness30 data/latency.pdf: data/mediumdb-modified data/mediumdb-txcache-freshness30 data/freshness.pdf: data/mediumdb-txcache-freshness-peaks