42
Copyright © 2015 SanDisk. All rights reserved. c Consolidation on Flash: Hardware for Nothing, Get Your Flash for Free I want my SSDs… Jimmy May, MCM SQL Server Solutions Architect [email protected] @ aspiringgeek

Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Embed Size (px)

Citation preview

Page 1: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 1c

Consolidation on Flash:Hardware for Nothing, Get Your Flash for FreeI want my SSDs…

Jimmy May, MCMSQL Server Solutions [email protected]@aspiringgeek

Page 2: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 2

Forward-Looking StatementsDuring our meeting today we will make forward-looking statements.

Any statement that refers to expectations, projections or other characterizations of future events or circumstances is a forward-looking statement, including those relating to products and their anticipated availability, capacities, pricing, capabilities, performance and compatibility, and benefits to customers.

Actual results may differ materially from those expressed in these forward-looking statements due to a number of risks and uncertainties, including the factors detailed under the caption “Risk Factors” and elsewhere in the documents we file from time to time with the SEC, including our annual and quarterly reports.

We undertake no obligation to update these forward-looking statements, which speak only as of the date hereof.

Page 3: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 3

Jimmy May, MCM• SanDisk SQL Server Solutions Architect

Formerly:• Sr. Program Manager, SQL CAT• SQL Server Customer Advisory Team• MSIT Principal Architect: Database

Microsoft Certified Master: SQL Server (2009)MS IT Gold Star Recipient (2008) Microsoft Oracle Center of Excellence (2008)SQL Server MVP Nominee (2006)Indiana Windows User Group www.iwug.net

• Founder & Board of DirectorsIndianapolis Professional Association for SQL Server www.indypass.org

• Founder & Member of Executive CommitteeSQL Server Pros: Founder & Visionary-in-ChiefSQL Innovator Award Recipient (2006)

• Contest sponsored in part by MicrosoftFormerly Chief Database Architect for high-throughput OLTP VLDB at ExactTarget (recent IPO)Senior Database Administrator for OpenGlobe/Escientwww.twitter.com/aspiringgeek [email protected] [email protected] http://sqlblog.com/blogs/jimmy_may

Bio

Page 4: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 4Data Propulsion Laboratory — DPL

C:\>sqlservr.exe /faster

Page 5: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 5

Transforming Data Center Economics

SanDisk Flash isn’t transformative merely because of performance — The economics are disruptive

SQL Server Licensing/Hardware scenarios

Hardware for Nothing, Get Your Flash for Free

Page 6: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 6

Consolidation on FlashSQL Server Licensing is now core-based

• Licensing costs are many times more the cost of hardware—far exceeding• Underutilized CPUs aren’t doing nothing—they’re burning dollars

I/O is the perf bottleneck in most SQL Server environments• Typically, consolidation on flash moves the bottleneck from the storage layer to the CPU—where it

belongs

This presentation documents lab work & real-life case studies in which:

• These results are not exceptional; indeed, they are routine outcomes• Consolidating on flash has saved customers hundreds of thousands to millions of dollars • ...& provided superior performance

Page 7: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 7

SQL 2005 EoS—this month!www.microsoft.com/en-us/server-cloud/products/sql-server-2005http://bit.ly/1PI8GRN

Licensing is complex—and expensive3x performance on flash vs. spinning mediaConsolidation on flash:Hardware for Nothing, Flash for Free

http://bit.ly/1RChgDK

Consolidation

Page 8: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 8

I/O Blender EffectImagine SQL Server log files or data warehouse workloads with sequential readsNow run several of these in VMs on a hostAt the hypervisor and storage level:

• The I/O from those VMs gets mixed up – like it was run through a blender• It looks like random I/O, not like the sequential I/O it started as

Storage performance vs. I/O blender limits workload density

Page 9: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 9

SQL Server Common I/O Sizes: I/O Blender Demo

Page 10: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 10

SQL Server Licensing Labyrinth

Page 11: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 11

Licensing Variables• Cores & Sockets• SQL Server Edition• Virtualized vs. Bare Metal• Host vs. Guest• Software Assurance (SA) or not• Active or Passive• Legacy Licensing• Is your sales rep under quota & is it near end-of-quarter or better yet near end-of-

fiscal year?• Which highly-trained professional sales rep you talk to

• Ask 2, get 3 opinions

Page 12: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 12

What if I told you...

...the only good I/O is the one for which you do not ask?

Page 13: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 13

The best I/O is the one you don’t have to do. —Gene Amdahl

Author of Amdahl's Law

Page 14: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 14

Caching Algorithms: Your Experience May Vary...

Page 15: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 15

SQL Workload Consolidation: Do More—Reliably and Consistently

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 250

10

20

30

40

50

60

70

80

90

100FlashTxns (x1000)

SpindlesTxns (x1000)

FlashSoft CachingTxns (x1000)

VM Count

Page 16: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 16

SQL Workload Consolidation: Save More

