From: Christian Grothoff Date: Tue, 7 Jun 2011 10:29:52 +0000 (+0000) Subject: enable test X-Git-Tag: initial-import-from-subversion-38251~18305 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a0bd2c9a054508c0dd24806e8c69ea2804927ce4;p=oweals%2Fgnunet.git enable test --- diff --git a/src/fs/Makefile.am b/src/fs/Makefile.am index f30200654..d433e5b66 100644 --- a/src/fs/Makefile.am +++ b/src/fs/Makefile.am @@ -196,9 +196,9 @@ TESTS = \ test_gnunet_service_fs_p2p \ perf_gnunet_service_fs_p2p \ perf_gnunet_service_fs_p2p_index \ + perf_gnunet_service_fs_p2p_trust \ $(check_SCRIPTS) endif -# perf_gnunet_service_fs_p2p_trust diff --git a/src/fs/perf_gnunet_service_fs_p2p_trust.c b/src/fs/perf_gnunet_service_fs_p2p_trust.c index c15d5ebdb..444e7e7c3 100644 --- a/src/fs/perf_gnunet_service_fs_p2p_trust.c +++ b/src/fs/perf_gnunet_service_fs_p2p_trust.c @@ -32,26 +32,20 @@ * leachers should see fast download rates as well. * @author Christian Grothoff * - * Sample outputs: - * - 1 MB, 3 peers: - * Download speed of type `seeder 1' was 3864 KiB/s - * Download speed of type `seeder 2' was 3764 KiB/s - * Download speed of type `leach' was 3592 KiB/s - * Analysis: download too small for trust to go into effect - * - 100 MB, 3 peers: - * Download speed of type `seeder 1' was 4018 KiB/s - * Download speed of type `seeder 2' was 4016 KiB/s + * Sample output: + * - 10 MB, 3 peers: + * Download speed of type `seeder 1' was 6 MiB/s + * Download speed of type `seeder 2' was 6 MiB/s + * Download speed of type `leach` was 1051 KiB/s * - * Analysis: leach squeezed out entirely early, then backs off far too - * far => fails to ever recover (code needs improvement...) - * [system load is initially very high, then drops to 0 - * after seeders are done] + * Analysis: leach squeezed out entirely early, then gets to + * take its turn once the main downloads complete */ #include "platform.h" #include "fs_test_lib.h" #include "gnunet_testing_lib.h" -#define VERBOSE GNUNET_YES +#define VERBOSE GNUNET_NO /** * File-size we use for testing.