diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-09 19:07:13 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-09 19:07:13 +0000 |
commit | 073c4a9ae448041fdc9a0683fed49d55ae61803e (patch) | |
tree | 9bf2bacde4723ea25f70a0cdb324a1d76be763de /src/fs/gnunet-service-fs.h | |
parent | fafacaa77732d1dadcfcb10e4901dda76840a76d (diff) | |
download | gnunet-073c4a9ae448041fdc9a0683fed49d55ae61803e.tar.gz gnunet-073c4a9ae448041fdc9a0683fed49d55ae61803e.zip |
hxing
Diffstat (limited to 'src/fs/gnunet-service-fs.h')
-rw-r--r-- | src/fs/gnunet-service-fs.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/fs/gnunet-service-fs.h b/src/fs/gnunet-service-fs.h index d16b1a856..db9de3cb8 100644 --- a/src/fs/gnunet-service-fs.h +++ b/src/fs/gnunet-service-fs.h | |||
@@ -33,6 +33,28 @@ | |||
33 | #include "gnunet_block_lib.h" | 33 | #include "gnunet_block_lib.h" |
34 | #include "fs.h" | 34 | #include "fs.h" |
35 | 35 | ||
36 | |||
37 | /** | ||
38 | * Should we introduce random latency in processing? Required for proper | ||
39 | * implementation of GAP, but can be disabled for performance evaluation of | ||
40 | * the basic routing algorithm. | ||
41 | * | ||
42 | * Note that with delays enabled, performance can be significantly lower | ||
43 | * (several orders of magnitude in 2-peer test runs); if you want to | ||
44 | * measure throughput of other components, set this to NO. Also, you | ||
45 | * might want to consider changing 'RETRY_PROBABILITY_INV' to 1 for | ||
46 | * a rather wasteful mode of operation (that might still get the highest | ||
47 | * throughput overall). | ||
48 | * | ||
49 | * Performance measurements (for 50 MB file, 2 peers): | ||
50 | * | ||
51 | * - Without delays: 3300 kb/s | ||
52 | * - With delays: 101 kb/s | ||
53 | */ | ||
54 | #define SUPPORT_DELAYS GNUNET_NO | ||
55 | |||
56 | |||
57 | |||
36 | /** | 58 | /** |
37 | * A connected peer. | 59 | * A connected peer. |
38 | */ | 60 | */ |
@@ -98,6 +120,12 @@ extern double GSF_current_priorities; | |||
98 | */ | 120 | */ |
99 | extern unsigned int GSF_cover_query_count; | 121 | extern unsigned int GSF_cover_query_count; |
100 | 122 | ||
123 | /** | ||
124 | * How many content messages have we received 'recently' that | ||
125 | * have not yet been claimed as cover traffic? | ||
126 | */ | ||
127 | extern unsigned int GSF_cover_content_count; | ||
128 | |||
101 | 129 | ||
102 | /** | 130 | /** |
103 | * Our block context. | 131 | * Our block context. |