SysBench

Run SysBench on the DUT. The DUT needs sysbench.

AttributeTypeRequiredDefaultDescription
cmdconstYessysbenchCommand Name
namestringYesName to uniquely identify the teststep. This name will show up in reports, logs and the WebUI
transportTransportObjectYesAdditional transport options
optionsOptionsObjectNoAdditional command options
parametersSysBenchOptionsYesOptions passed into the sysbench cmd

SysBench Options

AttributeTypeRequiredDefaultDescription
args[]stringNoArguments to pass to sysbench.
expect[]ExpectOptionsYesExpectations to check against the output of sysbench.

SysBench Expect Options

AttributeTypeRequiredDefaultDescription
optionstringYesOption to check
valuestringYesExpected value

SysBench Example

cmd: sysbench
name: Benchmark
transport: *transport
parameters:
  args: [cpu, --cpu-max-prime=20000, --threads=18, --time=60, run]
  expect:
    - option: EventsPerSecond
      value: <4500