arcgis enterprise systems: performance and …...lanes - as cpu processor toll booths – as arcgis...

101
Esri UC2013 . Technical Workshop . E sr Esr Esr Esr Esri U i U i U i U i U U U U U U U U UC20 C20 C20 C20 C20 C20 C C2 C2 C 13 13 13 13 13 13 13 1 . T . T . T T T . T T T Tech ech ech ech ech ech ec ech ech ech e ec e e ech echnic nic ic ic nic nic nic nic nic c nic c cal al al al al al al al al l a a al Wor Wor Wor Wor Wor W Wor W rksh ksh ksh ksh ksh ksh k k ks k k ksh k k ksh ksh k h ksh shop op op op op op op op op o . . . Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ArcGIS Enterprise Systems: Performance and Scalability Frank Pizzi [email protected] Andrew Sakowicz [email protected]

Upload: others

Post on 22-Apr-2020

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop . EEsrEsrEsrEsrEsri Ui Ui Ui Ui UUUUUUUUUC20C20C20C20C20C20CC2C2C 13 1313 13 131313 1 . T. T. TTT. TTTTechechechechechechecechechecheeceeechechnicnicicicnicnicnicnicniccnicccalalalalalalalalallaaal WorWorWorWorWorWWorW rkshkshkshkshkshkshkkkskkkshkkkshkshk hkshshopopopop op op opop opop . ..

Technical Workshop

2013 Esri International User ConferenceJuly 8–12, 2013 | San Diego, California

ArcGIS Enterprise Systems: Performance and Scalability

Frank [email protected]

Andrew [email protected]

Page 2: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Introductions

• Target audience- GIS, DB, System administrators- Testers- Architects- Developers- Project managers

• Level- Intermediate

ArcGIS Enterprise Systems: Performance and Scalability

Page 3: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

ObjectivesPerformance engineering—concepts and best practices

• Technical- Solution performance factors- Tuning techniques- Performance testing- Capacity planning

• Managerial- Skills- Level of effort and costs- Risks- ROI

ArcGIS Enterprise Systems: Performance and Scalability

Page 4: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Agenda

• Introduction• Definitions• Process• Requirements• Performance Factors – Software• Performance Factors - Hardware• Performance Tuning• Performance Testing• Monitoring• Capacity Planning

ArcGIS Enterprise Systems: Performance and Scalability

Page 5: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Definitions

ArcGIS Enterprise Systems: Performance and Scalability

Page 6: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsPerformance

• The speed at which a given operation occurs• E.g. Request response time measured in seconds

ArcGIS Enterprise Systems: Performance and Scalability

Page 7: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsScalability

• The ability to increase output and maintain acceptable performance

• Examples - Capacity 10 maps/sec and response time 1

second- Capacity 1000 cars/hrs and speed 55 mph

ArcGIS Enterprise Systems: Performance and Scalability

Page 8: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsCapacity

• The maximum level of output the system can produce

At capacity Over capacity

ArcGIS Enterprise Systems: Performance and Scalability

Page 9: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsBottleneck

• Resource(s) limiting the performance or capacity

Low load High load

Think of :lanes - as CPU processortoll booths – as ArcGIS Server instancescars - as map requests

ArcGIS Enterprise Systems: Performance and Scalability

Page 10: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsStep Load and Response Time

Response Time (sec)

time

Step Load (users)

ArcGIS Enterprise Systems: Performance and Scalability

Page 11: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsThroughput (request/hr)

Throughput(req/hr)

Response Time (sec)

time

Step Load (users)

ArcGIS Enterprise Systems: Performance and Scalability

Page 12: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsResource utilization: CPU, Memory, Network

Throughput(req/hr)

CPU Utilization (%)

Memory used (Mb)

Network used (Mbps)

Response Time (sec)

time

)Time (sec)Response

Step Load (users)

ArcGIS Enterprise Systems: Performance and Scalability

Page 13: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DefinitionsCapacity

Throughput(req/hr)

CPU Utilization (%)

Memory used (Mb)

Network used (Mbps)

