Release a lock on an image. The lock id and locker are
as output by lock ls.
-:command:`bench` --io-type <read | write> [--io-size *size-in-B/K/M/G/T*] [--io-threads *num-ios-in-flight*] [--io-total *size-in-B/K/M/G/T*] [--io-pattern seq | rand] *image-spec*
+:command:`bench` --io-type <read | write | readwrite | rw> [--io-size *size-in-B/K/M/G/T*] [--io-threads *num-ios-in-flight*] [--io-total *size-in-B/K/M/G/T*] [--io-pattern seq | rand] [--rw-mix-read *read proportion in readwrite*] *image-spec*
Generate a series of IOs to the image and measure the IO throughput and
latency. If no suffix is given, unit B is assumed for both --io-size and
--io-total. Defaults are: --io-size 4096, --io-threads 16, --io-total 1G,
- --io-pattern seq.
+ --io-pattern seq, --rw-mix-read 50.
:command:`trash ls` [*pool-name*]
List all entries from trash.
rbd help bench
usage: rbd bench [--pool <pool>] [--image <image>] [--io-size <io-size>]
[--io-threads <io-threads>] [--io-total <io-total>]
- [--io-pattern <io-pattern>] --io-type <io-type>
+ [--io-pattern <io-pattern>]
+ [--rw-mix-read <rw-mix-read>] --io-type <io-type>
<image-spec>
Simple benchmark.
--io-threads arg ios in flight [default: 16]
--io-total arg total size for IO (in B/K/M/G/T) [default: 1G]
--io-pattern arg IO pattern (rand or seq) [default: seq]
- --io-type arg IO type (read or write)
+ --rw-mix-read arg read proportion in readwrite (<= 100) [default: 50]
+ --io-type arg IO type (read , write, or readwrite(rw))
rbd help children
usage: rbd children [--pool <pool>] [--image <image>] [--snap <snap>]