Various fixes

This commit is contained in:
Quentin 2019-10-23 14:55:24 +02:00
parent da4e270d87
commit a94f6b2af9
3 changed files with 9 additions and 4 deletions

View file

@ -747,3 +747,8 @@ lightning-scheduler-effect:
tor2 -f /etc/torrc_simple, \
tor2 -f /etc/torrc_simple, \
tor2 -f /etc/torrc_simple.
tor2-pkt-per-sec:
./run-3 \
32,tor2_pkt_per_sec. \
orig-client 1000 1 172, \

View file

@ -1,4 +1,4 @@
#!/bin/bash
mkdir -p $3/{log,shared}
cd $3/shared
measlat -t tor -p 7500 -l -i $1 -s $2 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log
mkdir -p $4/{log,shared}
cd $4/shared
measlat -t tor -p 7500 -l -i $1 -s $2 -c $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log

View file

@ -112,7 +112,7 @@ void algo_lightning_init(struct evt_core_ctx* ctx, struct algo_ctx* app_ctx, str
struct light_ctx* lightc = app_ctx->misc;
lightc->total_links = app_ctx->ap.links;
lightc->selected_link = lightc->total_links - 1;
lightc->sent_past_links = lightc->total_links;
lightc->sent_past_links = lightc->total_links / 2;
lightc->fast_count = lightc->total_links / 4;
lightc->csv = 0;
lightc->explain = 0;