gwavacon - exchange sizing (english)

26
Stig Nygaard Technologieberater Exchange Server 2013 Sizing Scenarios

Upload: gwava

Post on 21-Dec-2014

44 views

Category:

Technology


1 download

DESCRIPTION

Lars Riehn, ACP

TRANSCRIPT

Page 1: GWAVACon - Exchange Sizing (English)

Stig NygaardTechnologieberater

Exchange Server 2013Sizing Scenarios

Page 2: GWAVACon - Exchange Sizing (English)

Review of architectural changesExchange 2013 targets balanced use of hardware

Mailbox role consolidates most Exchange componentsSimilar to Exchange 2010 multi-role

Client Access Server (CAS) role is an efficient stateless proxy

Roles are loosely coupled, scaled independently

4 roles for sizing: Mailbox, CAS, Edge, Active Directory

AD

Web browser

Outlook (remote

user)

Mobile phone

Line of business applicationOutlook (local

user)

ExternalSMTP

servers

Forefront Online

Protection for Exchange

Enterprise Network

Phone system (PBX

or VOIP)

Edge TransportRouting and AV/AS

Layer

4LB

CAS Array

DAG

CAS

CAS

CAS

CAS

CAS

MBX

MBX

MBX

MBX

MBX

Page 3: GWAVACon - Exchange Sizing (English)

Sizing without guidance & toolsLab testing with simulated workloads may be an optionBe conservative: overdeploy!Consider extra safety margins when targeting “max” CPU

Consider a pilotMinimize overdeployment

Size for high availability requirements, then migrate slowly while monitoringAdd more hardware as necessary based on monitoring

Page 4: GWAVACon - Exchange Sizing (English)

Start to finish

Read/understand sizing, scalability, capacity guidance

• Documentation on technet, Exchange team blog, etc.

Collect data on existing deployment

• User profile (messages sent+received per day)

• Average message size

Define constraints based on customer requirements

• # of DB copies• Backup

requirements• Storage

architecture• SafetyNet

duration• Virtualization• Growth plans• 3rd party products

Page 5: GWAVACon - Exchange Sizing (English)

Start to finish

Input profile data and design constraints into calculator tool (or calculate manually)

• Always use the latest calculator

Consider impact of various options provided by sizing results

• Cost• Rebuild times• Impact on high

availability

Finalize design

• Storage calculator provides configuration scripts

• Archive the calculator as documentation of the sizing process

Page 6: GWAVACon - Exchange Sizing (English)

Exchange 2013 Server Role Requirements CalculatorThe tool to use!Always use latest version (currently 6.3)Make sure you understand the tool – Read related documentation and comments in the Excel Filehttp://aka.ms/E2013Calc

Page 7: GWAVACon - Exchange Sizing (English)

Minimum requirementsMemory requirements have increased in Exchange 2013

Minimum CPU requirements follow published OS guidelinesDisk space requirements on install drive increased dramatically (lots of new logging turned on by default)

Mailbox or multi-role (Mailbox+CAS) 8GB minimum RAM

CAS 4GB minimum RAM

Edge 4GB minimum RAM

Exchange 2003 Exchange 2007 Exchange 2010 Exchange 20130.1

1

10

100

Minimum Disk Space (GB) 30GB

Page 8: GWAVACon - Exchange Sizing (English)

Impact of new Mailbox roleNew Mailbox role provides many benefitsSimplified deployment & connectivity modelCache efficienciesHardware efficiencies (balanced resource utilization)Unit of scale for capacity planning

ConsiderationsTradeoffs result in some increased resource usageCache sizing is differentEverything interacts (and workload management mediates)Managed availability has a measurable impact on the systemNew content indexing architecture impacts performanceUnified Messaging enabled on all Mailbox servers

Page 9: GWAVACon - Exchange Sizing (English)

Storage capacity requirementsSize for mailbox size on disk, content indexes, log spaceMethod for computing space requirement similar to Exchange 2010, with some important changes

20% database overhead is now 0%Content Index size is now 20% of EDBPlus space for additional index set per volume (master merge)Note that impact of space for master merge is reduced with multiple DBs per-volume

Max of 100 databases per-server (CU2+)

Page 10: GWAVACon - Exchange Sizing (English)

IOPS RequirementsAs in previous releases, Exchange 2013 reduced IOPS requirements (~33% reduction compared to 2010)We have seen higher reduction in various tests, guidance is conservative and based on production observations

No separate guidance for HA vs. non-HA databasesIOPS requirements are the same

50 100 150 200 250 300 350 400 450 5000.01

0.1

1

10

Exchange 2003 Exchange 2007 Exchange 2010 Exchange 2013

Messages Sent/Received Per-User Per-Day

Data

base

IO

PS

Page 11: GWAVACon - Exchange Sizing (English)

Storage bandwidth requirementsBandwidth between host and storage may become a concern with some storage solutionsBackground database maintenance (BDM) is often the cause of bottlenecks in this areaBDM in 2013 now consuming ~1MB/sec/DB copy, significant reduction from 2010

Page 12: GWAVACon - Exchange Sizing (English)

Processor requirementsAs in Exchange 2010, mcycle requirements are per-user for active & passive copiesPer-passive multiplier on the active has been removed in 2013

Guidance includes a multi-role mcycle requirement for the active copy – simplifies sizing

