summaryrefslogtreecommitdiff
path: root/src/fs/fs.conf.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-10-23 13:33:44 +0000
committerChristian Grothoff <christian@grothoff.org>2012-10-23 13:33:44 +0000
commitb6a532c9f1ae572e4c14a5d88dcb8251f0af7ef6 (patch)
tree7f0de5b941f2763575009c63d3780f2b6bc319e9 /src/fs/fs.conf.in
parent148d678b3bea06588b9555ac71cd0905355873f9 (diff)
downloadgnunet-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.in21
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
12ACCEPT_FROM = 127.0.0.1; 12ACCEPT_FROM = 127.0.0.1;
13ACCEPT_FROM6 = ::1; 13ACCEPT_FROM6 = ::1;
14 14
15# Do we introduce artificial delays? (may improve anonymity)
15DELAY = YES 16DELAY = YES
17
18# Do we cache content from other nodes? (may improve anonymity)
16CONTENT_CACHING = YES 19CONTENT_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)
17CONTENT_PUSHING = YES 23CONTENT_PUSHING = YES
18 24
19UNIXPATH = /tmp/gnunet-service-fs.sock 25UNIXPATH = /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)
20UNIX_MATCH_UID = NO 29UNIX_MATCH_UID = NO
30
31# Do we require users that want to access file-sharing to be in the 'gnunet' group?
21UNIX_MATCH_GID = YES 32UNIX_MATCH_GID = YES
22# DEBUG = YES 33# DEBUG = YES
34
35# Maximum number of requests this peer tracks (important for
36# memory consumption)
23MAX_PENDING_REQUESTS = 65536 37MAX_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)
41DATASTORE_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)
27MIN_MIGRATION_DELAY = 100 ms 46MIN_MIGRATION_DELAY = 100 ms
47
48# For how many neighbouring peers should we allocate hash maps?
28EXPECTED_NEIGHBOUR_COUNT = 128 49EXPECTED_NEIGHBOUR_COUNT = 128
29 50
30# Enable monkey? 51# Enable monkey?