diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-23 13:33:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-23 13:33:44 +0000 |
commit | b6a532c9f1ae572e4c14a5d88dcb8251f0af7ef6 (patch) | |
tree | 7f0de5b941f2763575009c63d3780f2b6bc319e9 /src/fs/fs.conf.in | |
parent | 148d678b3bea06588b9555ac71cd0905355873f9 (diff) | |
download | gnunet-b6a532c9f1ae572e4c14a5d88dcb8251f0af7ef6.tar.gz gnunet-b6a532c9f1ae572e4c14a5d88dcb8251f0af7ef6.zip |
-make datastore queue longer, and length configurable, reduce statistics (#2594)
Diffstat (limited to 'src/fs/fs.conf.in')
-rw-r--r-- | src/fs/fs.conf.in | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fs/fs.conf.in b/src/fs/fs.conf.in index cac59e5cb..cb1c80c70 100644 --- a/src/fs/fs.conf.in +++ b/src/fs/fs.conf.in | |||
@@ -12,19 +12,40 @@ BINARY = gnunet-service-fs | |||
12 | ACCEPT_FROM = 127.0.0.1; | 12 | ACCEPT_FROM = 127.0.0.1; |
13 | ACCEPT_FROM6 = ::1; | 13 | ACCEPT_FROM6 = ::1; |
14 | 14 | ||
15 | # Do we introduce artificial delays? (may improve anonymity) | ||
15 | DELAY = YES | 16 | DELAY = YES |
17 | |||
18 | # Do we cache content from other nodes? (may improve anonymity) | ||
16 | CONTENT_CACHING = YES | 19 | CONTENT_CACHING = YES |
20 | |||
21 | # Do we send unsolicited data to other nodes if we have excess bandwidth? | ||
22 | # (may improve anonymity, probably not a good idea if content_caching is NO) | ||
17 | CONTENT_PUSHING = YES | 23 | CONTENT_PUSHING = YES |
18 | 24 | ||
19 | UNIXPATH = /tmp/gnunet-service-fs.sock | 25 | UNIXPATH = /tmp/gnunet-service-fs.sock |
26 | |||
27 | # Do we require users that want to access file-sharing to run this process | ||
28 | # (usually not a good idea) | ||
20 | UNIX_MATCH_UID = NO | 29 | UNIX_MATCH_UID = NO |
30 | |||
31 | # Do we require users that want to access file-sharing to be in the 'gnunet' group? | ||
21 | UNIX_MATCH_GID = YES | 32 | UNIX_MATCH_GID = YES |
22 | # DEBUG = YES | 33 | # DEBUG = YES |
34 | |||
35 | # Maximum number of requests this peer tracks (important for | ||
36 | # memory consumption) | ||
23 | MAX_PENDING_REQUESTS = 65536 | 37 | MAX_PENDING_REQUESTS = 65536 |
38 | |||
39 | # How many requests do we have at most waiting in the queue towards | ||
40 | # the datastore? (important for memory consumption) | ||
41 | DATASTORE_QUEUE_SIZE = 1024 | ||
42 | |||
24 | # Maximum frequency we're allowed to poll the datastore | 43 | # Maximum frequency we're allowed to poll the datastore |
25 | # for content for migration (can be used to reduce | 44 | # for content for migration (can be used to reduce |
26 | # GNUnet's disk-IO rate) | 45 | # GNUnet's disk-IO rate) |
27 | MIN_MIGRATION_DELAY = 100 ms | 46 | MIN_MIGRATION_DELAY = 100 ms |
47 | |||
48 | # For how many neighbouring peers should we allocate hash maps? | ||
28 | EXPECTED_NEIGHBOUR_COUNT = 128 | 49 | EXPECTED_NEIGHBOUR_COUNT = 128 |
29 | 50 | ||
30 | # Enable monkey? | 51 | # Enable monkey? |