Page MenuHomeFreeBSD

D31122.id92025.diff
No OneTemporary

D31122.id92025.diff

Index: sbin/nvmecontrol/nvmecontrol.8
===================================================================
--- sbin/nvmecontrol/nvmecontrol.8
+++ sbin/nvmecontrol/nvmecontrol.8
@@ -470,6 +470,37 @@
mode.
This will report status on a sanitize that is already running on the drive.
.El
+.Ss power
+Manage the power modes in the system.
+.Bl -tag -width 6n
+.It Fl l
+List all the power modes in the system.
+.It Fl p Ar mode
+Set the power mode to
+.Ar mode .
+This must be a mode listed with the
+.Dl nvmecontrol power -l
+command.
+.It Fl w Ar hint
+Set the workload hint for automatic power mode control.
+.Bl -tag -compact -width 6n
+.It 0
+No workload hint is provided.
+.It 1
+Extended idle period workload.
+The device is often idle for minutes at a time.
+A burst of write commands comes in over a period of seconds.
+Then the device returns to being idle.
+.It 2
+Heavy sequential writes.
+A huge number of sequential writes will be submitted, filling the submission queues.
+.It Other
+All other values are reserved and have no standard meaning.
+.El
+Please see the
+.Dq NVM Subsystem Workloads
+section of the relevant NVM Express standard for details.
+.El
.Ss selftest
Start the specified device self-test:
.Bl -tag -width 6n

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 27, 3:18 PM (14 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17819181
Default Alt Text
D31122.id92025.diff (1 KB)

Event Timeline