From 50e683c401f99c2efa32eec58a2dd591f4b9c672 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Fri, 19 Sep 2025 14:27:17 +0300 Subject: [PATCH] Update flags.md Signed-off-by: Vladislav --- docs/managing-dragonfly/flags.md | 95 ++++++++++++++++---------------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/docs/managing-dragonfly/flags.md b/docs/managing-dragonfly/flags.md index 8140c498..2fadfa89 100644 --- a/docs/managing-dragonfly/flags.md +++ b/docs/managing-dragonfly/flags.md @@ -52,21 +52,16 @@ flags which include specified substring in either in the name, description or pa `default: "dump-{timestamp}"` +### `--dir` + Working directory + + `default: ""` + ### `--snapshot_cron` Cron expression for the time to save a snapshot, crontab style. `default:` -### `--use_set2` - If true use DenseSet for an optimized set data structure. - - `default: true` - -### `--use_zset_tree` - If true use b+tree for zset implementation. - - `default: true` - ### `--admin_bind` If set, the admin console TCP connection would be bind to the given address. This supports both HTTP and RESP protocols. @@ -100,15 +95,15 @@ flags which include specified substring in either in the name, description or pa `default: false` -### `--subscriber_thread_limit` +### `--publish_buffer_limit` Amount of memory to use for storing pub commands in bytes - per IO thread. - `default: 134217728` + `default: 128MB` ### `--pipeline_squash` Number of queued pipelined commands above which squashing is enabled, 0 means disabled. - `default: 10` + `default: 1` ### `--primary_port_http_enabled` If true allows accessing http console on main TCP port. @@ -181,7 +176,6 @@ flags which include specified substring in either in the name, description or pa `default:` - ### `--lock_on_hashtags` When true, locks are done in the {hashtag} level instead of key level. Only use this with `--cluster_mode=emulated|yes`. @@ -237,6 +231,22 @@ flags which include specified substring in either in the name, description or pa `default: 100` +### `--oom_deny_ratio` + commands with flag denyoom will return OOM when the ratio between maxmemory and used memory is above this value. + + `default: 1.1` + +### `--masterauth` + Password for authentication with master. + + `default: ""` + +### `--replicaof` + Specifies a host and port which point to a target master to replicate. + Format should be `:` or `host:` or `[]:`. + + `default:` + ### `--mem_defrag_page_utilization_threshold` Memory page under utilization threshold. Ratio between used and committed size, below this, memory in this page will defragmented. @@ -260,17 +270,32 @@ flags which include specified substring in either in the name, description or pa `default: ""` -### `--singlehop_blocking` - Use single hop optimization for blocking commands. - - `default: true` - -### `--spill_file_prefix` +### `--tiered_prefix` Enables tiered storage if set. The string denotes the path and prefix of the files associated - with tiered storage. For example, `spill_file_prefix=/path/to/file-prefix`. + with tiered storage. For example, `tiered_prefix=/path/to/file-prefix`. `default: ""` +### `--tiered_offload_threshold` + Ratio of free memory (free/max memory) below which offloading starts + + `default: 0.5` + +### `--tiered_upload_threshold` + Ratio of free memory (free/max memory) below which uploading stops. + + `default: 0.1` + +### `--tiered_storage_write_depth` + Maximum number of concurrent stash requests issued by background offload. + + `default: 32` + +### `--tiered_min_value_size` + Minimum size of values eligible for offloading. Must be at least 64 + + `default: 64` + ### `--keys_output_limit` Maximum number of keys output by keys command. @@ -321,22 +346,6 @@ flags which include specified substring in either in the name, description or pa `default: 0` -### `--oom_deny_ratio` - commands with flag denyoom will return OOM when the ratio between maxmemory and used memory is above this value. - - `default: 1.1` - -### `--masterauth` - Password for authentication with master. - - `default: ""` - -### `--replicaof` - Specifies a host and port which point to a target master to replicate. - Format should be `:` or `host:` or `[]:`. - - `default:` - ### `--tls_replication` Enable TLS on replication. @@ -402,11 +411,6 @@ flags which include specified substring in either in the name, description or pa `default: true` -### `--dir` - Working directory - - `default: ""` - ### `--epoll_file_threads` Thread size for file workers when running in epoll mode, default is hardware concurrent threads. @@ -465,11 +469,6 @@ flags which include specified substring in either in the name, description or pa `default: false` -### `--tiered_storage_max_pending_writes` - Maximal number of pending writes per thread. - - `default: 32` - ### `--aclfile` Path and name to aclfile. @@ -497,7 +496,7 @@ flags which include specified substring in either in the name, description or pa `default: "on"` ### `--proactor_threads` - Number of io threads in the pool. + Number of io threads in the pool. If zero is specified, it will use as many as there are CPU cores. `default: 0`