Content length (bytes)

Response Time (sec)

Time

)Time (sec)Response TR

User load

Capacity (~ 85% utilization)

ArcGIS Enterprise Systems: Performance and Scalability

Page 14: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Response time breakdown (sec)

ArcGIS Enterprise Systems: Performance and Scalability

Page 15: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Response time breakdown (%)

ArcGIS Enterprise Systems: Performance and Scalability

Page 16: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Process

ArcGIS Enterprise Systems: Performance and Scalability

Page 17: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Esri Process and ToolsHolistic approach

ArcGIS Enterprise Systems: Performance and Scalability

Page 18: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Tools

• http://www.arcgis.com• owner:EnterpriseImp• Show ArcGIS Desktop Content

ArcGIS Enterprise Systems: Performance and Scalability

Page 19: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Tools• System Designer

• http://www.arcgis.com/home/item.html?id=8ff490eef2794f428bde25b561226bda.

• http://www.arcgis.com/home/item.html?id=8e655b38f2fc4b778d07dd34f436a978 (MS 2013)

• System Test (Beta)

• http://www.arcgis.com/home/item.html?id=e8bac3559fd64352b799b6adf5721d81

• System Monitor (Beta)

• http://www.arcgis.com/home/item.html?id=848f48b0f88e4de7a036377197453efe

• System CPU

• http://www.arcgis.com/home/item.html?id=3e473b63a3254a6ab5f22e6f9608b209

• Network Test

• http://www.arcgis.com/home/item.html?id=2b8d4ac8b102453bb0437cdd7a07dd27

• Mxdperfstat

• http://www.arcgis.com/home/item.html?id=a269d03aa1c840638680e2902dadecac

• Database Trace Tools

• http://www.arcgis.com/home/item.html?id=24c7b251159149848acc9b81cccb8356

• ASlog

• http://www.arcgis.com/home/item.html?id=5dfe54f1e9fd48068c4ae0c2c4f459c9

ArcGIS Enterprise Systems: Performance and Scalability

Page 20: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Testing process

Application

GIS Services

Infrastructure: Hardware and Software

ArcGIS Enterprise Systems: Performance and Scalability

Page 21: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Required skill set Configuration, Tuning, Testing

Performance Testing

Sizing (Hardware

andSoftware)

Performance Tuning

ArcGIS Enterprise Systems: Performance and Scalability

Page 22: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Capacity PlanningTools

ArcGIS Enterprise Systems: Performance and Scalability

Page 23: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Requirements: Performance Service-Level Agreement

ArcGIS Enterprise Systems: Performance and Scalability

Page 24: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Quality Attribute Quality Attribute Requirements

Functional Requirements

VisualizationAnalysisyWorkflow Integration

AvailabilityyPerformance & ScalabilitySecurity

RequirementsPerformance engineering addresses quality attributes

ArcGIS Enterprise Systems: Performance and Scalability

Page 25: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Requirements

• Define System Functions- What are the functions that must be provided?

• Define System Attributes- Nonfunctional requirements should be explicitly defined

• Risk Analysis- An assessment of requirements - Intervention step designed to prevent project failure

• Analyze/Profile Similar Systems- Design patterns- Performance ranges

ArcGIS Enterprise Systems: Performance and Scalability

Page 26: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - Software

ArcGIS Enterprise Systems: Performance and Scalability

Page 27: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareApplication

• Type (e.g., mobile, web, desktop)• Stateless vs. stateful (ADF)• Design

- Chattiness- Data access (feature service vs. map service)

• Output image format

ArcGIS Enterprise Systems: Performance and Scalability

Page 28: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareApplication Types

• http://resources.arcgis.com/en/communities/enterprise-gis/01n200000023000000.htm

ArcGIS Enterprise Systems: Performance and Scalability

Page 29: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareApplication Security

• http://resources.arcgis.com/en/communities/enterprise-gis/01n200000004000000.htm

-

ArcGIS Enterprise Systems: Performance and Scalability

