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|.


rpk redpanda tune <list of elements to tune> [command] [flags]


Value Type Description



Redpanda config file, if not set the file will be searched for in the default locations.

-r, --dirs


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


Lists of devices to tune for example sda1.

-h, --help


Help for tune.

-m, --mode


Operation Mode: one of: [sq, sq_split,\{" "} mq]

-n, --nic


Network Interface Controllers to tune.



If set tuners will generate tuning file that can later be used to tune the system.



If set will allow tuners to tune boot parameters and request system reboot.



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 are ns, us (or µs), ms, ` s , `m, h (default 10s)

-v, --verbose


Enable verbose logging (default false).