EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

18
1 © Copyright 2012 EMC Corporation. All rights reserved. EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache EMC VFCache, EMC Symmetrix VMAX 10K, EMC FAST VP, SQL Server AlwaysOn Availability Groups, VMware vSphere EMC Solutions Group Strategic Solutions Engineering

description

EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache. EMC VFCache, EMC Symmetrix VMAX 10K, EMC FAST VP, SQL Server AlwaysOn Availability Groups, VMware vSphere. EMC Solutions Group Strategic Solutions Engineering. Content. Architecture Design - PowerPoint PPT Presentation

Transcript of EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

Page 1: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

1© Copyright 2012 EMC Corporation. All rights reserved.

EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCacheEMC VFCache, EMC Symmetrix VMAX 10K, EMC FAST VP, SQL Server AlwaysOn Availability Groups, VMware vSphere

EMC Solutions Group Strategic Solutions Engineering

Page 2: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

2© Copyright 2012 EMC Corporation. All rights reserved.

Content

EMC Solutions Group Strategic Solutions Engineering

• Architecture Design • Configure VFCache for a Virtual Machine• Enable VFCache• Performance Impact of VFCache on a system

with storage optimized for the SQL workload• Performance Impact of VFCache on a system

with storage bottleneck• Q&A

Page 3: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

3© Copyright 2012 EMC Corporation. All rights reserved.

Architecture Design

Page 4: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

AlwaysOn Replication

VFCache

Page 5: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

Storage Design for SQL Server

Page 6: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

6© Copyright 2012 EMC Corporation. All rights reserved.

Configure VFCache for VM

VFCache-config.mp4

Page 7: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

7© Copyright 2012 EMC Corporation. All rights reserved.

Test Results:

Page 8: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

8© Copyright 2012 EMC Corporation. All rights reserved.

Test Results— Enabling VFCache

1 VFCache LUN: 278 GB

16 data LUN:1.8 TB

Time to reach thesteady state:

1 hour16:

2016:

2516:

3016:

5517:

0017:

0517:

1517:

2017:

3017:

3517:

4017:

5017:

5518:

0018:

1018:

150

5,000

10,000

15,000

20,000

0

2

4

6

8

10

12

Read/write IOPS change after enabling VFCache on system with storage bottle-

neck

IOPS latency ( ms)

IOPS

late

ncy

(ms)

Enable VFCacheSteady state

Page 9: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

9© Copyright 2012 EMC Corporation. All rights reserved.

Latency (ms)VF Cache enabled?

No YesRead 4 2write 1 2

Transaction 4 2

Host IOPS VMAX 10K front end IOPS TPS0

5000

10000

15000

20000

25000

30000

23938 24698

2193

23916

14987

2585

VFCache impact on system with optimized storage

Before enable VF cache After VFCache stablized

Same workload before/after

Page 10: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

10© Copyright 2012 EMC Corporation. All rights reserved.

host CPU ESX CPU62.00%

64.00%

66.00%

68.00%

70.00%

72.00%

74.00%

76.00%

78.00%

80.00%

67.45%

77.80%

67.85%

78.20%

CPU usage before/after VFCache on system with optimized storage

before enable VFCache after VFCache stablized

• The CPU usage was very similar before and after VFCache was enabled, indicating that the VFCache had minimal impact on the CPU usage.

Page 11: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

11© Copyright 2012 EMC Corporation. All rights reserved.

Host IOPS without VFCache

VMAX 10k IOPS without VFCache

Host IOPS with VFCache

VMAX 10k IOPS with VFCache

0

5,000

10,000

15,000

20,000

25,000

30,000

21,964 22,429 21,930

12,409

1,974 2,269 1,986

2,578

Read/Write ratio on system with optimized storage

read/write ratiowrite read

92/8 92/8 92/8

81/19

Same workload before/after

Page 12: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

12© Copyright 2012 EMC Corporation. All rights reserved.

Broke

r Volu

me

Custo

mer Pos

ition

Market

Feed

Market

Watch

Securi

ty Deta

il

Trade

Look

up

Trade

Order

Trade

Result

Trade

Statu

s

Trade

Update

0.00

0.10

0.20

0.30

0.40

0.21

0.25

0.130.15

Average SQL Server response time on system with op-timized storage

without VFCache with VFCache

Aver

age

resp

onse

tim

e( s

ec)

Page 13: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

13© Copyright 2012 EMC Corporation. All rights reserved.

Latency (ms)VF Cache enabled?No Yes

Read 11 4write 1 3

Transaction 10 4

Host IOPS VMAX 10K front end IOPS TPS0

5000

10000

15000

20000

25000

1412315475

1225

23602

13798

2229

VFCache impact on storage system with storage bottleneck

Before enable VF cache After VFCache stablized

Page 14: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

14© Copyright 2012 EMC Corporation. All rights reserved.

host CPU ESX CPU0.00%

10.00%

20.00%

30.00%

40.00%

50.00%

60.00%

70.00%

15.50%

24.63%

51.43%

65.57%

CPU usage before/after enabling VFCache on system with storage bottleneck

before enable VFCache after VFCache stablized

• The CPU usage was increased about three times after VFCache was enabled. Because the SQL Server transaction increased, the increase of CPU usage was expected.

Page 15: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

15© Copyright 2012 EMC Corporation. All rights reserved.

Host IOPS without VFCache

VMAX 10k IOPS without VFCache

Host IOPS with VFCache

VMAX 10k IOPS with VFCache

0

5,000

10,000

15,000

20,000

25,000

12,316 13,537

21,379

11,564

1,8071,938

2,223

2,234

Read/Write ratio on system with storage bottleneck

write read

90/10

84/16

Read/write ratio

87/13 87/13

Same workload before/after

Page 16: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

16© Copyright 2012 EMC Corporation. All rights reserved.

Broke

r Volu

me

Custo

mer Po

sition

Market

Feed

Market

Watch

Securi

ty Deta

il

Trade

Look

up

Trade

Order

Trade

Result

Trade

Statu

s

Trade

Update

0.00

0.10

0.20

0.30

0.40

0.50

0.60

0.70

0.80

0.63

0.70

0.340.39

Average SQL Server Response time on system with storage bottleneck

without VFCache with VFCache

seco

nd

Page 17: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

17© Copyright 2012 EMC Corporation. All rights reserved.

Summary VFCache is easy and straightforward to setup, configure, manage and

monitor in VShpere environment. With the storage system optimized for SQL Server load, VFCache

offloads read I/O from the storage while reducing the disk latency. With storage optimized for SQL Server load, VFCache enables more

SQL Server transactions processed and while reducing disk latency significantly.

VFCache can lower SQL Server response time for queries that have more reads and high response time

VFCache has minimal impact on system resources. The initial warm-up time for VFCache to reach significant performance

improvement varies for each environment. In our environment, it took about 1 hour.

Page 18: EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

18© Copyright 2012 EMC Corporation. All rights reserved.

EMC Mission Critical Infrastructure For Microsoft SQL Server 2012 Accelerated With VFCache

https://community.emc.com/community/connect/everything_microsoft

EMC Solutions Group Strategic Solutions Engineering

Q&A