summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 20:55:14 +0200
committerElias Summermatter <elias.summermatter@seccom.ch>2021-04-07 20:55:14 +0200
commitead075e389e85d6924c652935ddaa1e44dd20c4b (patch)
treecdb5c4f09b7a1cff51b243a86022e5ccc90841aa
parent363822a820bcbe3351cd4eff94803ebdbfcad115 (diff)
Run 10000 iterations
-rw-r--r--src/setu/gnunet-service-setu.c11
-rw-r--r--src/setu/perf_setu_api.c2
2 files changed, 1 insertions, 12 deletions
diff --git a/src/setu/gnunet-service-setu.c b/src/setu/gnunet-service-setu.c
index 46a4f0386..02e1f5d15 100644
--- a/src/setu/gnunet-service-setu.c
+++ b/src/setu/gnunet-service-setu.c
@@ -711,9 +711,6 @@ load_config(struct Operation * op) {
GNUNET_CONFIGURATION_get_value_float(setu_cfg,"PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", &fl);
op->max_set_diff_factor_diff_sync = fl;
-
- LOG(GNUNET_ERROR_TYPE_ERROR,"LOAD CONFIG: %d\n", op->ibf_number_buckets_per_element);
-
}
@@ -1640,13 +1637,10 @@ handle_union_p2p_strata_estimator (void *cls,
return;
}
-LOG (GNUNET_ERROR_TYPE_ERROR, "VALUE: %f\n ",op->max_set_diff_factor_diff_sync);
-
/**
* Added rtt_bandwidth_tradeoff directly need future improvements
*/
- LOG(GNUNET_ERROR_TYPE_ERROR,"((GNUNET_YES == %d) || (%d > %d * %f) || (0 == %d))", op->force_full,diff, op->initial_size, op->max_set_diff_factor_diff_sync, other_size);
if ((GNUNET_YES == op->force_full) ||
(diff > op->initial_size * op->max_set_diff_factor_diff_sync) ||
(0 == other_size))
@@ -3855,11 +3849,6 @@ handle_client_accept (void *cls,
perf_rtt.se.sent += 1;
perf_rtt.se.sent_var_bytes += len;
- GNUNET_log (
- GNUNET_ERROR_TYPE_ERROR,
- "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
-
-
if (len < se->strata_count * IBF_BUCKET_SIZE * se->ibf_size)
type = GNUNET_MESSAGE_TYPE_SETU_P2P_SEC;
else
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index 05d4a54b6..132c6476a 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -469,7 +469,7 @@ static void execute_perf() {
GNUNET_ERROR_TYPE_ERROR,
_("Failed to write subsystem default identifier map to `%s'.\n"),
setu_cfg);
- run_petf_thread(10000);
+ run_petf_thread(100000);
}
}
return 0;