22.16.203. salt.modules.sysbench

The 'sysbench' module is used to analyze the performance of the minions, right from the master! It measures various system parameters such as CPU, Memory, File I/O, Threads and Mutex.

salt.modules.sysbench.cpu()

Tests for the CPU performance of minions.

CLI Examples:

salt '*' sysbench.cpu
salt.modules.sysbench.fileio()

This tests for the file read and write operations Various modes of operations are

  • sequential write
  • sequential rewrite
  • sequential read
  • random read
  • random write
  • random read and write

The test works with 32 files with each file being 1Gb in size The test consumes a lot of time. Be patient!

CLI Examples:

salt '*' sysbench.fileio
salt.modules.sysbench.memory()

This tests the memory for read and write operations.

CLI Examples:

salt '*' sysbench.memory
salt.modules.sysbench.mutex()

Tests the implementation of mutex

CLI Examples:

salt '*' sysbench.mutex
salt.modules.sysbench.ping()
salt.modules.sysbench.threads()

This tests the performance of the processor's scheduler

CLI Example:

salt '*' sysbench.threads

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

22.16.202. salt.modules.swift

Next topic

22.16.204. salt.modules.sysmod

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.