Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 2.42 KB

File metadata and controls

24 lines (15 loc) · 2.42 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 Allows simulating a preexisting file/directory tree structure for a null device filesystem. For example, "2-3:4-5:512" will generate a filesystem tree which has 2 directories and 3 files in the root of the filesystem. Each of these directories will have 4 subdirectories and 5 files. Suffix ":512" (which is optional) will specify the size of generated files to 512 bytes. The 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")