fling logo of Storage Performance Tester

Storage Performance Tester

version 1.1 — August 06, 2021

Contributors 3

View All

Comments 104

  • profile picture of Anonymous
  • profile picture of DaveM1111
  • profile picture of DaveM1111
  • profile picture of Markus
  • profile picture of Anonymous
  • profile picture of Roshan S
  • profile picture of Romeo
  • profile picture of markshannon1974
View All

Summary

Storage Performance Tester is a one-click storage performance test tool, which is able to collect IOPS, latency and CPU cycles per I/O for ESXi storage stack. This tool automates all the testing steps including the customized VMs deployment, I/O workload running, and storage performance analysis. It displays the performance metrics through multiple visualized graphical charts. The only thing that users need to do is enter one command and wait for the performance report of your server.

This tool is designed to be a developer-friendly tool help troubleshoot and identify storage performance issues. It could be used to validate the maximum performance of new storage hardwares/drivers and setups of vSphere/vSAN. For more details please check the guild located in the instructions

Requirements

  • Python 3
  • sshpass
  • 2 GB of storage space
  • Linux environments (kernel version is older than 2.6.31)

Instructions

Using Storage Performance Tester

2.1. Obtain and Prepare work

The Storage Performance Tester can be obtained as a .zip file from VMware. Uncompress the whole zip file, and follow the instructions below to check whether it could run in your environment.

  1. check if the third-party tool, fio, could work well.
    #./fio --version
  2. check if ovftool could work
    #./ovftool/ovftool --version

2.2. Using Storage Performance Tester

A basic command as below:

#./sperf.py HOSTNAME -d DatastoreName

sperf.py needs users to input the root password of the HOST, after that it will do the test automatically and give you the result in about 20mins (with default

configuration).

The command used to test multi datastores on the HOST:

#./sperf.py HOST -d datastore1 -d datastore2 -d datastore3 -d datastore4

2.3. I/O Workloads Setup

Sperf could control the I/O workloads through the config file (--configfile/-i).

#config.ini is the default workload config file.

[iopstasks1]

fio_8thread_4dev_4krandread

fio_8thread_4dev_4kread

fio_8thread_4dev_4kwrite

fio_8thread_4dev_4krandwrite

[iopstasks2]

fio_8thread_4dev_8krandread

fio_8thread_4dev_8kread

fio_8thread_4dev_8kwrite

fio_8thread_4dev_8krandwrite

[iopstasks3]

fio_8thread_4dev_64krandread

fio_8thread_4dev_64kread

fio_8thread_4dev_64kwrite

fio_8thread_4dev_64krandwrite

[latencytasks]

fio_latency_512read

fio_latency_4kread

fio_latency_8kread

fio_latency_512write

fio_latency_4kwrite

fio_latency_8kwrite

The config file supports three keywords, which are [iops*] [latency*] and [delay*].

[iops*] is an IOPS fio scripts group.

[latency*] is a latency fio workloads group.

[delay*] is to add some time delay between the sections.

You can write your own config files to define which kind of workloads to run in the test.

Example:

#cat config2.ini

[iopstask1]

#your fio scripts name in fioscripts.

fio_8thread_4dev_4krandread

[delaytime1]

#you can also add some delay between the two workload sections.

1800

[iopstask2]

fio_8thread_4dev_8kread

[latencytasks]

fio_latency_512read

Storage Performance Tester Reporting

SPerf provides an intuitive way for customers to check performance metrics.

It is better to have an HTTP service in your environment to check the output.html files if you don't have one, below steps will help.

#cd results && nohup ./sperfhttp.sh &
The upper script will start up a simple HTTP service in your Linux with port 8000. So you can check your all your test results through http://YOURLINUXIP:8000/

In the results, you can also check the basic information of your target HOST.

For your instance:

Video

Changelog

Support vnvme virtual adapter to sperf. support ESXi67 bugfixes.

Similar Flings

No similar flings found. Check these out instead...
Nov 11, 2015
fling logo of Auto Deploy GUI

Auto Deploy GUI

version 5.0/5.1/5.5/6.0

Auto Deploy GUI is a front end interface to the Auto Deploy/Stateless infrastructure.

Jul 18, 2018
fling logo of Blockchain on Kubernetes

Blockchain on Kubernetes

version 2.1

Blockchain is an emerging technology which has been gaining traction globally throughout the past few years. Industries like finance, logistics, and IoT are actively working on research and pilot projects using blockchain.

Apr 12, 2021
fling logo of Horizon Session Recording

Horizon Session Recording

version 2.2.5

VMware Horizon Session Recording allows administrators of a VMware Horizon environment record their users activity in their Blast Extreme virtual desktop and application sessions.

Mar 31, 2021
fling logo of Configuration Wizard for Nuance PowerMic

Configuration Wizard for Nuance PowerMic

version 1.0

This handy standalone Fling will assist in determining the optimal PowerMic configuration for a specific environment.

Apr 17, 2019
fling logo of MyVMware CLI

MyVMware CLI

version 1.0

MyVMware CLI is a CLI client used to login and interact with my.vmware.com.

Jan 22, 2020
fling logo of Cross vCenter Workload Migration Utility

Cross vCenter Workload Migration Utility

version 3.1

This Fling allows users to easily migrate virtual machines in bulk from a graphical user interface between vCenter Servers (same & different SSO Domains supported) using the Cross-vCenter vMotion feature.

View More