diff --git a/scripts/Makefile b/scripts/Makefile index 5851d22..423efab 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -254,7 +254,7 @@ lightning-fastcount: lightning-client 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \ lightning-client 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \ lightning-client 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \ - lightning-client 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000, \ + lightning-client 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000. \ lightning-server 7500 40 172 12 fast_count=1!tick_tock=1!measlat=1!window=2000, \ lightning-server 7500 40 172 12 fast_count=2!tick_tock=1!measlat=1!window=2000, \ lightning-server 7500 40 172 12 fast_count=3!tick_tock=1!measlat=1!window=2000, \ @@ -266,7 +266,7 @@ lightning-fastcount: lightning-server 7500 40 172 12 fast_count=3!tick_tock=0!measlat=1!window=2000, \ lightning-server 7500 40 172 12 fast_count=4!tick_tock=0!measlat=1!window=2000, \ lightning-server 7500 40 172 12 fast_count=5!tick_tock=0!measlat=1!window=2000, \ - lightning-server 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000, \ + lightning-server 7500 40 172 12 fast_count=6!tick_tock=0!measlat=1!window=2000. \ tor2 -f /etc/torrc_simple, \ tor2 -f /etc/torrc_simple, \ tor2 -f /etc/torrc_simple, \ diff --git a/scripts/boxplot.py b/scripts/boxplot.py index 36dd2c3..396d6a5 100755 --- a/scripts/boxplot.py +++ b/scripts/boxplot.py @@ -18,11 +18,12 @@ for line in sys.stdin: d[conf][(run,way,packet_id)] = min(latency, d[conf][(run,way,packet_id)]) #print("strat,window,decile,latency") -print("strat,window,decile,latency") +print("fast_count,strat,decile,latency") for conf,value in d.items(): s = sorted(value.values()) szs = len(s) - m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf) + #m = re.match(r".*tick_tock=(\d+).+window=(\d+)", conf) + m = re.match(r".*fast_count=(\d+)!tick_tock=(\d+)", conf) #m = re.match(r"^(\d+).*tick_tock=(\d+)", conf) print(f"{m[1]},{m[2]},MIN,{s[0]}") print(f"{m[1]},{m[2]},D0.1,{s[int(szs*0.001)]}")