aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-service-fs.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-15 09:38:48 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-15 09:38:48 +0000
commit0443654040fb277df95aae28a7b2a54a4f0a73bf (patch)
tree5f07e7fcf3409d1cb287ef5181b01f3584198acb /src/fs/gnunet-service-fs.h
parentca5418e74010c0034f7f24ad8a7a2ecb6e941af1 (diff)
downloadgnunet-0443654040fb277df95aae28a7b2a54a4f0a73bf.tar.gz
gnunet-0443654040fb277df95aae28a7b2a54a4f0a73bf.zip
dead code elimination, splitting fs.h into fs.h and fs_api.h
Diffstat (limited to 'src/fs/gnunet-service-fs.h')
-rw-r--r--src/fs/gnunet-service-fs.h23
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