rpk redpanda tune
Sets the OS parameters to tune system performance.
Available tuners:
- all
- net
- cpu
- clocksource
- transparent_hugepages
- disk_scheduler
- disk_nomerges
- disk_write_cache
- fstrim
- ballast_file
- disk_irq
- aio_events
- swappiness
- coredump
To learn more about a tuner, run rpk redpanda tune help |tuner name|
.
Usage
rpk redpanda tune <list of elements to tune> [command] [flags]
Flags
Value | Type | Description |
--config | string | Redpanda config file, if not set the file will be searched for in the default locations. |
-r, --dirs | strings | List of *data* directories or places to store data, for example:/var/vectorized/redpanda/ , usually your XFS filesystem on an NVMe SSD device. |
-d, --disks | strings | Lists of devices to tune for example sda1 . |
-h, --help | - | Help for tune. |
-m, --mode | string | Operation Mode: one of: [sq , sq_split , mq ] |
-n, --nic | strings | Network Interface Controllers to tune. |
--output-script | string | If set tuners will generate tuning file that can later be used to tune the system. |
--reboot-allowed | - | If set will allow tuners to tune boot parameters and request system reboot. |
--timeout | duration | The maximum time to wait for the tune processes to complete. The value passed is a sequence of decimal numbers, each with optional fraction and a unit suffix, such as 300ms , 1.5s or 2h45m . Valid time units arens , us (or µs ), ms , s , m , h (default 10s) |
-v, --verbose | - | Enable verbose logging (default false ). |