Fortinet white logo
Fortinet white logo

CLI Reference

benchmark

benchmark

Use the following commands to test performance.

benchmark io-perf

Use these commands to test IO performance.

Syntax

execute benchmark io-perf custom <parameters>

execute benchmark io-perf rand-read [reboot]

execute benchmark io-perf rand-rw [reboot]

execute benchmark io-perf rand-write [reboot]

execute benchmark io-perf seq-read [reboot]

execute benchmark io-perf seq-rw [reboot]

execute benchmark io-perf seq-write [reboot]

execute benchmark io-perf show-last-result <operation>

Variable

Description

custom <parameters>

Test IO performance with custom parameters.

Enter the following paramaters (format example: rw=randrw numjobs=8 bs=4 size=4 runtime=60).

  • rw = Type of I/O pattern. Accepted values are read, write, rw (read and write), randread (random read), randwrite (random write), and randrw (random read and write).

  • numjobs = Number of jobs doing io-perf.

  • bs = The block size in bytes used for I/O units (unit is KB).

  • size = The total size of file I/O for each job (unit is GB).

  • runtime = Limit runtime for io-perf (unit is seconds).

rand-read [reboot]

Test random read IO performance. Enter reboot to reboot for io-perf running in clean env.

rand-rw [reboot]

Test random read and write IO performance. Enter reboot to reboot for io-perf running in clean env.

rand-write [reboot]

Test random write IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-read [reboot]

Test sequential read IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-rw [reboot]

Test sequential read and write IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-write [reboot]

Test sequential write IO performance. Enter reboot to reboot for io-perf running in clean env.

show-last-result <operation>

Show the last io-perf result for one of the following operations:

  • all = All operations

  • seq-read = Sequential read

  • seq-write = Sequential write

  • seq-rw = Sequential read and write

  • rand-read = Random read

  • rand-write = Random write

  • rand-rw = Random read and write

  • custom = Custom io-perf parameters

benchmark

benchmark

Use the following commands to test performance.

benchmark io-perf

Use these commands to test IO performance.

Syntax

execute benchmark io-perf custom <parameters>

execute benchmark io-perf rand-read [reboot]

execute benchmark io-perf rand-rw [reboot]

execute benchmark io-perf rand-write [reboot]

execute benchmark io-perf seq-read [reboot]

execute benchmark io-perf seq-rw [reboot]

execute benchmark io-perf seq-write [reboot]

execute benchmark io-perf show-last-result <operation>

Variable

Description

custom <parameters>

Test IO performance with custom parameters.

Enter the following paramaters (format example: rw=randrw numjobs=8 bs=4 size=4 runtime=60).

  • rw = Type of I/O pattern. Accepted values are read, write, rw (read and write), randread (random read), randwrite (random write), and randrw (random read and write).

  • numjobs = Number of jobs doing io-perf.

  • bs = The block size in bytes used for I/O units (unit is KB).

  • size = The total size of file I/O for each job (unit is GB).

  • runtime = Limit runtime for io-perf (unit is seconds).

rand-read [reboot]

Test random read IO performance. Enter reboot to reboot for io-perf running in clean env.

rand-rw [reboot]

Test random read and write IO performance. Enter reboot to reboot for io-perf running in clean env.

rand-write [reboot]

Test random write IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-read [reboot]

Test sequential read IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-rw [reboot]

Test sequential read and write IO performance. Enter reboot to reboot for io-perf running in clean env.

seq-write [reboot]

Test sequential write IO performance. Enter reboot to reboot for io-perf running in clean env.

show-last-result <operation>

Show the last io-perf result for one of the following operations:

  • all = All operations

  • seq-read = Sequential read

  • seq-write = Sequential write

  • seq-rw = Sequential read and write

  • rand-read = Random read

  • rand-write = Random write

  • rand-rw = Random read and write

  • custom = Custom io-perf parameters