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] [default to 0.0] |
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] [default to '*'] |
storagePathType |
String |
Determines how the logical file paths will be mapped on the storage. 'canonical' paths reflect the logical file names and directory structure, however each rename operation will require renaming the files on the storage. 'flat' paths are based on unique file UUID's and do not require on-storage rename when logical file name is changed. |
[optional] [default to 'canonical'] |
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] [default to ''] |
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] [default to 0.0] |
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] |