diff options
Diffstat (limited to 'src/fs/perf_gnunet_service_fs_p2p_trust.c')
-rw-r--r-- | src/fs/perf_gnunet_service_fs_p2p_trust.c | 22 |
1 files changed, 8 insertions, 14 deletions
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 @@ | |||
32 | * leachers should see fast download rates as well. | 32 | * leachers should see fast download rates as well. |
33 | * @author Christian Grothoff | 33 | * @author Christian Grothoff |
34 | * | 34 | * |
35 | * Sample outputs: | 35 | * Sample output: |
36 | * - 1 MB, 3 peers: | 36 | * - 10 MB, 3 peers: |
37 | * Download speed of type `seeder 1' was 3864 KiB/s | 37 | * Download speed of type `seeder 1' was 6 MiB/s |
38 | * Download speed of type `seeder 2' was 3764 KiB/s | 38 | * Download speed of type `seeder 2' was 6 MiB/s |
39 | * Download speed of type `leach' was 3592 KiB/s | 39 | * Download speed of type `leach` was 1051 KiB/s |
40 | * Analysis: download too small for trust to go into effect | ||
41 | * - 100 MB, 3 peers: | ||
42 | * Download speed of type `seeder 1' was 4018 KiB/s | ||
43 | * Download speed of type `seeder 2' was 4016 KiB/s | ||
44 | * | 40 | * |
45 | * Analysis: leach squeezed out entirely early, then backs off far too | 41 | * Analysis: leach squeezed out entirely early, then gets to |
46 | * far => fails to ever recover (code needs improvement...) | 42 | * take its turn once the main downloads complete |
47 | * [system load is initially very high, then drops to 0 | ||
48 | * after seeders are done] | ||
49 | */ | 43 | */ |
50 | #include "platform.h" | 44 | #include "platform.h" |
51 | #include "fs_test_lib.h" | 45 | #include "fs_test_lib.h" |
52 | #include "gnunet_testing_lib.h" | 46 | #include "gnunet_testing_lib.h" |
53 | 47 | ||
54 | #define VERBOSE GNUNET_YES | 48 | #define VERBOSE GNUNET_NO |
55 | 49 | ||
56 | /** | 50 | /** |
57 | * File-size we use for testing. | 51 | * File-size we use for testing. |