Page 30: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• Max Instances =~ #CPU Cores• e.g. 2, 8 core machines, set max instance to 8

Performance Factors - SoftwareGIS Services—ArcSOC instances

If max SOC instances are under configured, system will not scale.

ArcGIS Enterprise Systems: Performance and Scalability

Page 31: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareGIS Services—Map Service

Source document (MXD) optimizations• Keeping map symbols simple

- Setting scale dependency- Avoiding multilayer, calculation-dependent symbols- Spatial index- Avoiding reprojections on the fly- Optimizing map text and labels for performance

- Using annotations- Cost for Maplex and antialiasing

- Using fast joins (no cross database joins)- Avoiding wavelet compression-based raster types (MrSid, JPEG 2000)

ArcGIS Enterprise Systems: Performance and Scalability

Page 32: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareMap service

• Performance related to number of features and vertices

Number of features

Res

pons

e Ti

me

(sec

)

ArcGIS Enterprise Systems: Performance and Scalability

Page 33: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareGeodatabase

• Keep delta tables and versioning tree small- Reconcile and post- Compress- Synchronize replicas

• Rebuild indexes• Update statistics

ArcGIS Enterprise Systems: Performance and Scalability

Page 34: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - SoftwareData storage

• Typically a low impact• Small fraction (< 20%) of total response time

0

20,000

40,000

60,000

80,000

100,000

120,000

140,000

FGDB_Local_URL SHP_Local_URL Ora11g_AS_URL SQLSvr_AS_URL Postgres_AS_URL

Thro

ughp

ut (T

r/Hr)

Low Complexity Map: Throughput vs. data source

ArcGIS Enterprise Systems: Performance and Scalability

Page 35: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• Local to SOC machine• UNC (protocol + network latency overhead)

Performance Factors - SoftwareData source location

All disks being equal, locally sourced data results in better throughput.

0

20000

40000

60000

80000

100000

120000

FGDB_Local FGDB_UNC SHP_Local SHP_UNC

Thro

ughp

ut (T

r/Hr)

Data Source Location

High Complexity Map Service: Local vs. UNC (1 SOC)

ArcGIS Enterprise Systems: Performance and Scalability

Page 36: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - Software

• Default geodatabase• Display cache• Performance degradation • when high network latency

ArcMap settings

Typical case: global companies using roaming profile

ArcGIS Enterprise Systems: Performance and Scalability

Page 37: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors -Hardware

ArcGIS Enterprise Systems: Performance and Scalability

Page 38: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

- CPU- Network bandwidth

- and latency- Memory- Disk

Performance Factors - HardwareHardware Resources

Most well-configured and tuned GIS systems are processor bound.

ArcGIS Enterprise Systems: Performance and Scalability

Page 39: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - HardwareCPU Processor Speed – Specrate.org

http://www.cpubenchmark.net/cpu_list.php

ArcGIS Enterprise Systems: Performance and Scalability

Page 40: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoCPU Processor Speed1. System CPU2. PassMark

http://www.cpubenchmark.net/cpu_list.php

ArcGIS Enterprise Systems: Performance and Scalability

Page 41: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Impact of CPU speed

0200400600800

new laptop old laptop

CPU score

0.0000.0500.1000.150

new laptop old laptop

Response Time @1 (sec)

0.000

10.000

20.000

new laptop old laptop

Throughput max (tr/sec)

00.20.40.60.8

1

RT TH Score

Ratio

ArcGIS Enterprise Systems: Performance and Scalability

Page 42: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - HardwareCapacity planning

1. User load: Concurrent users or throughput2. Operation CPU service time (model)—

performance3. CPU SpecRate

subscript t = targetsubscript b = benchmarkST = CPU service timeTH = throughput%CPU = percent CPU

ArcGIS Enterprise Systems: Performance and Scalability

Page 43: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Design Phase—Performance FactorsHardware Resources—Memory

Wide ranges of memory consumptions

Item Low High DeltaXenApp Session 500 MB 1.2 GB 140%Database Session 10 MB 75 MB 650%Database Cache 200 MB 200 GB 99,900%SOC Process (Dynamic Map Service)

