aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {
711 711
712 GNUNET_CONFIGURATION_get_value_float(setu_cfg,"PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", &fl); 712 GNUNET_CONFIGURATION_get_value_float(setu_cfg,"PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", &fl);
713 op->max_set_diff_factor_diff_sync = fl; 713 op->max_set_diff_factor_diff_sync = fl;
714
715 LOG(GNUNET_ERROR_TYPE_ERROR,"LOAD CONFIG: %d\n", op->ibf_number_buckets_per_element);
716
717} 714}
718 715
719 716
@@ -1640,13 +1637,10 @@ handle_union_p2p_strata_estimator (void *cls,
1640 return; 1637 return;
1641 } 1638 }
1642 1639
1643LOG (GNUNET_ERROR_TYPE_ERROR, "VALUE: %f\n ",op->max_set_diff_factor_diff_sync);
1644
1645 1640
1646 /** 1641 /**
1647 * Added rtt_bandwidth_tradeoff directly need future improvements 1642 * Added rtt_bandwidth_tradeoff directly need future improvements
1648 */ 1643 */
1649 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);
1650 if ((GNUNET_YES == op->force_full) || 1644 if ((GNUNET_YES == op->force_full) ||
1651 (diff > op->initial_size * op->max_set_diff_factor_diff_sync) || 1645 (diff > op->initial_size * op->max_set_diff_factor_diff_sync) ||
1652 (0 == other_size)) 1646 (0 == other_size))
@@ -3855,11 +3849,6 @@ handle_client_accept (void *cls,
3855 perf_rtt.se.sent += 1; 3849 perf_rtt.se.sent += 1;
3856 perf_rtt.se.sent_var_bytes += len; 3850 perf_rtt.se.sent_var_bytes += len;
3857 3851
3858 GNUNET_log (
3859 GNUNET_ERROR_TYPE_ERROR,
3860 "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
3861
3862
3863 if (len < se->strata_count * IBF_BUCKET_SIZE * se->ibf_size) 3852 if (len < se->strata_count * IBF_BUCKET_SIZE * se->ibf_size)
3864 type = GNUNET_MESSAGE_TYPE_SETU_P2P_SEC; 3853 type = GNUNET_MESSAGE_TYPE_SETU_P2P_SEC;
3865 else 3854 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() {
469 GNUNET_ERROR_TYPE_ERROR, 469 GNUNET_ERROR_TYPE_ERROR,
470 _("Failed to write subsystem default identifier map to `%s'.\n"), 470 _("Failed to write subsystem default identifier map to `%s'.\n"),
471 setu_cfg); 471 setu_cfg);
472 run_petf_thread(10000); 472 run_petf_thread(100000);
473 } 473 }
474 } 474 }
475 return 0; 475 return 0;