aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-09-11 18:34:59 +0200
committerAlex Auvolat <alex@adnab.me>2023-09-11 18:34:59 +0200
commitf8b3883611578713ecb8bcacaf24ca8029e7b739 (patch)
tree8e4fa625c3c9ecdc93575ce0bb45ec301ed81227 /doc
parent51b9731a086b4e158cbfa2127bcbfd6cb6274578 (diff)
downloadgarage-f8b3883611578713ecb8bcacaf24ca8029e7b739.tar.gz
garage-f8b3883611578713ecb8bcacaf24ca8029e7b739.zip
config: make block_size and sled_cache_capacity expressable as strings
Diffstat (limited to 'doc')
-rw-r--r--doc/book/reference-manual/configuration.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/book/reference-manual/configuration.md b/doc/book/reference-manual/configuration.md
index c3b8ca00..08c013f7 100644
--- a/doc/book/reference-manual/configuration.md
+++ b/doc/book/reference-manual/configuration.md
@@ -15,9 +15,9 @@ db_engine = "lmdb"
block_size = 1048576
-sled_cache_capacity = 134217728
+sled_cache_capacity = "128MiB"
sled_flush_every_ms = 2000
-lmdb_map_size = "10T"
+lmdb_map_size = "1T"
replication_mode = "3"
@@ -134,8 +134,8 @@ and not just the path to the metadata directory.
### `block_size`
Garage splits stored objects in consecutive chunks of size `block_size`
-(except the last one which might be smaller). The default size is 1MB and
-should work in most cases. We recommend increasing it to e.g. 10MB if
+(except the last one which might be smaller). The default size is 1MiB and
+should work in most cases. We recommend increasing it to e.g. 10MiB if
you are using Garage to store large files and have fast network connections
between all nodes (e.g. 1gbps).