Virtual SQL Servers. Actual Performance. 2016

Similar documents
Thank you Sponsors! Please visit the sponsors and enter their end-of-day raffles.

davidklee.net gplus.to/kleegeek linked.com/a/davidaklee

It s. slow! SQL Saturday. Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1. Database. Firewall Load Balancer.

davidklee.net heraflux.com linkedin.com/in/davidaklee

Infrastructure Tuning

Squeezing Top Performance From Your Virtualized SQL Server

Squeezing Top Performance from your Virtualized SQL Server. David Klee, Group Principal and Practice Lead. Lincoln SQL Server User Group,

You know us individually, but do you know Linchpin People?

You know us individually, but do you know Linchpin People?

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1

SQL Saturday David Klee

NEC Express5800 A2040b 22TB Data Warehouse Fast Track. Reference Architecture with SW mirrored HGST FlashMAX III

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure

Demystifying Storage Area Networks. Michael Wells Microsoft Application Solutions Specialist EMC Corporation

Best Practices for Setting BIOS Parameters for Performance

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

Accelerate Applications Using EqualLogic Arrays with directcache

HIGH PERFORMANCE SANLESS CLUSTERING THE POWER OF FUSION-IO THE PROTECTION OF SIOS

Microsoft SQL Server in a VMware Environment on Dell PowerEdge R810 Servers and Dell EqualLogic Storage

Identifying Performance Bottlenecks with Real- World Applications and Flash-Based Storage

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

BlackBerry AtHoc Networked Crisis Communication Capacity Planning Guidelines. AtHoc SMS Codes

Microsoft SQL Server 2012 Fast Track Reference Architecture Using PowerEdge R720 and Compellent SC8000

NAS for Server Virtualization Dennis Chapman Senior Technical Director NetApp

Deploy a High-Performance Database Solution: Cisco UCS B420 M4 Blade Server with Fusion iomemory PX600 Using Oracle Database 12c

Cisco HyperFlex All-Flash Systems for Oracle Real Application Clusters Reference Architecture

PARDA: Proportional Allocation of Resources for Distributed Storage Access

PRESERVE DATABASE PERFORMANCE WHEN RUNNING MIXED WORKLOADS

Vblock Architecture. Andrew Smallridge DC Technology Solutions Architect

A Kaminario Reference Architecture: Reference Architecture for Running SQL Server on ESXi

Pivot3 Acuity with Microsoft SQL Server Reference Architecture

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

LATEST INTEL TECHNOLOGIES POWER NEW PERFORMANCE LEVELS ON VMWARE VSAN

FlashStack 70TB Solution with Cisco UCS and Pure Storage FlashArray

TPC-E testing of Microsoft SQL Server 2016 on Dell EMC PowerEdge R830 Server and Dell EMC SC9000 Storage

The Impact of SSD Selection on SQL Server Performance. Solution Brief. Understanding the differences in NVMe and SATA SSD throughput

Microsoft SQL Server 2012 Fast Track Reference Configuration Using PowerEdge R720 and EqualLogic PS6110XV Arrays

The Oracle Database Appliance I/O and Performance Architecture

W H I T E P A P E R. What s New in VMware vsphere 4: Performance Enhancements

Demartek September Intel 10GbE Adapter Performance Evaluation for FCoE and iscsi. Introduction. Evaluation Environment. Evaluation Summary

Oracle Performance on M5000 with F20 Flash Cache. Benchmark Report September 2011

REFERENCE ARCHITECTURE Microsoft SQL Server 2016 Data Warehouse Fast Track. FlashStack 70TB Solution with Cisco UCS and Pure Storage FlashArray//X

Performance Testing of SQL Server on Kaminario K2 Storage

HPE ProLiant DL580 Gen10 and Ultrastar SS300 SSD 195TB Microsoft SQL Server Data Warehouse Fast Track Reference Architecture

Field Testing Buffer Pool Extension and In-Memory OLTP Features in SQL Server 2014

EsgynDB Enterprise 2.0 Platform Reference Architecture

Extremely Fast Distributed Storage for Cloud Service Providers

VMWare Horizon View 6 VDI Scalability Testing on Cisco 240c M4 HyperFlex Cluster System

Virtualization and the Metrics of Performance & Capacity Management

Upgrade to Microsoft SQL Server 2016 with Dell EMC Infrastructure

Design a Remote-Office or Branch-Office Data Center with Cisco UCS Mini

Functional Testing of SQL Server on Kaminario K2 Storage

Getting the most from your SAN File and Filegroup design patterns. Stephen Archbold

DataON and Intel Select Hyper-Converged Infrastructure (HCI) Maximizes IOPS Performance for Windows Server Software-Defined Storage

Microsoft Applications on Nutanix

PERFORMANCE STUDY OCTOBER 2017 ORACLE MONSTER VIRTUAL MACHINE PERFORMANCE. VMware vsphere 6.5

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Virtualized SQL Server Performance and Scaling on Dell EMC XC Series Web-Scale Hyper-converged Appliances Powered by Nutanix Software

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Hyper-V Performance Troubleshooting

Cisco HyperFlex Solutions

