Various fixes
This commit is contained in:
parent
da4e270d87
commit
a94f6b2af9
3 changed files with 9 additions and 4 deletions
|
@ -747,3 +747,8 @@ lightning-scheduler-effect:
|
||||||
tor2 -f /etc/torrc_simple, \
|
tor2 -f /etc/torrc_simple, \
|
||||||
tor2 -f /etc/torrc_simple, \
|
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, \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkdir -p $3/{log,shared}
|
mkdir -p $4/{log,shared}
|
||||||
cd $3/shared
|
cd $4/shared
|
||||||
measlat -t tor -p 7500 -l -i $1 -s $2 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log
|
measlat -t tor -p 7500 -l -i $1 -s $2 -c $3 > ../log/server-measlat-stdout.log 2> ../log/server-measlat-stderr.log
|
||||||
|
|
|
@ -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;
|
struct light_ctx* lightc = app_ctx->misc;
|
||||||
lightc->total_links = app_ctx->ap.links;
|
lightc->total_links = app_ctx->ap.links;
|
||||||
lightc->selected_link = lightc->total_links - 1;
|
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->fast_count = lightc->total_links / 4;
|
||||||
lightc->csv = 0;
|
lightc->csv = 0;
|
||||||
lightc->explain = 0;
|
lightc->explain = 0;
|
||||||
|
|
Loading…
Reference in a new issue