Assume consolidating 21 workloads (same as we tested)If one host can support all 21 workloads,

• Repurpose/retire two hosts, or don’t buy them in the first place.• You don’t need SQL Server licenses for those two hosts.

Do the math:• Each host: 2-sockets, 14 cores/CPU = 28 cores (same as what we tested)• $6,874/core for SQL 2014 EE (full price, no discounts, no SA)• 28 * $6,874 = $192,472 per host (for SQL EE licenses)• ~$400,000 savings by eliminating the need to license 2 hosts

Better performance (free lunch!)

Page 17: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 17

Why Is This Good?Saving $400k is obviously good for your organization.Your org/team/customers are looking for the best solution.

• You win raving fans.

Redirect budgeted savings to:• Higher-margin products and services• Additional projects and equipment (such as more SanDisk flash products)

Be the hero – Help yourself and your company, customers, & users invest their savings

Page 18: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 18

Data Center Economics

SanDisk Flash isn’t transformative merely because of performance — The economics are disruptive

SQL Server Licensing/Hardware scenarios— Tier 1— Tier 2

Hardware for Nothing, Get Your Flash for Free

Page 19: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 19

AlwaysOn AGs Readable Secondaries3 Sustained Simultaneous Workstreams Scenario

⁻ 2 HP DL580 4-socket servers, 64 logical cores per server⁻ Highly transactional TPCC-like environment – 1,000,000 New Orders per Minute⁻ 4 AlwaysOn Ags in synchronous availability mode, no queuing ⁻ Database backups at 4GB/s⁻ I/O Latency: < 0.0ms, i.e., µs range

Recommended Configuration⁻ Readable Secondary used for backup stream⁻ This requires licensing all cores on both servers

Configuration on SanDisk Fusion ioMemory Flash⁻ Backup offloaded from Secondary, so the Read-Only bit can be turned off⁻ This requires only one server to be licensed

SQL Server License Savings:⁻ 32 EE licenses (64 cores)

• @$13,473.00 USD = $ 431,136 (non-SA)• @$20,209.00 USD = $ 646,688 (SA)

Page 20: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 21

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 21: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 22

The Simple Upgrade Case Study

22

Scenario⁻ Four SQL Server instances⁻ Windows Server 2003 & SQL Server 2005 EOL approaching⁻ Four physical servers⁻ SAN attached

Solution₋ Four SQL Server instances₋ Windows Server 2012 R2 + SQL Server 2014 ₋ Three physical servers ₋ SanDisk PCIe Fusion ioMemory Flash ₋ ...with lots of compute & storage headroom

Page 22: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 23

The Simple Upgrade (cont.)

23

Consider:⁻ Dual socket quad-core to E5-2699 v3 octo-core, 128GB RAM @$9,943.50⁻ Each 2-core SQL Server EE license @$13,472.50

• 32 logical cores per server >> 16 SQL licenses per server >> $215,560.00⁻ Fusion ioMemory SX 6.4TB card @$39,779

Solution⁻ Classic hardware upgrade:

• 4 servers, each requiring 16 SQL licenses• 4 * ($9,944 + $215,560) = $ 902,016

⁻ SanDisk PCIe Application Accelerator solution:• 3 servers , again each requiring 16 SQL licenses + 3 Fusion ioMemory cards• 3 x ($9,944 + $215,560 + $39,779) = $ 795,849

⁻ Δ: Savings of $ 106,167⁻ …with lots of compute & storage headroom⁻ …enough to buy two more servers & Fusion ioMemory cards ⁻ And a leftover SAN!

Page 23: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 24

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 24: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 25

36U 8U288 disks 8 Fusion ioMemory internal PCIe cards96 cores 36 cores

Δ 60 cores x $13,472.50/2-core EE licenses = $404,175…again, with lots of compute & storage headroom

Source: Less is More at Intelliflo http://itblog.sandisk.com/less-is-more-at-intelliflo

Intelliflo

Page 25: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 26

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 26: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 27

THE CHALLENGE• Reduce power, cooling, and footprint• Near real time reporting for 15,000

users running up to 1.2 million queries per month

• Meet failover requirements

RESULTS• 3x more concurrent users• 3x more queries• 2x greater workload• Eliminated maintenance overhead for 27

disk arrays and over 400 disks• 16:1 footprint consolidation• 1/16th power and cooling

USAF Financial Data WarehouseTEKSOUTH

Source: Case Study - TekSouth Fights US Air Force Datacenter Sprawl with ioMemory; http://www.fusionio.com/case-studies/teksouth

US Air Force & TEKSOUTH

Page 27: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 28

“A single server with ioMemory doubled the

workload capability of a 3-server, 21-disk array-

based system”Mike Rhodes

VP of Operations

v

US Air Force System Changes (cont.)Before and After

Source: Case Study - TekSouth Fights US Air Force Datacenter Sprawl with ioMemory; http://www.fusionio.com/case-studies/teksouth

