NVME-FEAT-PERFC(1)
β¨ NAME β¨ β nvme-feat-perfc
okay so bestie, this is nvme-feat-perfc from the NVMe Manual, and itβs literally the get-and-set performance characteristics feature. π
β¨
π¦ SYNOPSIS π¦
nvme [<global-options>] feat perfc <device>
[--namespace-id=<nsid> | -n <nsid>] [--attri=<attri> | -a <attri>]
[--rvspa | -r] [--r4karl=<r4karl> | -R <r4karl>]
[--paid=<paid> | -p <paid>] [--attrl=<attrl> | -A <attrl>]
[--vs-data=<file> | -V <file>]
[--sel=<select> | -S <select>] [--save | -s]
πΈ DESCRIPTION πΈ
This command gets and sets the performance characteristics feature. Iconic behavior, honestly. π«Ά
The <device> parameter is mandatory, no skipping it. It can be either the NVMe character device β like /dev/nvme0 β or a namespace block device β like /dev/nvme0n1. Both examples are exactly that. β¨
If any of the setting options β --rvspa, --r4karl, or --paid β are specified, the command updates the performance characteristics configuration. If none of those options are specified, it retrieves and displays the current configuration instead. Lowkey a whole dual-purpose moment. π
On success it returns 0; otherwise you get an error code. Periodt.
π OPTIONS π
-n <nsid>,--namespace-id=<nsid>β optional namespace attached to the controller.-a <attri>,--attri=<attri>β attribute index. Specifies the performance attribute index to set or get.-r,--rvspaβ revert vendor specific performance attribute flag.-R <r4karl>,--r4karl=<r4karl>β random4 KiBaverage read latency.-p <paid>,--paid=<paid>β performance attribute identifier. Must be a valid UUID string format.-A <attrl>,--attrl=<attrl>β attribute length. Required when using vendor specific performance data.-V <file>,--vs-data=<file>β vendor specific data input file path. Reads the data buffer from the specified file.-S <select>,--sel=<select>β select (SEL): this field specifies which value of the attributes to return in the provided data:0β current β Current1β default β Default2β saved β Saved3β supported β Supported capabilities
-s,--saveβ save the attribute so that it persists through all power states and resets.
π GLOBAL OPTIONS π
These are defined at the top-level nvme command, and theyβre available to this subcommand too. Bestie, theyβre global-global. π
--dry-runβ print the command that would be executed, but do not actually execute it.--no-ioctl-probingβ disable probing for 64-bit IOCTL support.--no-retriesβ disable retry logic on transient errors.-o <fmt>,--output-format=<fmt>β set the reporting format tonormal,tabular,'json, orbinary. Only one output format may be used at a time.--output-format-version=<version>β select the output format version. Version 1 uses the original field naming, while version 2 (default) provides more consistent and script-friendly field names. Other versions are rejected.--quietβ suppress informational messages. Errors are still reported, and--quietcancels any--verbosefor the library log level.--set-options=<key=value>[,<key=value>...]β set libnvme library options for this invocation. Supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β set the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff).-v,--verboseβ increase the level of detail in the output. May be specified multiple times to further increase verbosity.
These options can also be set as machine-wide defaults in nvme-cli.conf(5). A command-line flag always overrides the file. No cap. π
π EXAMPLES π
- Has the program issue a
feat perfcto get the current configuration:
# nvme feat perfc /dev/nvme0
- Has the program issue a
feat perfcto set standard performance attributes:
# nvme feat perfc /dev/nvme0 --attri=0 --r4karl=10 --save
- Has the program issue a
feat perfcto set vendor specific data from a file:
# nvme feat perfc /dev/nvme0 --attri=128 --paid=12345678-1234-1234-1234-123456789abc --attrl=64 --vs-data=vs_buf.bin
π NVME π
Part of the nvme-user suite. β¨
and thatβs the whole vibe β sourced from the NVMe manual, dated 10/30/2026, page NVME-FEAT-PERFC(1). mwah ππ
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms