NVME-SNDK-SET-LAT(1)
π NVME-SNDK-SET-LAT(1) β nvme-sndk-set-latency-monitor-feature β¨
okay bestie, welcome to the NVMe Manual section for NVME-SNDK-SET-LAT(1). this is the page about nvme-sndk-set-latency-monitor-feature, and yes it's a mouthful, but she's iconic and you're gonna get it. π
πΈ NAME πΈ
nvme-sndk-set-latency-monitor-feature β the command that sets the NVMe sndk latency monitor feature options. that's it, that's the whole vibe.
π¦ SYNOPSIS π¦
nvme [<global-options>] sndk set-latency-monitor-feature <device>
[--active_bucket_timer_threshold=<NUM> | -t <NUM>]
[--active_threshold_a=<NUM> | -a <NUM>]
[--active_threshold_b=<NUM> | -b <NUM>]
[--active_threshold_c=<NUM> | -c <NUM>]
[--active_threshold_d=<NUM> | -d <NUM>]
[--active_latency_config=<NUM> | -f <NUM>]
[--active_latency_minimum_window=<NUM> | -w <NUM>]
[--debug_log_trigger_enable=<NUM> | -r <NUM>]
[--discard_debug_log=<NUM> | -l <NUM>]
[--latency_monitor_feature_enable=<NUM> | -e <NUM>]
like, look at all those flags. she has range. π
π DESCRIPTION π
so for the NVMe device you hand her, this command sets the latency monitor feature options β but only if the device supports it, okay? no cap, if it doesn't support it, that's just not happening. π«Ά
the <device> parameter is mandatory and it's an NVMe character device (ex: /dev/nvme0). literally mandatory. don't forget it. π
you can check how it went with the get-latency-monitor-log command β that's your vibe check afterwards. β¨
on success it returns 0, and an error code otherwise. periodt.
π OPTIONS π
-t<NUM>,--active_bucket_timer_threshold=<NUM>β this is the value that loads the Active Bucket Timer Threshold. default value is07E0h. π-a<NUM>,--active_threshold_a=<NUM>β the value that loads into the Active Threshold A. default value is05h.-b<NUM>,--active_threshold_b=<NUM>β the value that loads into the Active Threshold B. default value is13h.-c<NUM>,--active_threshold_c=<NUM>β the value that loads into the Active Threshold C. default value is1Eh.-d<NUM>,--active_threshold_d=<NUM>β the value that loads into the Active Threshold D. default value is2Eh.-f<NUM>,--active_latency_config=<NUM>β this one loads into the Active Latency Configuration. it configures how both the Active Latency Stamp and the Active Measured Latency Fields get updated on a per I/O command (Read, Write, Deallocate) counter basis. default value is0FFFh. she's doing a lot of work ngl π-w<NUM>,--active_latency_minimum_window=<NUM>β the value that loads into the Active Latency Minimum Window. default value is0Ah.-r<NUM>,--debug_log_trigger_enable=<NUM>β the value that loads into the Debug Log Trigger Enable. when it's set to1b, the first time the bucket/counter combination is incremented, a debug log is triggered. when it's cleared to0b, no debug log gets triggered when the bucket/counter combination is incremented. simple as that. π₯-l<NUM>,--discard_debug_log=<NUM>β Discard Debug Log. when cleared to00h, the debug log (if it exists) will not be cleared. when set to01h, the debug log gets discarded so another log can be triggered β and all the fields in the Set Features Data structure are valid. when set to02h, the debug log also gets discarded so another log can be triggered, but none of the other fields of the Set Features Data structure are valid. π three moods, three behaviors, iykyk.-e<NUM>,--latency_monitor_feature_enable=<NUM>β Latency Monitor Feature Enable. when set to01h, the Latency Monitor Feature is enabled. when cleared to00h, the Latency Monitor Feature is disabled. main character switch fr fr. β
π GLOBAL OPTIONS π
these live at the top-level nvme command, and yeah, they're available to this subcommand too. the whole squad, no gatekeeping:
--dry-runβ prints the command that would be executed, but doesn't actually execute it. window shopping, basically. π--no-ioctl-probingβ disables probing for 64-bit IOCTL support.--no-retriesβ disables retry logic on transient errors.-o<fmt>,--output-format=<fmt>β sets the reporting format tonormal,tabular,'json, orbinary. only one output format at a time, bestie, pick a lane. π--output-format-version=<version>β selects the output format version. version1uses the original field naming, while version2(the default) gives you more consistent and script-friendly field names. any other versions are rejected β denied, blocked, not today. π--quietβ suppresses informational messages. errors are still reported, and--quietcancels any--verbosefor the library log level. she's quiet but she's not silent about errors. π--set-options=<key=value>[,<key=value>...]β sets libnvme library options for this invocation. supported keys areforce-4k,mi-probe-enabled,test-base-dirandtest-sysfs-dir.--timeout=<ms>β sets the timeout for the command in milliseconds.infiniteor-1waits without a time limit (0xffffffff). no clock-watching. β³-v,--verboseβ increases the level of detail in the output. can be specified multiple times to increase verbosity even more. say it with me: more-v, more lore. β¨
π‘ these options can also be set as machine-wide defaults in nvme-cli.conf(5). but a command-line flag always overrides the file β command line stays winning, always. π
π§ EXAMPLES π§
- set the NVMe sndk latency monitor feature options enabled with the default values:
# nvme sndk set-latency-monitor-feature /dev/nvme0 -e 1
- set the NVMe sndk latency monitor feature options disabled with the default values:
# nvme sndk set-latency-monitor-feature /dev/nvme0 -e 0
- set the NVMe sndk latency monitor feature options enabled with specific values (look at her go, so many flags, she ate π ):
# nvme sndk set-latency-monitor-feature /dev/nvme0 --active_bucket_timer_threshold=1 \
--active_threshold_a=0x0 \
--active_threshold_b=0x1 \
--active_threshold_c=0x2 \
--active_threshold_d=0x3 \
--active_latency_config=0xfff \
--active_latency_minimum_window=0 \
--debug_log_trigger_enable=0 \
--discard_debug_log=0 \
--latency_monitor_feature_enable=0x1
π¦ NVME π¦
part of the nvme-user suite. she runs with her friends, obviously. π«Ά
and that's the whole page, bestie! this one came from the NVMe manual, dated 10/30/2026, under the page name NVME-SNDK-SET-LAT(1) β so go forth, set those latency monitor features, and slay. πβ¨π
π¦ 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