Dell PowerEdge R720xd with PERC H710P: A Balanced Configuration for Microsoft Exchange 2010 Solutions

Implementing SQL Server 2016 with Microsoft Storage Spaces Direct on Dell EMC PowerEdge R730xd

IOmark-VM. VMware VSAN Intel Servers + VMware VSAN Storage SW Test Report: VM-HC a Test Report Date: 16, August

SQL Server Virtualization 201

FAST SQL SERVER BACKUP AND RESTORE

Design a Remote-Office or Branch-Office Data Center with Cisco UCS Mini

Overview and Current Topics in Solid State Storage

Evaluation of Chelsio Terminator 6 (T6) Unified Wire Adapter iscsi Offload

Memory-Based Cloud Architectures

Virtualizing Oracle on VMware

HP ProLiant DL380 Gen8 and HP PCle LE Workload Accelerator 28TB/45TB Data Warehouse Fast Track Reference Architecture

Choosing Hardware and Operating Systems for MySQL. Apr 15, 2009 O'Reilly MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc

Overview and Current Topics in Solid State Storage

Independent consultant. (Ex-) Oracle ACE Director. Member of OakTable Network. Performance Troubleshooting In-house workshops

Configuration Maximums VMware Infrastructure 3: ESX Server 3.5 Update 2, ESX Server 3i version 3.5 Update 2, VirtualCenter 2.

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme


Copyright 2012 EMC Corporation. All rights reserved.

A Comparative Study of Microsoft Exchange 2010 on Dell PowerEdge R720xd with Exchange 2007 on Dell PowerEdge R510

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Veritas NetBackup on Cisco UCS S3260 Storage Server

Performance Testing December 16, 2017

Assessing performance in HP LeftHand SANs

Database Architecture 2 & Storage. Instructor: Matei Zaharia cs245.stanford.edu

Verron Martina vspecialist. Copyright 2012 EMC Corporation. All rights reserved.

WHITE PAPER. Optimizing Virtual Platform Disk Performance

SQL Server Then and Now: Changing the State of Long-held Beliefs. Maxwell Myrick Managing Partner SQLHA LLC

Lenovo Database Configuration

Performance Sentry VM Provider Objects April 11, 2012

Cisco UCS SmartStack for Microsoft SQL Server 2014 with VMware: Reference Architecture

EMC MISSION CRITICAL INFRASTRUCTURE FOR MICROSOFT SQL SERVER 2012

Moneta: A High-Performance Storage Architecture for Next-generation, Non-volatile Memories

AN ELASTIC MULTI-CORE ALLOCATION MECHANISM FOR DATABASE SYSTEMS

Virtualizing SQL Server 2008 Using EMC VNX Series and VMware vsphere 4.1. Reference Architecture

How to Pick SQL Server Hardware

RACKSPACE ONMETAL I/O V2 OUTPERFORMS AMAZON EC2 BY UP TO 2X IN BENCHMARK TESTING

The advantages of architecting an open iscsi SAN

SQL Server 2016 on Dell EMC XC Series Reference Architecture

SQL Server Performance on AWS. October 2018

Transcription:

@kleegeek davidklee.net heraflux.com linkedin.com/in/davidaklee Specialties / Focus Areas / Passions: Performance Tuning & Troubleshooting Virtualization Cloud Enablement Infrastructure Architecture Health & Efficiency Capacity Management Founder & Chief Architect Heraflux Technologies 2 Do not reproduce this document in any way. 1

What is Virtualization? Resources and queues Physical servers Storage and interconnects architecture Inside the Heraflux Technologies 3 Added layer Physical resources Resource queues Very small queue delays When done right Shared everything architecture Heraflux Technologies 4 Do not reproduce this document in any way. 2

16 vcpu 128 GB vram 8 vcpu 64 GB vram 2 vcpu 16 GB vram 2 vcpu 16 GB vram V I R T U A L I Z A T I O N 2 vcpu 16 GB vram 2 vcpu 16 GB vram 2 vcpu 16 GB vram 2 vcpu 16 GB vram 150 GHz CPU 4 TB Memory 4x10GbE Network 20 TB Tier 1 Storage 40 TB Tier 2 Storage Heraflux Technologies 5 TASK TASK TASK TASK TASK H y p e r v i s o r CPU Scheduler CPU Scheduling Queue Memory Allocator Mem Allocation Queue Disk Scheduler Disk Scheduling Queue Network Scheduler Network Scheduling Queue CPU Execution Mem R / W Disk R / W Network Tran / Rec Heraflux Technologies 6 Do not reproduce this document in any way. 3

Hard Limits (Resources) Soft Limits (Queues) Finite! Measurable but not finite Single compute node hardware Memory oversubscription Total cluster compute capacity CPU scheduler contention Storage speed (IOPs, throughput) Shared resource utilization maximums Noisy Neighbors Interconnect path speed Heraflux Technologies 7 7 7 7 Application SQL Server DB s t c e n n o c r e t I n SQL Server Instance Operating System Virtualization Physical Server Storage g in r k o t w e N Heraflux Technologies 8 Do not reproduce this document in any way. 4