50 MB 500 MB 900%

SOC Process (Image Service)

20 MB 1,024 MB 5,020%

SOC Process (GeoprocessingService)

100 MB 2,000 MB 1,900%

SOM 30 MB 70 MB 133%

ArcGIS Enterprise Systems: Performance and Scalability

Page 44: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - Hardware

• Performance depends on configuration and implementation- 5-30%

Virtualization

Overburdened VMs will incur significant performance degradation

ArcGIS Enterprise Systems: Performance and Scalability

Page 45: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Capacity PlanningUncertainty of input information—Planning hour

• Identify the Peak Planning Hour (most cases).

ArcGIS Enterprise Systems: Performance and Scalability

Page 46: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

0

100

Input information

Unc

erta

inty

leve

l

Active Users

Think Time

Capacity Model

Operation Details

Hardware(SpecRate)

Capacity PlanningUncertainty of input information

Define user load first.

High

Low

ArcGIS Enterprise Systems: Performance and Scalability

Page 47: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Capacity PlanningUncertainty of input information

• License• Total employees• Usage logs

ArcGIS Enterprise Systems: Performance and Scalability

Page 48: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

1. Distance

2. Payload

3. Infrastructure

Performance Factors - HardwareNetwork

ArcGIS Enterprise Systems: Performance and Scalability

Page 49: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - HardwareNetwork

• Network accelerator improves performance of repeated request.

ArcGIS Enterprise Systems: Performance and Scalability

Page 50: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• Required bandwidth- Response size- Number of transactions

• Network transport time• Response size• Effective bandwidth

Performance Factors - HardwareNetwork transport time

All Built into System Designer

3600/ reqMbitsTH

Mbps

usedMbpsMbpsreqMbits

Transport/(sec)

ArcGIS Enterprise Systems: Performance and Scalability

Page 51: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Network TestingImportant for cloud based solutions

Cloud vendors offer multiple location. Which one is the best for your global solution?

Single data center = lower cost

Performance depends on network: good bandwidth and low latency

Page 52: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoNetwork Speed Test Tool:http://localhost/speedtest/

ArcGIS Enterprise Systems: Performance and Scalability

Page 53: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - HardwareNetwork

ArcGIS Enterprise Systems: Performance and Scalability

Page 54: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Factors - HardwareHardware Resources—Network

• Impact of service and return type on network transport time- Compression- Content (e.g., Vector vs. Raster)- Return type (e.g., JPEG vs. PNG)

Network Traffic Transport Time (sec)56 kbps 1.54 Mbps 10 Mbps 45 Mbps 100 Mbps 1 Gbps

Application Type Service/Op Content Return Type Mb/Tr 0.056 1.540 10.000 45.000 100.000 1000.000ArcGIS Desktop Map Vector 10 178.571 6.494 1.000 0.222 0.100 0.010Citrix/ArcGIS Map Vectror+Image ICA Comp 1 17.857 0.649 0.100 0.022 0.010 0.001Citrix/ArcGIS Map Vector ICA Comp 0.3 5.357 0.195 0.030 0.007 0.003 0.000ArcGIS Server Map Vector PNG 1.5 26.786 0.974 0.150 0.033 0.015 0.002ArcGIS Server Image JPG 0.3 5.357 0.195 0.030 0.007 0.003 0.000ArcGIS Server Map Cache Vector PNG 0.1 1.786 0.065 0.010 0.002 0.001 0.000ArcGIS Server Map Cache Vector+Image JPG 0.3 5.357 0.195 0.030 0.007 0.003 0.000

ArcGIS Enterprise Systems: Performance and Scalability

Page 55: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoSystem Designer

ArcGIS Enterprise Systems: Performance and Scalability

Page 56: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Tuning: A reproducible test cases

Page 57: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Tuning methodologyProfile each tier starting from the top

Browser

Web Server

ArcGIS Server

ArcSOC

Total Response Time (t1-t2)

Wait Time

Search & Retrieval Time

Usage Time

