aboutsummaryrefslogtreecommitdiff
path: root/src/setu/perf_setu_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setu/perf_setu_api.c')
-rw-r--r--src/setu/perf_setu_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c
index 3d3f961e1..05d4a54b6 100644
--- a/src/setu/perf_setu_api.c
+++ b/src/setu/perf_setu_api.c
@@ -404,7 +404,7 @@ run (void *cls,
404 "Running real set-reconciliation\n"); 404 "Running real set-reconciliation\n");
405 //init_set1 (); 405 //init_set1 ();
406 // limit ~23800 element total 406 // limit ~23800 element total
407 initRandomSets(450,5000,5000,32); 407 initRandomSets(45,500,500,32);
408} 408}
409 409
410void perf_thread() { 410void perf_thread() {
@@ -461,7 +461,7 @@ static void execute_perf() {
461 GNUNET_CONFIGURATION_set_value_number(setu_cfg, "IBF", "NUMBER_PER_BUCKET", out_out_ctr); // K default=4 461 GNUNET_CONFIGURATION_set_value_number(setu_cfg, "IBF", "NUMBER_PER_BUCKET", out_out_ctr); // K default=4
462 GNUNET_CONFIGURATION_set_value_string(setu_cfg, "PERFORMANCE", "TRADEOFF", "0.25"); 462 GNUNET_CONFIGURATION_set_value_string(setu_cfg, "PERFORMANCE", "TRADEOFF", "0.25");
463 GNUNET_CONFIGURATION_set_value_string(setu_cfg, "PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL", 463 GNUNET_CONFIGURATION_set_value_string(setu_cfg, "PERFORMANCE", "MAX_SET_DIFF_FACTOR_DIFFERENTIAL",
464 "2");//default=4 464 "20000");//default=0.25
465 465
466 466
467 if (GNUNET_OK != GNUNET_CONFIGURATION_write(setu_cfg, "/tmp/perf_setu.conf")) 467 if (GNUNET_OK != GNUNET_CONFIGURATION_write(setu_cfg, "/tmp/perf_setu.conf"))
@@ -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(1000); 472 run_petf_thread(10000);
473 } 473 }
474 } 474 }
475 return 0; 475 return 0;