Introduction to SQLIO & SQLIOSim & FIO. XLVIII Encontro da Comunidade SQLPort



Similar documents
Deployments and Tests in an iscsi SAN

Squeezing The Most Performance from your VMware-based SQL Server

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

DELL TM PowerEdge TM T Mailbox Resiliency Exchange 2010 Storage Solution

Using Iometer to Show Acceleration Benefits for VMware vsphere 5.5 with FlashSoft Software 3.7

Best Practices in SharePoint Deployment and Management

Storage and SQL Server capacity planning and configuration (SharePoint...

Choosing and Architecting Storage for Your Environment. Lucas Nguyen Technical Alliance Manager Mike DiPetrillo Specialist Systems Engineer

The 5-minute SQL Server Health Check

Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card

Atlantis USX Hyper- Converged Solution for Microsoft SQL 2014

HP ProLiant DL380p Gen mailbox 2GB mailbox resiliency Exchange 2010 storage solution

System Requirements Table of contents

Performance And Scalability In Oracle9i And SQL Server 2000

Virtualizing Microsoft SQL Server 2008 on the Hitachi Adaptable Modular Storage 2000 Family Using Microsoft Hyper-V

Diablo and VMware TM powering SQL Server TM in Virtual SAN TM. A Diablo Technologies Whitepaper. May 2015

RAP as a Service for. Team Foundation Server. Prerequisites

InfoScale Storage & Media Server Workloads

Enhancing SQL Server Performance

About Me: Brent Ozar. Perfmon and Profiler 101

10775 Administering Microsoft SQL Server Databases

How To Use A Microsoft Microsoft Database Server 2012

SafePeak Case Study: Large Microsoft SharePoint with SafePeak

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Technical Operations Enterprise Lab for a Large Storage Management Client

Best Practices: SQL Server 2012 on Violin

Windows 8 SMB 2.2 File Sharing Performance

Tuning Microsoft SQL Server for SharePoint. Daniel Glenn

Load DynamiX Storage Performance Validation: Fundamental to your Change Management Process

SQL Server Instance-Level Benchmarks with DVDStore

SharePoint Data Management and Scalability on Microsoft SQL Server

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Delivering Accelerated SQL Server Performance with OCZ s ZD-XL SQL Accelerator

Users are Complaining that the System is Slow What Should I Do Now? Part 1

Best Practices for Deploying SSDs in a Microsoft SQL Server 2008 OLTP Environment with Dell EqualLogic PS-Series Arrays

Administering Microsoft SQL Server 2012 Databases

The Revival of Direct Attached Storage for Oracle Databases

DATABASE. Pervasive PSQL Performance. Key Performance Features of Pervasive PSQL. Pervasive PSQL White Paper

VI Performance Monitoring

SharePoint 2010 Performance and Capacity Planning Best Practices

NIMSOFT SLM DATABASE

Violin Memory 7300 Flash Storage Platform Supports Multiple Primary Storage Workloads

Summary: This paper examines the performance of an XtremIO All Flash array in an I/O intensive BI environment.

Capacity planning for IBM Power Systems using LPAR2RRD.

Before attending this course, participants should have:

Symantec Endpoint Protection 11.0 Architecture, Sizing, and Performance Recommendations

SharePoint Capacity Planning Balancing Organiza,onal Requirements with Performance and Cost

Load Testing Analysis Services Gerhard Brückl

A Comparison of Oracle Performance on Physical and VMware Servers

Evaluating Network Attached Storage Units

inforouter V8.0 Server & Client Requirements

Microsoft Dynamics NAV 2015 Hardware and Server Requirements. Microsoft Dynamics NAV Windows Client Requirements

Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability

PERFORMANCE TUNING ORACLE RAC ON LINUX

Backup Exec Infrastructure Manager 12.5 FAQ

Deploying and Optimizing SQL Server for Virtual Machines

Using Synology SSD Technology to Enhance System Performance Synology Inc.

IPRO ecapture Performance Report using BlueArc Titan Network Storage System

One of the database administrators

BI on Cloud using SQL Server on IaaS

Philips IntelliSpace Critical Care and Anesthesia on VMware vsphere 5.1

Estimate Performance and Capacity Requirements for Workflow in SharePoint Server 2010

SQL Server Version. Supported for SC2012 RTM*** Not supported for SC2012 SP1*** SQL Server 2008 SP1, SP2, SP3

System Requirements for Microsoft Dynamics SL 2015

Microsoft SQL Server Guide. Best Practices and Backup Procedures

James Serra Sr BI Architect

Troubleshooting SQL Server Enterprise Geodatabase Performance Issues. Matthew Ziebarth and Ben Lin

Scaling out a SharePoint Farm and Configuring Network Load Balancing on the Web Servers. Steve Smith Combined Knowledge MVP SharePoint Server

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

ExecuTrain Course Outline MOC 6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

The Complete Performance Solution for Microsoft SQL Server

Throwing Hardware at SQL Server Performance problems?

A Comparison of Oracle Performance on Physical and VMware Servers

Understanding the Benefits of IBM SPSS Statistics Server

Everything a DBA Needs to Know About Storage

Bringing the Public Cloud to Your Data Center

NEXTGEN v5.8 HARDWARE VERIFICATION GUIDE CLIENT HOSTED OR THIRD PARTY SERVERS

The safer, easier way to help you pass any IT exams. Exam : E Backup Recovery - Avamar Expert Exam for Implementation Engineers.

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

VirtualCenter Database Performance for Microsoft SQL Server 2005 VirtualCenter 2.5

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

Comprehending the Tradeoffs between Deploying Oracle Database on RAID 5 and RAID 10 Storage Configurations. Database Solutions Engineering

SYSTEM SETUP FOR SPE PLATFORMS

Best practices for operational excellence (SharePoint Server 2010)

SQL Server Instance-Level Benchmarks with HammerDB

WITH A FUSION POWERED SQL SERVER 2014 IN-MEMORY OLTP DATABASE

Brocade and EMC Solution for Microsoft Hyper-V and SharePoint Clusters

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

Calsoft Webinar - Debunking QA myths for Flash- Based Arrays

Metalogix Replicator. Quick Start Guide. Publication Date: May 14, 2015

Benchmarking Microsoft SQL Server Using VMware ESX Server 3.5

Transcription:

Introduction to SQLIO & SQLIOSim & FIO XLVIII Encontro da Comunidade SQLPort

Email andre.batista@cross-join.com Twitter twitter.com/klunkysql Presenter: André Batista DBA - Crossjoin Solutions. PTSi PT Sistemas de Informação LinkedIn linkedin.com/in/andrebatista0 Thank you for being here today 18 st of March, 2014 Lisbon, Portugal

AGENDA overview 1 Backup Operation 2 SQLIOSim 3 SQLIO 4 A little bit of FIO 5 Links

WHAT!?!?!? BACKUP operation, is this real? ( on a production \ pre-production server )

Lets start a normal backup! 2GB database.

Backup finished in 2 minutes. Let s look at output stats! Not bad right?

Let s make a new Backup of Leadtrack in pre-production environment Should be 2 minutes in average, right? Let s start backup.

1 minute and still no output

2 minutes and just 10%?!

After 10 minutes it s just 40% completed what s happening?

Do we have a monkey switching diskettes on a floppy drive?

NO we have some problem on storage!!!

SQLIOSim tool to perform reliability and integrity tests on disks subsystems

SQLIOSim Overview SQLIOSim simulates tests of read, write, checkpoint, backup, sort, read-ahead activities on SQL Server. SQLIOSim is not a benchmark or a tool to determine I/O capacity of storage system!!! For this we should use SQLIO ( later on session ) SQLIOSim replaces the SQLIOStress utility, formely known as SQL70IOStress Starting with SQL Server 2008, SQLIOSim is included with the SQL Server product installation. SQLIOSim have 2 executable files, SQLIOSim.com (command-line tool) and SQLIOSim.exe ( graphical application ). Both executable files provide identical simulation capabilities.

SQLIOSim command-line tool http://support.microsoft.com/kb/ 231619 for command-line parameters. Located in BINN folder.

Possible to edit profiles for the SQLIOSim test, not on graphical application SQLIOSim command-line tool http://support.microsoft.com/kb/ 231619 for command-line parameters. Located in BINN folder.

SQLIOSim graphical application http://support.microsoft.com/kb/ 231619 for command-line parameters. Located in BINN folder.

SQLIOSim ( with SQLIOSimParser ) graphical application DEMO

Some warnings under stress. SQLIOSim understanding and interpreting results http://sqlblog.com/blogs/kevin_kline/archive/2007/06/28/understanding-sqliosim-output.aspx.

Example of a output file: SQLIOSim understanding and interpreting results If the average I/O duration exceeds the target I/O duration, SQLIOSim utility throttles the number of outstanding I/O operations, to decrease the load and to improve I/O Target IO Duration ( ms ) = 100 Average IO Duration ( ms ) = 26 Good http://sqlblog.com/blogs/kevin_kline/archive/2007/06/28/understanding-sqliosim-output.aspx.

Example of a output file: SQLIOSim understanding and interpreting results Running AVG. IO duration ( ms ) = 26, should be max 2ms http://sqlblog.com/blogs/kevin_kline/archive/2007/06/28/understanding-sqliosim-output.aspx.

Example of a output file: SQLIOSim understanding and interpreting results In this parameter we have to take into account multiple tests on different platforms with the same duration. Low values are great because the IO is not being "discarded, its completed in less than 15s. http://sqlblog.com/blogs/kevin_kline/archive/2007/06/28/understanding-sqliosim-output.aspx.

SQLIO tool to perform benchmark tests and to determine I/O capacity on the storage system

SQLIO Overview SQLIO should not have SQL in description, is not SQL related. SQLIO is useful to determine the hardware s I/O capacity and to identify performance-related issues before deploy. SQLIO just have a command-line tool ( there is no graphical tool available ) SQLIO is recommended to be executed against LUN s that will contain data-files and logfiles ( both user db s and tempdb ). We can use this SQLIO to test various I/O types and sizes against several disk subsystems ( DAS, NAS, SAN, ) SQLIO is not installed with SQL Server, we need to download it from Microsoft Download Center.

SQLIO modified folder http://www.microsoft.com/enus/download/details.aspx?id=20163

SQLIO command-line tool http://www.microsoft.com/enus/download/details.aspx?id=20163

SQLIO batch example -k[w] -t[2] -s[120] -d[f] -o[1,2,4, ] -f[random] Write I/O 2 threads Running for 120 seconds We going to use the file in parameter_file.txt Depth for outstanding I/O aka HBA queue depth Random operations, in this case random writes -b[64] I/O block size ( let s play with extents ) -B[H] Hardware buffer

SQLIO batch example -L[S] Gather latencies from SYSTEM -F[<param>] Specify location of parameter_file

SQLIO ( with Jonathan Kehayias PowerShell RegEx Parser ) command-line application DEMO

Example of a output file: SQLIO understanding and interpreting results Let s ETL this data on Jonathan Kehayias PowerShell parser

Example of a output file: SQLIO understanding and interpreting results IOPS spreadsheet

Example of a output file: SQLIO understanding and interpreting results MB/s spreadsheet

SQLIO understanding and interpreting results This output is only interested in the values of IOPS, MB \ sec and latency in storage. There are applications (Microsoft Dynamics, Microsoft CRM, Microsoft SharePoint, for example,...) that have recommended values for the infrastructure where they will be installed throughout the solution. This analysis becomes more complicated and should always be reviewed with the teams responsible (remember we are not testing SQL Server transactions, but the own storage metrics infrastructure ). Usually storage teams have reference values for each test and for each respective SAN to validate the values that we get are normal on the infrastructure. Each SAN has recommendations by the manufacturer and these values must be confronted with the results we get from the machine where it is being done the test... One of the problems we've ever come across, are with " broken-fibers " and that the problem is not the machine but the physical patch.

FIO I/O tool meant to be used both for benchmark and stress/hardware verification

FIO overview FIO is a open-source application, so we can customize for our specific environment. FIO compared to SQLIO and SQLIOSim, does not rely on zeroing the blocks of the test files. Most modern storage systems identify this pattern and compresses the IO generated. FIO uses random data to populate the datasets, so it is agnostic to zero-block detection. It has all of the capabilities of SQLIO tool. More information about FIO on links section.

How to use the SQLIOSim utility to simulate SQL Server activity on a disk subsystem ( Download + Configuration ) SQLIOSim links http://support.microsoft.com/kb/231619 SQLIOSIMParser http://sqliosimparser.codeplex.com/ The SQL Server Sqliosim Utility Robert Sheldon https://www.simple-talk.com/sql/database-administration/the-sql-server-sqliosim-utility/ Understanding SQLIOSIM Output Kevin Kline http://sqlblog.com/blogs/kevin_kline/archive/2007/06/28/understanding-sqliosim-output.aspx Interpreting Output from SQLIOSIM Kevin Kline http://sqlblog.com/blogs/kevin_kline/archive/2008/12/14/interpreting-output-from-sqliosim.aspx

Download SQLIO Disk Subsystem Benchmark Tool SQLIO links http://www.microsoft.com/en-us/download/details.aspx?id=20163 The SQL Server Sqlio Utility Robert Sheldon https://www.simple-talk.com/sql/database-administration/the-sql-server-sqlio-utility/ SQLIO Analyzer David Klee ( currently not working ) http://www.davidklee.net/tag/sqlio-analyzer/ SQLIO.rdl solution Allen McGuire http://allen-mcguire.blogspot.pt/search/label/sqlio Parsing SQLIO Output to Excel Charts using Regex in PowerShell Jonathan Kehayias Parse SQLIO Results to Excel Graphs with Powershell swaddc http://sqlblog.com/blogs/jonathan_kehayias/archive/2010/05/25/parsing-sqlio-output-to-excel-chartsusing-regex-in-powershell.aspx https://community.emc.com/people/swaddc/blog/2014/02/03/the-mtc-parse-sqlio-results-to-excelgraphs-with-powershell

FIO links FIO main page http://linux.die.net/man/1/fio FIO project http://freecode.com/projects/fio FIO Parser Khailey https://github.com/khailey/fio_scripts SQLIO vs FIO http://blog.delphix.com/uday/2012/09/19/sqlio_fio/

Questions Please don t hesitate!

Email andre.batista@cross-join.com Twitter twitter.com/klunkysql Presenter: André Batista DBA - Crossjoin Solutions. PTSi PT Sistemas de Informação LinkedIn linkedin.com/in/andrebatista0 for your precious time and attention 18 st of March, 2014 Lisbon, Portugal