ArcSDE/DBMS

t1 t2

Page 58: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

FiddlerFiddler measurement approximately 5.2 seconds

Page 59: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Mxdperfstat

Page 60: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DBMS Trace

http://www.arcgis.com/home/item.html?id=24c7b251159149848acc9b81cccb8356

Page 61: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Oracle TraceCompare elapsed time

Elapsed time slightly changed due to different test runs

Page 62: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Oracle Execution plan

Inefficient spatial index

Page 63: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Tuning: No-reproducible test cases

Page 64: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Analyze Web server LogsIIS log measurement 5.256 seconds

Page 65: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

ArcGIS Server logsAnalyzing lots of entries might be challenging

Page 66: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• logparser "SELECT top 10 time, target, elapsed, message from 'C:\Program Files (x86)\ArcGIS\Server10.0\server\user\log\*.xml' order by elapsed desc" -i:COM -iprogid:lpx.ags_log -e 1 -q

Parse ArcGIS Server LogsAGS Log parser tool makes it easy

http://www.arcgis.com/home/item.html?id=5dfe54f1e9fd48068c4ae0c2c4f459c9

Page 67: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Monitoring

ArcGIS Enterprise Systems: Performance and Scalability

Page 68: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoSystem Monitor -Introduction

Page 69: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Trend AnalysisSystem Metrics

System Monitor tool

Page 70: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Trend AnalysisArcGIS Server statistics

Page 71: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Trend AnalysisHTTP custom requests

Page 72: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Trend AnalysisGeodatabase statistics

Examples of versioned geodatabase stats

Page 73: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Performance Testing

ArcGIS Enterprise Systems: Performance and Scalability

Page 74: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Testing Objectives

- Meet Service-Level Agreement (SLA)- Bottlenecks analysis- Capacity planning- Benchmarking different alternatives

Page 75: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Testing ToolsTest Tools Open

SourcePros Cons

LoadRunner No •Industry Leader•Automatic negative correlations identified with service-level agreements

•HTTP web testing•Click and script•Very good tools for testing SOA•Test results stored in database•Thick client testing•Can be used for bottleneck analysis

•High cost•Test development in C programming language

•Test metrics difficult to manage and correlate•Poor user community with few available examples

Silk Performer No •Good solution for testing Citrix•Wizard-driven interface guides the user•Can be used for bottleneck analysis

•Moderate to high cost•Test metrics are poor.•Test development uses proprietary language.•Test metrics difficult to manage and correlate•Poor user community with few available examples

Visual Studio Test Team No •Low to moderate cost•Excellent test metric reporting•Test scripting in C# or VB .NET•Unit and web testing available•Blog support with good examples•Very good for bottleneck analysis

•No built-in support for AMF•No thick-client options•Moderate user community

JMeter Yes •Free•Tool

•Provides only response times•Poor user community with few available examples

Page 76: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Testing steps

Validate environment

Design test

Validate results

Page 77: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Designing test

Profile requests

Prepare test data

Define transactions and requests

Bind test data to requests

Define a load test

Page 78: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Test dataObserve correlation between featureerve correla

density ation between featrela

y y and performance.

Page 79: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoSystem Test - Introduction

ArcGIS Enterprise Systems: Performance and Scalability

Page 80: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Analyze results

• Compare and correlate key measurements- Response Time Vs. Throughput- CPU, Network, Disk, and Memory on all tiers- Passed and Failed tests

• Validation- Lack of errors does not validate a test- Spot check request response content size

Page 81: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Analyze resultsValid

• Expected CPU and Response time correlation

WoWoooooorkshop

Page 82: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Analyze resultsInvalid

• Validation Example- Test failure – memory bottleneck in w3wp process

Page 83: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoSystem Test – load test

ArcGIS Enterprise Systems: Performance and Scalability

Page 84: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Transactions/Sec @ ASAKOWICZ1Step Load Avg. Value Std. Deviation

1 16.373 2.1632 17.686 1.4313 17.628 1.101

Throughput (Tr/sec)

User load

