diff options
Diffstat (limited to 'src/fs/gnunet-service-fs.h')
-rw-r--r-- | src/fs/gnunet-service-fs.h | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index e4efbb8f5..7efeedd5f 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h | |||
@@ -37,26 +37,13 @@ | |||
37 | 37 | ||
38 | #define DEBUG_FS_CLIENT GNUNET_EXTRA_LOGGING | 38 | #define DEBUG_FS_CLIENT GNUNET_EXTRA_LOGGING |
39 | 39 | ||
40 | |||
41 | /** | 40 | /** |
42 | * Should we introduce random latency in processing? Required for proper | 41 | * By which amount do we decrement the TTL for simple forwarding / |
43 | * implementation of GAP, but can be disabled for performance evaluation of | 42 | * indirection of the query; in milli-seconds. Set somewhat in |
44 | * the basic routing algorithm. | 43 | * accordance to your network latency (above the time it'll take you |
45 | * | 44 | * to send a packet and get a reply). |
46 | * Note that with delays enabled, performance can be significantly lower | ||
47 | * (several orders of magnitude in 2-peer test runs); if you want to | ||
48 | * measure throughput of other components, set this to NO. Also, you | ||
49 | * might want to consider changing 'RETRY_PROBABILITY_INV' to 1 for | ||
50 | * a rather wasteful mode of operation (that might still get the highest | ||
51 | * throughput overall). | ||
52 | * | ||
53 | * Performance measurements (for 50 MB file, 2 peers): | ||
54 | * | ||
55 | * - Without delays: 3300 kb/s | ||
56 | * - With delays: 101 kb/s | ||
57 | */ | 45 | */ |
58 | #define SUPPORT_DELAYS GNUNET_NO | 46 | #define TTL_DECREMENT 5000 |
59 | |||
60 | 47 | ||
61 | /** | 48 | /** |
62 | * At what frequency should our datastore load decrease | 49 | * At what frequency should our datastore load decrease |