1NVME-WDC-VS-DEVIC(1) NVMe Manual NVME-WDC-VS-DEVIC(1)
2
3
4
6 nvme-wdc-vs-device-waf - Calculates the device write amplification
7 factor and prints both TLC and SLC results
8
10 nvme wdc vs-device-waf <device> [--output-format=<normal|json> -o <normal|json>]
11 [--namespace-id=<nsid> | -n <nsid>]
12
14 For the NVMe device given, calculates the device TLC and SLC write
15 amplification factor.
16
17 The <device> parameter is mandatory and may be either the NVMe
18 character device (ex: /dev/nvme0) or block device (ex: /dev/nvme0n1).
19
20 This will only work on WDC devices supporting this feature. Results for
21 any other device are undefined.
22
23 On success it returns 0, error code otherwise.
24
26 -o <format>, --output-format=<format>
27 Set the reporting format to normal, or json. Only one output format
28 can be used at a time. Default is normal.
29
30 -n <nsid>, --namespace-id=<nsid>
31 Sets the command’s nsid value to the given nsid. Defaults to
32 0xffffffff if not given. This option may not affect anything
33 depending on the log page, which may or may not be specific to a
34 namespace.
35
37 • Has the program issue WDC vs-device-waf plugin Command :
38
39 # nvme wdc vs-device-waf /dev/nvme0
40
42 Part of the nvme-user suite.
43
44
45
46NVMe 09/29/2023 NVME-WDC-VS-DEVIC(1)