ArcGIS Enterprise Systems: Performance and Scalability

Page 85: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

CPU ST/Tr @ ASAKOWICZ1Step Load Avg. Value Std. Deviation

1 0.054 0.0182 0.048 0.0093 0.045 0.009

Response Time (sec)

Service Time

ArcGIS ServerWait Time

Transaction Response Time @ ASAKOWICZ1Step Load Avg. Value Std. Deviation

1 0.060 0.0232 0.111 0.0233 0.168 0.026

ArcGIS Enterprise Systems: Performance and Scalability

Page 86: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop . ArcGIS Enterprise Systems: Performance and Scalability

Page 87: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

DemoSystem Test and Monitor: Editing

ArcGIS Enterprise Systems: Performance and Scalability

Page 88: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• A table count

Compress 1 (ArcGIS Service running) Compress 2

(ArcGIS Service stopped)

Edit load test

ArcGIS Enterprise Systems: Performance and Scalability

Page 89: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• Compress

Compress 1 (ArcGIS Service running)

Compress 2 (ArcGIS Service stopped)

ArcGIS Enterprise Systems: Performance and Scalability

Page 90: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• States

Compress 1 (ArcGIS Service running)

Compress 2 (ArcGIS Service stopped)

ArcGIS Enterprise Systems: Performance and Scalability

Page 91: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Total users

Viewers

Edit testEditors

ArcGIS Enterprise Systems: Performance and Scalability

Page 92: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Capacity planning: using test results

Page 93: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Test Results as Input into Capacity Planning

• Throughput = 3.89 request/sec (14,004 request/hour)

• Response time = 0.25 seconds• Average CPU Utilization = 20.8%• Mb/request = 1.25 Mb

Page 94: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Test Results as Input into Capacity Planning

• Input from testing- #CPUs = 4 cores- %CPU = 20.8- TH = 14,004 requests/hour- SPEC per Core of machine tested = 35

• ST = (4*3600*20.8)/(14,004 *100) = 0.2138 sec- Note Service Time is very close to Average

response time of 0.25

100%3600#

THCPUCPU

ST

Page 95: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Target values

1. Server SpecRate/core=10.1

2. User load=30,000 req/hr3. Network=45 Mbps

Page 96: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

• Input to Capacity Planning:- ST = Service Time = .2138 sec- TH = Throughput desired = 30,000 request/hour- %CPU = Max CPU Utilization = 80%- SpecRatePerCpuBase = 35- SpecRatePerCpuTarget = 10.1

• Output- #CPU required =( [.2138*30,000*100]/3600*80])

*[35/10.1]- #CPU required = 7.7 cores ~ 8 cores

Target valuesTarget CPU cores calculation

No need to calculate it manually, System Designer Tool does it for you:http://www.arcgis.com/home/item.html?id=8ff490eef2794f428bde25b561226bda

Page 97: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Target valuesTarget network calculation

• Input to Capacity Planning:- Mb/req=1.25- TH = 30,000 request/hour

• Output- Network bandwidth required = 30000x1.25/3600- =10.4 Mbps < 45 Mbps available

- Transport=1.25/(45-10.4)=0.036sec

3600/ reqMbitsTH

Mbps

usedMbpsMbpsreqMbits

Transport/(sec)

Page 98: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Sizing using System Designer

• Input:- Throughput=30000- ST=0.21- Mb/tr=1.25- Hardware=80.9 Spec

Page 99: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

T Sizing using System Designer

• Input- Hardware=80.9 Spec

Page 100: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Summary

• Process• Skills• Tools

Performance Testing

Sizing (Hardware

andSoftware)

Performance Tuning

Page 101: ArcGIS Enterprise Systems: Performance and …...lanes - as CPU processor toll booths – as ArcGIS Server instances cars - as map requests ArcGIS Enterprise Systems: Performance and

Esri UC2013 . Technical Workshop .

Please fill out the session evaluation

Session ID:1092Offering ID: 748

Online – www.esri.com/ucsessionsurveysPaper – pick up and put in drop box

Thank you…