Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 2.67 KB

NulldeviceModify.md

File metadata and controls

24 lines (15 loc) · 2.67 KB

Onepanel.NulldeviceModify

Properties

Name Type Description Notes
type String The type of storage. `type = "nulldevice"` POSIX compatible storage which emulates behavior of `/dev/null` on local filesystem. Allows running various performance tests, which are not impacted by actual storage latency.
latencyMin Number Minimum latency in milliseconds, which should be simulated for selected operations. [optional]
latencyMax Number Maximum latency in milliseconds, which should be simulated for selected operations. [optional]
timeoutProbability Number Probability (0.0, 1.0), with which an operation should return a timeout error. [optional]
filter String Comma-separated list of filesystem operations, for which latency and timeout should be simulated. Empty or '*' mean all operations will be affected. [optional]
simulatedFilesystemParameters String Specifies the parameters for a simulated null device filesystem. For example `2-2:2-2:0-1` will generate a filesystem tree which has 2 directories (`0` and `1`) and 2 files (`2` and `3`) in the root of the filesystem, each of these directories will have 2 subdirectories (`0` and `1`) and 2 files (`2` and `3`) and each of these subdirectories has only a single file (`0`). In order to specify the size of generated files, a size in bytes needs to be added as the last component of the parameter specification, for example `2-2:2-2:0-1:1048576`. Default empty string disables the simulated filesystem feature. [optional]
simulatedFilesystemGrowSpeed Number Determines the simulated filesystem grow rate. Default 0.0 value will cause all the files and directories defined by the `simulatedFilesystemParameters` specification to be visible immediately. For example value of 0.01 will increase the number of the visible filesystem entries by 1 file per 100 seconds, while 100.0 will increase it by 100 files per second. [optional]
enableDataVerification Boolean Enables data verification for `read` and `write` operations. Read operations will always return a predictable pattern of characters based on `offset` and `size`, and `write` operations will fail with I/O error, if the input data does not match the pattern at a given `offset`. [optional] [default to false]

Enum: TypeEnum

  • nulldevice (value: "nulldevice")