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|
.
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: |
-d, --disks |
strings |
Lists of devices to tune for example |
-h, --help |
- |
Help for tune. |
-m, --mode |
string |
Operation Mode: one of: [ |
-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 |
-v, --verbose |
- |
Enable verbose logging (default |