Skip to main content
Version: 22.2

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
--configstringRedpanda config file, if not set the file will be searched for in the default locations.
-r, --dirsstringsList of *data* directories or places to store data, for example:/var/vectorized/redpanda/, usually your XFS filesystem on an NVMe SSD device.
-d, --disksstringsLists of devices to tune for example sda1.
-h, --help- Help for tune.
-m, --modestringOperation Mode: one of: [sq, sq_split, mq]
-n, --nicstrings Network Interface Controllers to tune.
--output-scriptstringIf 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.
--timeoutdurationThe 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).

What do you like about this doc?

Optional: Share your email address if we can contact you about your feedback.

Let us know what we do well: