Over a million developers have joined DZone.

Server Storage I/O Part I: Benchmark Workload Scripts

There are many tools that can be used for creating and running workloads just as there are various application server I/O characteristics.

· Performance Zone

Download Forrester’s “Vendor Landscape, Application Performance Management” report that examines the evolving role of APM as a key driver of customer satisfaction and business success, brought to you in partnership with BMC.

This is part one of a two-part series of posts about using some common server storage I/O benchmark tools and workload scripts. View part II here which includes the workload scripts and where to view sample results.

There are various tools and workloads for server I/O benchmark testing, validation and exercising different storage devices (or systems and appliances) such as Non-Volatile Memory (NVM) flash Solid State Devices (SSDs) or Hard Disk Drives (HDD) among others.

NVMe ssd storage
Various NVM flash SSD including NVMe devices.

For example, let's say you have an SSD such as an Intel 750 (here,here, and here) or some other vendors NVMe PCIe Add in Card (AiC) installed into a Microsoft Windows server and would like to see how it compares with expected results. The following scripts allow you to validate your system with those of others running the same workload, granted of course your mileage (performance) may vary.

Why Your Performance May Vary

Reasons your performance may vary include among others:

  • GHz Speed of your server, number of sockets, cores
  • Amount of main DRAM memory
  • Number, type and speed of PCIe slots
  • Speed of storage device and any adapters
  • Device drivers and firmware of storage devices and adapters
  • Server power mode setting (e.g. low or balanced power vs. high-performance)
  • Other workload running on system and device under test
  • Solar flares (kp-index) among other urban (or real) myths and issues
  • Typos or misconfiguration of workload test scripts
  • Test server, storage, I/O device, software and workload configuration
  • Versions of test software tools among others

Windows Power (and Performance) Settings

Some things are assumed or taken for granted that everybody knows and does; however sometimes the obvious needs to be stated or restated. An example is remembering to check your server power management settings to see if they are in energy efficiency power savings mode or in high-performance mode. Note that if your focus is on getting the best possible performance for effective productivity, then you want to be in high-performance mode. On the other hand, if performance is not your main concern, but instead you are focused on energy avoidance, then low power mode or perhaps balanced is best.

For Microsoft Windows servers, desktop workstations, laptops, and tablets, you can adjust power settings via the control panel and GUI as well as the command line or Powershell. From command line (privileged or administrator), the following are used for setting balanced or high-performance power settings:


  • powercfg.exe /setactive 381b4222-f694-41f0-9685-ff5bb260df2e

High Performance

  • powercfg.exe /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

From Powershell, the following sets balanced or high-performance:


  • PowerCfg -SetActive "381b4222-f694-41f0-9685-ff5bb260df2e"

High Performance

  • PowerCfg -SetActive "8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c"

Note that you can list Windows power management settings using  powercfg -LIST  and powercfg -QUERY 

server storage I/O power management

By the way, if you have not already done so, enable Windows disk (HDD and SSD) performance counters so that they appear via Task Manager by entering from a command prompt: diskperf -y 

Workload (Benchmark) Simulation Test Tools Used

There are many tools (see storageio.com/performance) that can be used for creating and running workloads just as there are various application server I/O characteristics. Different server I/O and application performance attributes include among others:

  • read vs. write
  • random vs. sequential
  • large vs. small
  • long vs. short stride
  • burst vs. sustain
  • cache and non-cache friendly
  • activity vs. data movement vs. latency vs. CPU usage

Likewise, the number of workers, jobs, threads, outstanding and overlapped I/O, among other configuration settings, can have an impact on workload and results.

The four free tools that I’m using with this set of scripts are:

  • Microsoft Diskspd (free), get the tool and bits here or here (open source), learn more about Diskspd here.
  • FIO.exe (free), get the tool and bits here or here, among other venues.
  • Vdbench (free with registration), get the tool and bits here or here, among other venues.
  • Iometer (free), get the tool and bits here, among other venues.

Notice: While best effort has been made to verify the above links, they may change over time and you are responsible for verifying the safety of links and your downloads.

What This All Means

Remember, everything is not the same in the data center or with data infrastructures that support different applications.

While some tools are more robust or better than others for different things, ultimately it’s usually not the tool that results in a bad benchmark or comparison, it’s the configuration or lack of including workload settings that are not relevant or applicable. The best benchmark, workload or simulation is your own application. Second best is one that closely resembles your application workload characteristics. A bad benchmark is one that has no relevance to your environment, application use scenario. Take and treat all benchmark or workload simulation results with a grain of salt as something to compare, contrast or make reference to in the proper context. Read part two of this post series to view test tool workload scripts along with sample results.

Ok, nuff said, for now…


See Forrester’s Report, “Vendor Landscape, Application Performance Management” to identify the right vendor to help IT deliver better service at a lower cost, brought to you in partnership with BMC.

benchmark,i/o benchmarking

Published at DZone with permission of Greg Schulz, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}