forked from TrueCloudLab/frostfs-node
[#711] node/config/example: Make config examples usable
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru> Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
c41ec2e2e9
commit
da516c6754
3 changed files with 92 additions and 90 deletions
|
@ -67,54 +67,56 @@ NEOFS_STORAGE_SHARD_NUM=2
|
||||||
### Write cache config
|
### Write cache config
|
||||||
NEOFS_STORAGE_SHARD_0_USE_WRITE_CACHE=false
|
NEOFS_STORAGE_SHARD_0_USE_WRITE_CACHE=false
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_PATH=tmp/0/cache
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_PATH=tmp/0/cache
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_MEM_SIZE=111
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_MEM_SIZE=2147483648
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_DB_SIZE=222
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_DB_SIZE=2147483648
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_SMALL_SIZE=333
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_SMALL_SIZE=16384
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_MAX_SIZE=444
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_MAX_SIZE=134217728
|
||||||
NEOFS_STORAGE_SHARD_0_WRITECACHE_WORKERS_NUMBER=555
|
NEOFS_STORAGE_SHARD_0_WRITECACHE_WORKERS_NUMBER=30
|
||||||
### Metabase config
|
### Metabase config
|
||||||
NEOFS_STORAGE_SHARD_0_METABASE_PATH=tmp/0/meta
|
NEOFS_STORAGE_SHARD_0_METABASE_PATH=tmp/0/meta
|
||||||
NEOFS_STORAGE_SHARD_0_METABASE_PERM=0700
|
NEOFS_STORAGE_SHARD_0_METABASE_PERM=0644
|
||||||
### Blobstor config
|
### Blobstor config
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=tmp/0/blob
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PATH=tmp/0/blob
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PERM=0666
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_PERM=0644
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SHALLOW_DEPTH=5
|
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESS=true
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_COMPRESS=true
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SMALL_SIZE_LIMIT=77
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SHALLOW_DEPTH=5
|
||||||
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
||||||
### Blobovnicza config
|
### Blobovnicza config
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=1024
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=10
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=1
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=20
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
||||||
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=88
|
NEOFS_STORAGE_SHARD_0_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
||||||
### GC config
|
### GC config
|
||||||
#### Limit of the single data remover's batching operation in number of objects
|
#### Limit of the single data remover's batching operation in number of objects
|
||||||
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=123
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_BATCH_SIZE=150
|
||||||
#### Sleep interval between data remover tacts
|
#### Sleep interval between data remover tacts
|
||||||
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=3h
|
NEOFS_STORAGE_SHARD_0_GC_REMOVER_SLEEP_INTERVAL=2m
|
||||||
|
|
||||||
## 1 shard
|
## 1 shard
|
||||||
### Write cache config
|
### Write cache config
|
||||||
NEOFS_STORAGE_SHARD_1_USE_WRITE_CACHE=true
|
NEOFS_STORAGE_SHARD_1_USE_WRITE_CACHE=true
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_PATH=tmp/1/cache
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_PATH=tmp/1/cache
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_MEM_SIZE=112
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_MEM_SIZE=2147483648
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_DB_SIZE=223
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_DB_SIZE=2147483648
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_SMALL_SIZE=334
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_SMALL_SIZE=16384
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_MAX_SIZE=445
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_MAX_SIZE=134217728
|
||||||
NEOFS_STORAGE_SHARD_1_WRITECACHE_WORKERS_NUMBER=556
|
NEOFS_STORAGE_SHARD_1_WRITECACHE_WORKERS_NUMBER=30
|
||||||
### Metabase config
|
### Metabase config
|
||||||
NEOFS_STORAGE_SHARD_1_METABASE_PATH=tmp/1/meta
|
NEOFS_STORAGE_SHARD_1_METABASE_PATH=tmp/1/meta
|
||||||
NEOFS_STORAGE_SHARD_1_METABASE_PERM=0701
|
NEOFS_STORAGE_SHARD_1_METABASE_PERM=0644
|
||||||
### Blobstor config
|
### Blobstor config
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=tmp/1/blob
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PATH=tmp/1/blob
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PERM=0667
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_PERM=0644
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_COMPRESS=false
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_COMPRESS=false
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SHALLOW_DEPTH=6
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SHALLOW_DEPTH=5
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SMALL_SIZE_LIMIT=78
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_SMALL_SIZE_LIMIT=102400
|
||||||
### Blobovnicza config
|
### Blobovnicza config
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=1025
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SIZE=4194304
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=11
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_DEPTH=1
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=21
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_SHALLOW_WIDTH=4
|
||||||
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=89
|
NEOFS_STORAGE_SHARD_1_BLOBSTOR_BLOBOVNICZA_OPENED_CACHE_SIZE=50
|
||||||
### GC config
|
### GC config
|
||||||
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=124
|
#### Limit of the single data remover's batching operation in number of objects
|
||||||
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=3h1s
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_BATCH_SIZE=200
|
||||||
|
#### Sleep interval between data remover tacts
|
||||||
|
NEOFS_STORAGE_SHARD_1_GC_REMOVER_SLEEP_INTERVAL=5m
|
||||||
|
|
|
@ -98,64 +98,64 @@
|
||||||
"use_write_cache": false,
|
"use_write_cache": false,
|
||||||
"writecache": {
|
"writecache": {
|
||||||
"path": "tmp/0/cache",
|
"path": "tmp/0/cache",
|
||||||
"mem_size": 111,
|
"mem_size": 2147483648,
|
||||||
"db_size": 222,
|
"db_size": 2147483648,
|
||||||
"small_size": 333,
|
"small_size": 16384,
|
||||||
"max_size": 444,
|
"max_size": 134217728,
|
||||||
"workers_number": 555
|
"workers_number": 30
|
||||||
},
|
},
|
||||||
"metabase": {
|
"metabase": {
|
||||||
"path": "tmp/0/meta",
|
"path": "tmp/0/meta",
|
||||||
"perm": "0700"
|
"perm": "0644"
|
||||||
},
|
},
|
||||||
"blobstor": {
|
"blobstor": {
|
||||||
"path": "tmp/0/blob",
|
"path": "tmp/0/blob",
|
||||||
"perm": "0666",
|
"perm": "0644",
|
||||||
"shallow_depth": 5,
|
|
||||||
"compress": true,
|
"compress": true,
|
||||||
"small_size_limit": 77,
|
"shallow_depth": 5,
|
||||||
|
"small_size_limit": 102400,
|
||||||
"blobovnicza": {
|
"blobovnicza": {
|
||||||
"size": 1024,
|
"size": 4194304,
|
||||||
"shallow_depth": 10,
|
"shallow_depth": 1,
|
||||||
"shallow_width": 20,
|
"shallow_width": 4,
|
||||||
"opened_cache_size": 88
|
"opened_cache_size": 50
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gc": {
|
"gc": {
|
||||||
"remover_batch_size": 123,
|
"remover_batch_size": 150,
|
||||||
"remover_sleep_interval": "3h"
|
"remover_sleep_interval": "2m"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"1": {
|
"1": {
|
||||||
"use_write_cache": true,
|
"use_write_cache": true,
|
||||||
"writecache": {
|
"writecache": {
|
||||||
"path": "tmp/1/cache",
|
"path": "tmp/1/cache",
|
||||||
"mem_size": 112,
|
"mem_size": 2147483648,
|
||||||
"db_size": 223,
|
"db_size": 2147483648,
|
||||||
"small_size": 334,
|
"small_size": 16384,
|
||||||
"max_size": 445,
|
"max_size": 134217728,
|
||||||
"workers_number": 556
|
"workers_number": 30
|
||||||
},
|
},
|
||||||
"metabase": {
|
"metabase": {
|
||||||
"path": "tmp/1/meta",
|
"path": "tmp/1/meta",
|
||||||
"perm": "0701"
|
"perm": "0644"
|
||||||
},
|
},
|
||||||
"blobstor": {
|
"blobstor": {
|
||||||
"path": "tmp/1/blob",
|
"path": "tmp/1/blob",
|
||||||
"perm": "0667",
|
"perm": "0644",
|
||||||
"shallow_depth": 6,
|
|
||||||
"compress": false,
|
"compress": false,
|
||||||
"small_size_limit": 78,
|
"shallow_depth": 5,
|
||||||
|
"small_size_limit": 102400,
|
||||||
"blobovnicza": {
|
"blobovnicza": {
|
||||||
"size": 1025,
|
"size": 4194304,
|
||||||
"shallow_depth": 11,
|
"shallow_depth": 1,
|
||||||
"shallow_width": 21,
|
"shallow_width": 4,
|
||||||
"opened_cache_size": 89
|
"opened_cache_size": 50
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gc": {
|
"gc": {
|
||||||
"remover_batch_size": 124,
|
"remover_batch_size": 200,
|
||||||
"remover_sleep_interval": "3h1s"
|
"remover_sleep_interval": "5m"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,61 +87,61 @@ storage:
|
||||||
|
|
||||||
writecache:
|
writecache:
|
||||||
path: tmp/0/cache
|
path: tmp/0/cache
|
||||||
mem_size: 111
|
mem_size: 2147483648
|
||||||
db_size: 222
|
db_size: 2147483648
|
||||||
small_size: 333
|
small_size: 16384
|
||||||
max_size: 444
|
max_size: 134217728
|
||||||
workers_number: 555
|
workers_number: 30
|
||||||
|
|
||||||
metabase:
|
metabase:
|
||||||
path: tmp/0/meta
|
path: tmp/0/meta
|
||||||
perm: 0700
|
perm: 0644
|
||||||
|
|
||||||
blobstor:
|
blobstor:
|
||||||
path: tmp/0/blob
|
path: tmp/0/blob
|
||||||
perm: 0666
|
perm: 0644
|
||||||
shallow_depth: 5
|
|
||||||
compress: true
|
compress: true
|
||||||
small_size_limit: 77
|
shallow_depth: 5
|
||||||
|
small_size_limit: 102400
|
||||||
|
|
||||||
blobovnicza:
|
blobovnicza:
|
||||||
size: 1024
|
size: 4194304
|
||||||
shallow_depth: 10
|
shallow_depth: 1
|
||||||
shallow_width: 20
|
shallow_width: 4
|
||||||
opened_cache_size: 88
|
opened_cache_size: 50
|
||||||
|
|
||||||
gc:
|
gc:
|
||||||
remover_batch_size: 123
|
remover_batch_size: 150
|
||||||
remover_sleep_interval: 3h
|
remover_sleep_interval: 2m
|
||||||
|
|
||||||
1:
|
1:
|
||||||
use_write_cache: true
|
use_write_cache: true
|
||||||
|
|
||||||
writecache:
|
writecache:
|
||||||
path: tmp/1/cache
|
path: tmp/1/cache
|
||||||
mem_size: 112
|
mem_size: 2147483648
|
||||||
db_size: 223
|
db_size: 2147483648
|
||||||
small_size: 334
|
small_size: 16384
|
||||||
max_size: 445
|
max_size: 134217728
|
||||||
workers_number: 556
|
workers_number: 30
|
||||||
|
|
||||||
metabase:
|
metabase:
|
||||||
path: tmp/1/meta
|
path: tmp/1/meta
|
||||||
perm: 0701
|
perm: 0644
|
||||||
|
|
||||||
blobstor:
|
blobstor:
|
||||||
path: tmp/1/blob
|
path: tmp/1/blob
|
||||||
perm: 0667
|
perm: 0644
|
||||||
shallow_depth: 6
|
|
||||||
compress: false
|
compress: false
|
||||||
small_size_limit: 78
|
shallow_depth: 5
|
||||||
|
small_size_limit: 102400
|
||||||
|
|
||||||
blobovnicza:
|
blobovnicza:
|
||||||
size: 1025
|
size: 4194304
|
||||||
shallow_depth: 11
|
shallow_depth: 1
|
||||||
shallow_width: 21
|
shallow_width: 4
|
||||||
opened_cache_size: 89
|
opened_cache_size: 50
|
||||||
|
|
||||||
gc:
|
gc:
|
||||||
remover_batch_size: 124
|
remover_batch_size: 200
|
||||||
remover_sleep_interval: 3h1s
|
remover_sleep_interval: 5m
|
||||||
|
|
Loading…
Reference in a new issue