Understanding the Proactive Storage Stress Test for vSAN
search cancel

Understanding the Proactive Storage Stress Test for vSAN

book

Article ID: 326893

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

The purpose of this article is to explain the requirements and functionality of the proactive vSAN performance test.

Environment

VMware vSAN 6.1.x
VMware vSAN 6.5.x
VMware vSAN 6.2.x

Resolution

The proactive vSAN performance test was introduced as a new feature in vSAN 6.1. This feature is accessible through the web client. The test is a good way to gauge the performance capabilities of your vSAN cluster.
 
The Proactive vSAN Storage performance test is run by clicking the Virtual SAN cluster you wish to test, then navigating to Monitor > Virtual SAN > Proactive Test. Configure the desired duration of the test and select the workload profile you wish to test. Details of the available workload profiles are in the table below.
 
Prior to running the proactive vSAN storage performance test it is important to understand how the test operates and its limitations.

How it operates

  1. It starts by creating a vSAN namespace directory for each host in the vSAN cluster. The purpose of this namespace is to store test virtual disk (vmdk) objects.
  2. Vmdk objects are created inside each of the host namespace directories until there are enough vmdk objects to perform the test. The amount of test vmdk objects is determined by the chosen Workload Test.
  3. IOBlazer (the embedded performance tool) is supplied the testing parameters based on the selected test.
  4. The testing begins.

Limitations

  • Ensure you have enough free space to run the test prior to running it. The table below will help you calculate how much capacity is required.
  • Ensure that the vSAN health check test returns green check marks for all tests.
    • If you want to rerun the tests, select the cluster level object in the vSphere Web Client, navigate to Monitor > Virtual SAN > Health and click Retest.
  • Ensure the proactive multicast performance test passes.
    • To run the test, select the cluster level object in the vSphere Web Client, navigate to Monitor > Virtual SAN > Proactive Tests, select the Multicast performance test option and click the green start button.
Notes: It is very important to ensure you validate you are not hitting any of the limitations noted above prior to running the proactive vSAN performance test. If you experience the error message Failed to run storage load test, this means the test failed to run, validate and ensure you are not hitting any of the documented limitations prior to filing a support request with VMware.
 
This table defines the parameters that are passed for each available testing method:
 
Workload Test NameDescriptionDataset Per Host# of VMDKs per hostRead IO %# of Outstanding IOsIO SizeDataset size (per vmdk) Random IO?
Low Stress Testlow stress test with minimal latency200 MB1100
1
4 KB200 MByes
Basic sanity test,focus on Flash cache layerSimulates a realistic workload with a 70/30 split using a small 1 GB dataset1 GB107024 KB102 MByes
Stress testDesigned to put a lot of stress on all storage layers. High latency is expected1 TB205048 KB51 MByes
Performance Characterization - 100% Read, optimal RC usageStress test against read cache capabilities to handle read IO10 GB1010024 KB1 GByes
Performance Characterization - 100% Write, optimal WB usageStress test against the write buffer layer ability to handle write IO5 GB10024 KB512 MByes
Performance Characterization - 100% Read, optimal RC usage after warm-upStart stress testing the read cache layer after it has warmed up.10 GB1010024 KB1 GByes
Performance Characterization – 70/30 Read/Write, realistic, optimal flash cache usageSimulates a realistic workload with a 70/30 split using a 30 GB dataset30 GB107024 KB3 GByes
Performance Characterization – 70/30 Read/Write, high I/O size, optimal flash cache usageSimulates realistic workload using a 70/30 split but with a focus on performance with large IO sizes.30 GB1070264 KB3 GByes
Performance Characterization - 100% Read, Low RC hit rate / All-Flash demoStress test for All-Flash vSAN clusters. Not intended for hybrid configurations1 TB1010024 KB102 GByes
Performance Characterization - 100% Streaming ReadsSimulates workload of complete sequential read IOPS1 TB101001512 KB102 GBno
Performance Characterization - 100% Streaming WritesSimulates workload of complete sequential write IOPS1 TB1001512 KB

102 GB

no
 
For a detailed look at the proactive storage performance test suite see page 96 of the vSAN health check plugin guide.
 
So to help you understand the capacity required to execute these tests there are 2 formulas you can use. Every cluster is going to be different and the capacity required is dependent on the number of vSAN nodes in the cluster.
 
 
To understand approximately how much capacity will be consumed the following formula applies
# of hosts in the cluster * Dataset per host ( test specific) *2 (if using FTT=1) = consumed space.
 
example using a 3 node cluster with a stress test policy:
 
3 host cluster * 1TB * 2 (FTT=1) = 6TB of free space needed in the cluster to run the test

Note: The vSAN Multicast performance test should show when the cluster is running with multicast mode vs unicast mode. 


Additional Information

There is an alternative to the proactive VSAN test called "HCI bench". You can find a free copy of this tool at https://labs.vmware.com/flings/hcibench along with the instructions for implementation.
 
For a high level discussion on the Storage performance test see Virtual SAN Health Service - Storage performance test (2144277) .
vSAN Health Service - Storage performance test

vSAN のプロアクティブ ストレージ ストレス テストについて
中文简体:了解 vSAN 主动存储压力测试