Page 28: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 29

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 29: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 30

Data Center Scale: Literally saving millionsScenario

– Windows Server 2003 & SQL Server 2005 EOL approaching– SAN-attached – Core SQL Server EE licenses @$13,472.50 each– 1,500 servers

Solution– Windows Server 2012 R2 leveraging Hyper-V– SQL Server 2014 leveraging AlwaysOn– Fusion ioMemory cards– 150 servers– Hundreds of fewer servers– Thousands of fewer licenses– Millions of dollars saved– ...with lots of compute & storage headroom– And leftover SANs & shelves & fiber

Page 30: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 31

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 31: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 32

<your company name here>Scenario

– Windows Server 2003 & SQL Server 2005 EoS approaching– New hardware likely to accompany software upgrades – SQL Server upgrades require per core licensing– 2-Core SQL Server EE license MSRP $13,472.50 (~$6,500/core)

Solution– Contemporary multi-core servers– Windows Server 2012 R2 leveraging Hyper-V– SQL Server 2014/2016 leveraging AlwaysOn, In-Memory, Columnstore, etc.– SanDisk Flash options:

• SanDisk Fusion ioMemory cards• SanDisk front-side SSDs• SanDisk FlashSoft caching software, SanDisk ION Accelerator™ shared storage, etc.

Page 32: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 33

Hardware for Nothing, Get Your Flash for Free I want my...

I want my... I want my SSDs!

Page 33: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 34

Flash: Don’t be this guy.

Hat tip to Bob Pusateri (@SQLBob) via Jason Horner (@jasonhorner) & Argenis Fernandez (@DBArgenis )

Page 34: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 35

Hardware for Nothing, Get Your Flash for Free

Challenges:– How to handle millions of IOPs/device, GBs of I/O throughput, µsec latency– What to do with the leftover spinning media– What to do with the leftover budget?

Scenarios such as described here aren’t unusualThey’re typical, & they’re becoming more-&-more common

I reiterate: Actual customers today are leveraging consolidation & literally saving hundreds of thousands of dollars per SQL Server instance

Takeaways

Page 35: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 36

Call to ActionConsider SanDisk flash to maximize your SQL Server investment

Do you qualify for our free PCIe Fusion ioMemory trial?www.sandisk.com/sql-hero-poc

Subscribe to the SanDisk IT blog to keep up-to-datehttp://itblog.sandisk.com

Download SQL Server 2016 RC2See what it can do for you & your customerswww.microsoft.com/sql

Page 36: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 37

See for yourself…

Page 37: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 38

SanDisk Flash

SanDisk Optimus MAXwww.sandisk.com/business/datacenter/products/flash-devices/ssds/sas-ssd/optimus

SanDisk Fusion ioMemory SX350www.sandisk.com/business/datacenter/products/flash-devices/pcie-flash/sx350

Page 38: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 39

Entire database on in-server Flash

Parts of database on in-server Flash

(e.g., “hot files” or tempdb)

Cache data read from SAN on in-server Flash

AlwaysOn high availability fail-over Leverage ION Appliancesas shared storage for FCI

FlashSoft®

Virtualized database serversfor mixed workloads

SQL Server 2014 Architectural Configurations

Fast Track Data Warehouse Reference Architectures (FTDWRA)

Page 39: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 40

Thank You!

Page 40: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 41

SanDisk SQL Server Solutions

IBM

DELL

CiscoHP

Lenovo

Available today from your preferred server vendors

Fujitsu Supermicro

Page 41: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 44

Lenovo System x3650 (single-socket)SanDisk Optimus Ascend SSDs5TB Warehouse

402 Queries/Hr/TB (Columnstore)

Fast Track Data Warehouse Reference Architectures (DWFTRA)

Lenovo System x3850SanDisk Fusion ioMemory95TB Warehouse

3,417 Queries/Hr/TB (Columnstore)

Learn more:https://www.microsoft.com/en-us/server-cloud/data-warehouse-fast-track.aspxhttp://datawarehouse.sandisk.com

Page 42: Consolidation on Flash- Hardware for Nothing, Get Your Flash for Free (I want my SSDs!)

Copyright © 2015 SanDisk. All rights reserved. 45

#2014-003 #2014-003 #2014-002 #2014-009 #2014-0320

1,000

2,000

3,000

4,000

5,000

6,000

7,000

8,000

9,000

10,000

I/O Throughput

RS Scan RatePhysical(MB/sec)

CS Scan RatePhysical(MB/sec)

#2014-003 #2014-003 #2014-002 #2014-009 #2014-0320

500

1,000

1,500

2,000

2,500

3,000

Query Throughput

RS MeasuredThruput(Queries/Hr/TB)

CS MeasuredThruput(Queries/Hr/TB)

Row Store vs. Columnstore: I/O vs. Query Throughput

Copyright © 2015 SanDisk. All rights reserved.