Messages sent or received per mailbox per day

Mcycles per User, Active DB

Copy or Standalone (MBX only)

Mcycles per User, Active DB

Copy or Standalone (Multi-Role)

Mcycles per User, Passive

DB Copy

50 2.13 2.66 0.69

100 4.25 5.31 1.37

150 6.38 7.97 2.06

200 8.50 10.63 2.74

250 10.63 13.28 3.43

300 12.75 15.94 4.11

350 14.88 18.59 4.80

400 17.00 21.25 5.48

450 19.13 23.91 6.17

500 21.25 26.56 6.85

Note: Baseline platform for CPU guidance changed in 2013. Mcycle requirements in 2010 and 2013 cannot be directly compared.

Page 13: GWAVACon - Exchange Sizing (English)

Hyperthreading & Exchange 2013Turn off hyperthreading (SMT)!SMT provides gain in processor throughput, but overall the gain is not worth the “cost” based on our lab measurementsSignificant impact to some Exchange service memory footprints

Page 14: GWAVACon - Exchange Sizing (English)

Memory requirementsMemory on the Mailbox role sized based on ESE cache requirementsCache requirements have remained constant from 2010Overall cache sized to 25% of RAM, so guidance (based on total system memory) is 4x of 2010 cache sizing recommendation

Messages sent or received per mailbox

per day

Mailbox role memory per

active mailbox (MB)

50 12

100 24

150 36

200 48

250 60

300 72

350 84

400 96

450 108

500 120

Page 15: GWAVACon - Exchange Sizing (English)

Memory requirementsMulti-role servers require additional memory for CAS based on user concurrency during worst-case failure

Minimum memory requirements based on database count must be observed to ensure optimal ESE cache utilization

2GB  + (2GB× (worst −case   active  DBs  per −server×users   per −DB×mbx  mcycles   per − user )×0.25per −core  mcycles )

Per-server DB copies

Minimum physical

memory (GB)

1-10 811-20 1021-30 1231-40 1441-50 16

Page 16: GWAVACon - Exchange Sizing (English)

Mailbox role network requirementsAvoid bottlenecking on networkPlan for reseed operations, particularly in JBOD deployments10Gb Ethernet expected to become more common for Exchange infrastructureCost has dropped, many customers are standardizing on 10Gb Ethernet in their datacenters

Page 17: GWAVACon - Exchange Sizing (English)

Impact of new CAS roleNew CAS role provides many benefitsStatelessConnection scalabilityLow CPU & memory footprintLoad balancing optimizationsNamespace optimizations

ConsiderationsLow resource utilization makes multi-role deployment (or virtualization) attractive and multi-role is used in most deploymentsCAS is a net-new role in 2013, adding performance “cost”Shift of processing resources from LB layer to CAS may negate new resource demand

Page 18: GWAVACon - Exchange Sizing (English)

CAS memory requirementsCAS memory is sized using a simple formula of 2GB + 2GB per-CPU core.The per-core value assumes utilized CPU cores at peak (worst case failure), so this can get a little complicated

Note no CAS memory reduction from 2010, but decreased CAS server count should result in overall memory reduction

Per −server  CAS  memory=2GB+2GB×( total   user   countCAS   server   count   in  worst   case×Mailbox  mcycles   per −user×0.25

mcycles   per −core )

Page 19: GWAVACon - Exchange Sizing (English)

CAS Sizing and MAPI/HTTPUse of MAPI/HTTP requires 50 % more CPU on CASGoing from 1:4 to 3:8 ratio CAS to MBX ratioMAPI/HTTP disabled by defaultServer Role Requirments calculator considers this as of version 6.3 (hardcoded).NET Framework 4.5.1 has important fix to increase performance of MAPI/HTTP

Page 20: GWAVACon - Exchange Sizing (English)

Pagefile SizingTraditional: Fixed Size of Physical RAM + 10 MBNew as of SP1: Fixed Size Physical RAM + 10 MB, but not more than 32 GB+10 MB (=32788 MB)

Page 21: GWAVACon - Exchange Sizing (English)

Active Directory requirementsRecommend deploying 1 AD GC core for every 8 Mailbox cores handling active load (assuming 64-bit GCsSize memory such that the entire NTDS.DIT can be contained within RAM for optimal query performance

Page 22: GWAVACon - Exchange Sizing (English)

Other tools & resources

Page 23: GWAVACon - Exchange Sizing (English)

More details available on the blog

http://blogs.technet.com/b/exchange/archive/2014/04/03/ask-the-perf-guy-sizing-guidance-updates-

for-exchange-2013-sp1.aspx

Page 24: GWAVACon - Exchange Sizing (English)

Jetstress & Exchange Solution Reviewed ProgramJetstress 2013 released March 2013Event log capturedErrors associated with specific volumesThreads controlled globally instead of per-DB, better automatic tuning

Use Jetstress to validate all Exchange capacity before service readyValidates storage performance & reliabilityhttp://www.microsoft.com/en-us/download/details.aspx?id=36849

Page 25: GWAVACon - Exchange Sizing (English)

Loadgen 2013Loadgen 2013 released October 2013Support for protocol & connection changes in Exchange 2013StabilityMany bug fixes

http://www.microsoft.com/en-us/download/details.aspx?id=40726

Page 26: GWAVACon - Exchange Sizing (English)

© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.