|
| 1 | +config KDEVOPS_WORKFLOW_ENABLE_SSD_STEADY_STATE |
| 2 | + bool "Enable SSD steady state workflow" |
| 3 | + output yaml |
| 4 | + default n |
| 5 | + help |
| 6 | + Enable this workflow to pre-condition a block device and |
| 7 | + verify steady state performance using fio before running |
| 8 | + other workflows. |
| 9 | + |
| 10 | +if KDEVOPS_WORKFLOW_ENABLE_SSD_STEADY_STATE |
| 11 | +menu "Configure SSD steady state workflow" |
| 12 | + |
| 13 | +config SSD_STEADY_STATE_DEVICE |
| 14 | + string "Device to pre-condition" |
| 15 | + output yaml |
| 16 | + default "/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_kdevops1" if LIBVIRT && LIBVIRT_EXTRA_STORAGE_DRIVE_NVME |
| 17 | + default "/dev/disk/by-id/virtio-kdevops1" if LIBVIRT && LIBVIRT_EXTRA_STORAGE_DRIVE_VIRTIO |
| 18 | + default "/dev/disk/by-id/ata-QEMU_HARDDISK_kdevops1" if LIBVIRT && LIBVIRT_EXTRA_STORAGE_DRIVE_IDE |
| 19 | + default "/dev/nvme2n1" if TERRAFORM_AWS_INSTANCE_M5AD_4XLARGE |
| 20 | + default "/dev/nvme1n1" if TERRAFORM_GCE |
| 21 | + default "/dev/sdd" if TERRAFORM_AZURE |
| 22 | + default TERRAFORM_OCI_SPARSE_VOLUME_DEVICE_FILE_NAME if TERRAFORM_OCI |
| 23 | + help |
| 24 | + Block device to operate on for steady state. |
| 25 | + |
| 26 | +config SSD_STEADY_STATE_PREFILL_BLOCKSIZE |
| 27 | + string "Prefill blocksize" |
| 28 | + output yaml |
| 29 | + default "128k" |
| 30 | + help |
| 31 | + Block size used during the prefill step before steady |
| 32 | + state verification. |
| 33 | + |
| 34 | +config SSD_STEADY_STATE_IODEPTH |
| 35 | + string "Prefill iodepth" |
| 36 | + output yaml |
| 37 | + default "32" |
| 38 | + help |
| 39 | + Queue depth used for the prefill workload. |
| 40 | + |
| 41 | +config SSD_STEADY_STATE_NUMJOBS |
| 42 | + string "Prefill number jobs" |
| 43 | + output yaml |
| 44 | + default "4" |
| 45 | + help |
| 46 | + Number of fio jobs to spawn for the prefill step. |
| 47 | + |
| 48 | +config SSD_STEADY_STATE_PREFILL_LOOP |
| 49 | + int "Prefill loop count" |
| 50 | + output yaml |
| 51 | + default 2 |
| 52 | + help |
| 53 | + How many iterations of the prefill helper to run. |
| 54 | + |
| 55 | +config SSD_STEADY_STATE_RUNTIME |
| 56 | + string "Steady state runtime" |
| 57 | + output yaml |
| 58 | + default "6h" |
| 59 | + help |
| 60 | + Maximum runtime allowed for each steady state check. |
| 61 | + |
| 62 | +config SSD_STEADY_STATE_IOPS_MEAN_LIMIT |
| 63 | + string "IOPS steady state mean limit" |
| 64 | + output yaml |
| 65 | + default "20%" |
| 66 | + help |
| 67 | + fio ss=iops value defining the IOPS mean limit criteria. |
| 68 | + |
| 69 | +config SSD_STEADY_STATE_IOPS_MEAN_DUR |
| 70 | + string "IOPS steady state mean duration" |
| 71 | + output yaml |
| 72 | + default "4h" |
| 73 | + help |
| 74 | + Duration the IOPS mean limit must be sustained. |
| 75 | + |
| 76 | +config SSD_STEADY_STATE_IOPS_SLOPE |
| 77 | + string "IOPS steady state slope" |
| 78 | + output yaml |
| 79 | + default "10%" |
| 80 | + help |
| 81 | + fio ss=iops_slope percentage for slope detection. |
| 82 | + |
| 83 | +config SSD_STEADY_STATE_IOPS_SLOPE_DUR |
| 84 | + string "IOPS steady state slope duration" |
| 85 | + output yaml |
| 86 | + default "4h" |
| 87 | + help |
| 88 | + Duration the IOPS slope criterion must hold. |
| 89 | + |
| 90 | +config SSD_STEADY_STATE_BW_MEAN_LIMIT |
| 91 | + string "BW steady state mean limit" |
| 92 | + output yaml |
| 93 | + default "20%" |
| 94 | + help |
| 95 | + fio ss=bw value defining the throughput mean limit. |
| 96 | + |
| 97 | +config SSD_STEADY_STATE_BW_MEAN_DUR |
| 98 | + string "BW steady state mean duration" |
| 99 | + output yaml |
| 100 | + default "2h" |
| 101 | + help |
| 102 | + Duration the throughput mean limit must be sustained. |
| 103 | + |
| 104 | +config SSD_STEADY_STATE_BW_SLOPE |
| 105 | + string "BW steady state slope" |
| 106 | + output yaml |
| 107 | + default "10%" |
| 108 | + help |
| 109 | + fio ss=bw_slope percentage for slope detection. |
| 110 | + |
| 111 | +config SSD_STEADY_STATE_BW_SLOPE_DUR |
| 112 | + string "BW steady state slope duration" |
| 113 | + output yaml |
| 114 | + default "2h" |
| 115 | + help |
| 116 | + Duration the throughput slope criterion must hold. |
| 117 | + |
| 118 | +endmenu |
| 119 | +endif |
0 commit comments