Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2383371.1
Update Date:2018-04-30
Keywords:

Solution Type  Technical Instruction Sure

Solution  2383371.1 :   How to Setup and Run vdbench  


Related Items
  • Oracle FS1-2 Flash Storage System
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Flash Storage>SN-EStor: FSx
  •  
  • Tools>Primary Use>Performance
  •  


Vdbench is a powerful disk load test tool and can be run on a local disk or SAN attached disks. Vdbench can be run against raw or formatted disks. This primer uses a raw disk heterogeneous Windows/Linux driver setup. The concepts would be the same when testing against a formatted file systems.

In this Document
Goal
Solution


Applies to:

Oracle FS1-2 Flash Storage System - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.
vdbench is an open-source Oracle developed storage load generator

Goal

 Accelerate getting vdbench running using Linux and Windows systems as drivers and controller

Solution

Perform the following steps to get vdbench up and running:

  1. Download vdbench.
  2. Copy vdbench to controller and drives.
  3. Unzip vdbench into its own directory on all systems.
  4. If testing an array map drives to the servers acting as drivers.
  5. Use two disks per driver, they do not have to be larger than 500GB.
  6. Create vdbench load definition file.
  7. Run the test.

When prepping Linux systems make sure sshd is installed, running and accepting connections. Windows needs vdbench rsh service running to accept connections. To do this open a command prompt or powershell window, cd to the vdbench directory where the files have been extracted, and run vdbench.bat rsh . Make sure you either turn off Windows firewall or add a rule to allow tcp port 5560.

Disk performance tests should be run against RAW disks. If one plans to test a formatted filesystem, run tests against raw disks first, then against the formatted filesystem. Use the delta to get filesystem overhead.

Systems connected to arrays should be using multi-path software. Make sure you use the mapper raw device in your definition. On Linux use the device in /dev/mapper. On Windows use the appropriate \\.\PHYSICALDRIVE<x>. On Windows open Powershell and run this command get-WmiObject Win32_DiskDrive to get the \\.\ device. In Windows if you get a ReadOnly error, go into disk manager, turn off the read only setting, and initialize the disk. Do not format or partition the disks.

It is best to create a vdbench run file. These can be from very simple to very complex. You can fine a lot of material on the internet. Below is a sample script.

 

hd=linux_01,vdbench=/root/vdbench,user=root,shell=ssh,jvms=4,system=fs1-rhel
hd=windows_01,system=10.133.112.160,shell=vdbench,vdbench=C:\Users\Administrator.WIN2012-X4100\vdbench,jvms=4

sd=default,openflags=directio
sd=sd101,host=linux_01,lun=/dev/mapper/36000b08414b30303132363933340006f
sd=sd102,host=linux_01,lun=/dev/mapper/36000b08414b303031323639333400070
sd=sd103,host=windows_01,lun=\\.\PHYSICALDRIVE2
sd=sd104,host=windows_01,lun=\\.\PHYSICALDRIVE3

wd=wd_65-35rand_hs1,seekpct=rand,rdpct=65,rhpct=50,whpct=25,xfersize=(4k,35,8k,35,16k,20,32k,10)

rd=BL-rd_65-35rand_threads-2,wd=wd_65-35rand_hs1,sd=(sd101-sd104),iorate=MAX,elapsed=600,interval=2,forthreads=26

 

 The file definitions are well explained in the VDBench User Guide. Below is a quick explanation of each field:

  • hd, Host definition - Describes the host and how to connect
  • sd, Storage definition - Defines the LUNs you are going to use for load tests
  • wd, Workload definition - Describes the workload block size, read/write mix and the percent of each load
  • rd, Run definition, what workload to run, the devices to run against, how logan to run and how many treads to use

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback