NVME-SNDK-SET-LAT(1) | NVMe Manual | NVME-SNDK-SET-LAT(1) |
NAME
nvme-sndk-set-latency-monitor-feature - Set NVMe sndk latency monitor feature options
SYNOPSIS
nvme 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>]
DESCRIPTION
For the NVMe device given, this command set the latency monitor feature options (if supported by the device).
The <device> parameter is mandatory NVMe character device (ex: /dev/nvme0).
Setting results can be checked with get-latency-monitor-log command.
On success it returns 0, error code otherwise.
OPTIONS
-t <NUM>, --active_bucket_timer_threshold=<NUM>
-a <NUM>, --active_threshold_a=<NUM>
-b <NUM>, --active_threshold_b=<NUM>
-c <NUM>, --active_threshold_c=<NUM>
-d <NUM>, --active_threshold_d=<NUM>
-f <NUM>, --active_latency_config=<NUM>
-w <NUM>, --active_latency_minimum_window=<NUM>
-r <NUM>, --debug_log_trigger_enable=<NUM>
-l <NUM>, --discard_debug_log=<NUM>
-e <NUM>, --latency_monitor_feature_enable=<NUM>
EXAMPLES
# nvme sndk set-latency-monitor-feature /dev/nvme0 -e 1
# nvme sndk set-latency-monitor-feature /dev/nvme0 -e 0
# 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.
05/01/2025 | NVMe |