![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||
Solution Type Technical Instruction Sure Solution 2383371.1 : How to Setup and Run vdbench
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
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 GoalAccelerate getting vdbench running using Linux and Windows systems as drivers and controller SolutionPerform the following steps to get vdbench up and running:
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:
Attachments This solution has no attachment |
||||||||||||||
|