Heraflux Technologies 9 Most shared Most critical Most complex Most problematic Slowest piece of the stack Many individual points of contention Heraflux Technologies 10 Do not reproduce this document in any way. 5

LUN T1 Controller LUN T2 LUN Controller Disk Pool LUN T3 Heraflux Technologies 11 Test raw performance SQLIO Deprecated! DiskSpd Batch heraflux.com/go/diskspd Collect metrics: I/Osper second (IOPs) Latency (ms) Throughput (MB/s) IOps 70000.00 60000.00 50000.00 40000.00 30000.00 20000.00 10000.00 IOps Per Operations per Thread Sequential Read Random Read Sequential Write Random Write 0.00 1 2 4 8 16 32 64 128 Thread Intensity Heraflux Technologies 12 Do not reproduce this document in any way. 6

Heraflux Technologies 13 (Img src: http://www.asacomputers.com/2u-server-sandy-bridge.html) 14 Do not reproduce this document in any way. 7

Manufacturer Intel AMD Sockets Cores Speed vs. GHz Logical vs. Physical Hyperthreading Heraflux Technologies 15 CPU CPU CPU CPU Memory (Img src: http://frankdenneman.nl/2011/01/05/amd-magny-cours-and-esx/) Heraflux Technologies 16 Do not reproduce this document in any way. 8

Virtual SQL Servers. Actual Performance. 2016 (Img src: http://www.learnyourtech.com/hardware/) Heraflux Technologies 17 Sample Cisco UCS memory config Slot & chip placement Heraflux Technologies (Src: http://www.cisco.com/c/dam/en/us/products/collateral/servers-unified-computing/ucs-b-series-blade-servers/b200m4-specsheet.pdf page 44) Do not reproduce this document in any way. 18 9

Heraflux Technologies 19 Resource limits are easy to detect / work around Queue contention much harder Time in queue = time lost from Silent performance killer Everything in a must be scheduled including idle resources Queue processing is not always FIFO Heraflux Technologies 20 Do not reproduce this document in any way. 10

Get physical machine configuration Try to fit inside one NUMA node Otherwise, balance across number of NUMA nodes Test configurations for best results Heraflux Technologies 21 Example: 16 vcpu What s better? 2 vsocket x 8 vcore? 4 vsocket x 4 vcore? 8 vsocket x 2 vcore? Varies by workload, hardware Test it for yourself! 900000 800000 700000 600000 in m / s 500000 n tio c s a400000 n ra T 300000 200000 100000 vnuma SQL Server Scalability - 16 vcpus - HammerDB 0 8 16 64 256 Concurrent HammerDB Users 4socket x 4CPU 8socket x 2CPU 2socket x 8CPU Heraflux Technologies 22 Do not reproduce this document in any way. 11

1 vcputo 1 pcpu is a poor recommendation Queues Ready Time Co-Stop Ex: Client environment 74 running s s @ 2-8 vcpu 72 total pcores Fantastic performance Heraflux Technologies 23 Heraflux Technologies 24 Do not reproduce this document in any way. 12

Heraflux Technologies 25 Heraflux Technologies 26 Do not reproduce this document in any way. 13

Right amount of vcpu and vram resources Physical world = Size for end of life Virtual world = Size for right now Idle vcpus will slow application s performance Repeat right-sizing analysis routinely Heraflux Technologies 27 Heraflux Technologies 28 Do not reproduce this document in any way. 14

Virtual disks whenever possible Multiple SCSI controllers ware PVSCSI Spread out the workload Heraflux Technologies 29 C: -Operating System D: -SQL Server Instance Home E: -System Databases (master, model, msdb) * F: -User Database Data (1 of X) G: -User Database Log (1 of Y) H: -TempDB Y: -Windows Page file ** Z: - Backups Adjust as necessary (but stay standardized) Heraflux Technologies 30 Do not reproduce this document in any way. 15

64KB NTFS block sizes Set power settings to High Performance (CPU-Z) Set antivirus exclusions for SQL Server (tinyurl.com/sqlav) Ongoing OS-level performance metric collection No greater than five minute interval Windows Perfmon, Microsoft SCOM, or other third-party utility heraflux.com/go/perfmon Heraflux Technologies 31 Goal: Maximize performance while reducing resource scheduling Parallelizable workloads Determine how parallel the workload is Set MaxDOP= vnuma node core count (?) Cost threshold for parallelism = Not default Jonathan Kehayias Tuning CTOP from Plan Cache bit.ly/1rts9ux Heraflux Technologies 32 Do not reproduce this document in any way. 16

Spread out the I/O File groups, data files, partitions Parallelism with multiple active storage paths Reduce I/O Table / index compression vs. SAN compression In-memory constructs More RAM SSD read / write caching Faster I/O All flash SAN And then clean up bad schemas & queries! Heraflux Technologies 33 Virtualization works. Equivalent performance if done right Efficiency in data handling Heraflux Technologies 34 Do not reproduce this document in any way. 17

@kleegeek davidklee.net heraflux.com linkedin.com/in/davidaklee Heraflux Technologies 35 Do not reproduce this document in any way. 18