Open Source Geospatial Foundation1 Andrea Aime (GeoServer) Jeff McKenna (MapServer) WMS Performance Shootout.

Slides:



Advertisements
Similar presentations
A Roadmap of Open Source components for GI Web Services and Clients A Paul R Cooper MAGIC.
Advertisements

In Production Juan Marin. Agenda Introduction Reliability Availability Performance Data optimizations Runtime optimizations Measuring your environment.
GeoServer and OpenGeo –Chris Holmes. Geospatial Web Server –vector and raster data Open standards –WFS –WMS –WCS Gateway to the “GeoWeb” What is GeoServer?
Novell Server Linux vs. windows server 2008 By: Gabe Miller.
NPS Introduction to GIS: Lecture 1
©Company confidential 1 Performance Testing for TM & D – An Overview.
OPEN SOURCE GIS Comparing Quantum GIS to Open Jump.
GIS on Linux 4all Project team: Jan Růžička František Klímek Michal Šeliga Pavel Děrgel.
Xen and the Art of Virtualization. Introduction  Challenges to build virtual machines Performance isolation  Scheduling priority  Memory demand  Network.
Web Feature Service and Web Map Service WATER FOR A HEALTHY COUNTRY FLAGSHIP SISS Workshop v2.3 Pavel Golodoniuc, Josh Vote 8 May 2013.
Evaluation of Windows 7 RC Build 7100 By Muswera Walter Supervisor: Mr John Ebden Consultants: Billy Morgan and Jill Japp.
January 25, th APAN Meeting in Bangkok 1 Development of NOAA and Landsat Image Server using Web Map Service Mr. Sarawut Ninsawat and Dr. Kiyoshi.
Bottlenecks: Automated Design Configuration Evaluation and Tune.
Database Replication Policies for Dynamic Content Applications Gokul Soundararajan, Cristiana Amza, Ashvin Goel University of Toronto EuroSys 2006: Leuven,
Development of the Graphical User Interface and Improvement and Streamlining of NYMTC's Best Practice Model Jim Lam, Andres Rabinowicz, Srini Sundaram,
Extension to Geoserver for reading ESRI Mapcaches Pär Jonsson Project manager Lantmäteriet, Sweden Mauritz Bomark System architect Lantmäteriet,
CMAQ Runtime Performance as Affected by Number of Processors and NFS Writes Patricia A. Bresnahan, a * Ahmed Ibrahim b, Jesse Bash a and David Miller a.
Towards a Billion Routing Lookups per Second in Software  Author: Marko Zec, Luigi, Rizzo Miljenko Mikuc  Publisher: SIGCOMM Computer Communication Review,
Achieving Scalability, Performance and Availability on Linux with Oracle 9iR2-RAC Grant McAlister Senior Database Engineer Amazon.com Paper
LFC Replication Tests LCG 3D Workshop Barbara Martelli.
1 Database mini workshop: reconstressing athena RECONSTRESSing: stress testing COOL reading of athena reconstruction clients Database mini workshop, CERN.
1 Admission Control and Request Scheduling in E-Commerce Web Sites Sameh Elnikety, EPFL Erich Nahum, IBM Watson John Tracey, IBM Watson Willy Zwaenepoel,
GISt lunch meeting OTB Research Institute for Housing, Urban and Mobility Studies Writing a DBMS buyers guide Wim de Haas Wilko Quak Based.
GIS in the cloud: implementing a Web Map Service on Google App Engine Jon Blower Reading e-Science Centre University of Reading United Kingdom
GeoServer: Past, Present, Future Justin Deoliveira.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Intro to Datazen.
I NTRODUCTION TO N ETWORK A DMINISTRATION. W HAT IS A N ETWORK ? A network is a group of computers connected to each other to share information. Networks.
Introduction to Geographic Information Systems
Introduction TO Network Administration
PROOF tests at BNL Sergey Panitkin, Robert Petkus, Ofer Rind BNL May 28, 2008 Ann Arbor, MI.
for all Hyperion video tutorial/Training/Certification/Material Essbase Optimization Techniques by Amit.
I NTRODUCTION TO N ETWORK A DMINISTRATION. W HAT IS A N ETWORK ? A network is a group of computers connected to each other to share information. Networks.
FroNtier Stress Tests at Tier-0 Status report Luis Ramos LCG3D Workshop – September 13, 2006.
Uploading Data Matthew Hanson  GeoNode made up of several components  Web Framework – Django  OGC Server – GeoServer  Database – PostGIS.
GeoServer Prof. Wenwen Li School of Geographical Sciences and Urban Planning 5644 Coor Hall
Geospatial Data Abstraction Library(GDAL) Sabya Sachi.
09/09/201009/09/2010 Open Source Geospatial Foundation 1 1 ERDAS : Overview Background – First participation – Tested on Windows server – Java based for.
Open Source Geospatial Foundation 1 Cadcorp GeognoSIS, Constellation-SDI, GeoServer, Mapnik, MapServer, QGIS Server WMS Benchmarking 2011.
Open Source Geospatial Foundation1 Cadcorp GeognoSIS, Contellation-SDI, ERDAS APOLLO, GeoServer, Mapnik, MapServer, Oracle MapViewer, QGIS MapServer WMS.
GeoServer: Past, Present and Future Andrea Aime - OpenGeo Justin Deoliveira - OpenGeo.
Concept Demonstration: Implementing GEOSS Architecture using Open Standards and Open Source Software “The User and GEOSS Architecture” Workshop, 30 Oct.
W W W. R E F R A C T I O N S. N E T WMS Performance Tests! Mapserver & Geoserver FOSS4G 2007 Presented by Brock Anderson and Justin Deoliveira Shapefiles.
1 DB2 Access Recording Services Auditing DB2 on z/OS with “DBARS” A product developed by Software Product Research.
Designing High Performance BIRT Reports
Lecture 2: Performance Evaluation
Geographic Information Systems “GIS”
Solid State Disks Testing with PROOF
Computer Hardware Mr. Singh ICS2O.
Virtualization OVERVIEW
GIS Basic Training June 7, 2007 – ICIT Midyear Conference
BDII Performance Tests
Hybrid Cloud Architecture for Software-as-a-Service Provider to Achieve Higher Privacy and Decrease Securiity Concerns about Cloud Computing P. Reinhold.
ESRI Geodatabases Ming-Chun Lee.
Spatial Analysis With Big Data
Installation and database instance essentials
Software Architecture in Practice
ESRI Geodatabases Ming-Chun Lee.
ECE 445 – Computer Organization
Moodle Scalability What is Scalability?
Geographic Data Primitives
Admission Control and Request Scheduling in E-Commerce Web Sites
Declarative Transfer Learning from Deep CNNs at Scale
To Be Safe For Now: Keep your shapefiles simple
Specifications Clean & Match
Enterprise Geodatabase Administration – Tips and Tricks
Performance And Scalability In Oracle9i And SQL Server 2000
Publishing image services in ArcGIS
NPS Introduction to GIS: Lecture 1 Based on NIMC and Other Sources.
Fan Ni Xing Lin Song Jiang
Presentation transcript:

Open Source Geospatial Foundation1 Andrea Aime (GeoServer) Jeff McKenna (MapServer) WMS Performance Shootout

Open Source Geospatial Foundation2 Executive summary Compare the performance of WMS servers – GeoServer – MapServer In a number of different workloads: – Vector: plain polygon, point with graphical icons, road network with cased lines, road network with labels – Raster: global imagery Against different data backends: – Vector: shapefiles, PostGIS, Oracle spatial, SDE over Oracle spatial – Raster: ECW and GeoTiff mosaics

Open Source Geospatial Foundation3 Benchmarking History 3 rd FOSS4G benchmarking exercise. Past exercises included: – FOSS4G 2007: Refractions Research run and published the first comparison with the help of GeoServer and MapServer developers. Focus on big shapefiles, postgis, minimal styling – FOSS4G 2008: OpenGeo run and published the second comparison with some review from the MapServer developers. Focus on simple thematic mapping, raster data access, WFS and tile caching Friendly competition: goal is to improve all software

Open Source Geospatial Foundation4 Past MapServer improvements improvements in large shapefile indexing raster read optimization (single pass for multiple bands) enhancing polygon labelling placement EPSG codes caching PostGIS improvements Oracle improvements

Open Source Geospatial Foundation5 Past GeoServer improvements Overall rendering pipeline improvements GML writing speed-ups Raster data access improvements PostGIS data store optimizations

Open Source Geospatial Foundation6 Rules of engagement Each server is tested in its latest version Each server performs exactly the same workload – Same set of WMS requests – Same data backends – Same image output format All modifications made to improve performance are to be included in a future release of the software Data used cannot be modified for display, other than indexing All testing to be done on the same benchmarking machines

Open Source Geospatial Foundation7 Hardware Configuration JMeter GeoServe r MapServe r Shapefile s ECW GeoTIFF Oracle PostGIS SDE Bench WMS Database

Open Source Geospatial Foundation8 Software Specs MapServer: – beta3, GDAL SVN – Apache 2.2 – FastCGI - 8 static processes GeoServer: – 2.0-RC2, Java 6 update18, GDAL – Tomcat threads Database: – Oracle – SDE – PostGIS 1.4.0

Open Source Geospatial Foundation9 Hardware specs Bench (2003): Dell PowerEdge 1750 – 1 Xeon Nocona 3Ghz, 1 GB RAM, OS: RedHat Enterprise 5.3 WMS (2004): – Dell PowerwEdge 2850 – 4 Xeon Nocona 3.4Ghz, 8 GB RAM – 6 73 GB, 15K RPM hard drives, OS: RedHat Enterprise 5.3 Database (2007): – Dell Optiplex 755 tower – 1 x Intel Core2 Duo CPU 2.66GHz / Dual Core, 4Gb RAM – 100Gb SATA 3.0Gb/s 7200 rpm HD, OS: RedHat Enterprise 5.3

Open Source Geospatial Foundation10 Hot vs Cold Benchmarks Hot benchmark – The file system caches are fully loaded – The software has had the occasion to perform whatever pre-processing is necessary (e.g., open connections to the data source) Cold benchmark – The system has been just started – There is no existing cache Both are unrealistic, production is usually a mix of both Hot benchmarks are more practical to run

Open Source Geospatial Foundation11 Methodology Each test run performs requests with 1, 10, 20 and 40 parallel clients (for a total of 1500 requests) Each test uses a random set of requests stored in a CSV file: no two requests in the same run are equal, but all servers perform the same workload For each request the random factors are: – The image size (between 640x480 and 1024x768) – The geographic envelope (extent) Each test is run three times in a row, the results of the third run are used for the comparison: this benchmark assumes full file system caches (“hot” benchmark) The other GIS server is shut down while the tests are run

Open Source Geospatial Foundation12 Resource consumption notes During a benchmark usually a single resource is used to its limits and plays the bottleneck Common bottlenecks are the CPU, the disk access, the network access, the remote database access Looking at system monitoring on the WMS and DB machine during the benchmark runs the impression has been that the CPU was playing the role of the bottleneck in most tests (CPU consumption moving between 80% and 100% during the benchmark sections involving at least 10 client threads)

Open Source Geospatial Foundation13 Datasets Used Polygon layer: areawater_merge: the TIGER 2008 set of polygons describing water surfaces for the state of Texas polygons, 195MB shapefile, EPSG:4269 Point layer: gnis_names09: all location and points of interest names for the state of Texas in the GNIS database points, 2.8 MB shapefile, EPSG:4269 Line layer, edges_merge: all line elements (rivers and roads) from the TIGER 2008 dataset for the state of Texas. over 5M lines, 1.2GB shapefile, 1.4GB dbf, EPSG:4269 Raster layer: Bluemarble TNG, x pixels, 7 overview layers (TIF, ECW, tiled 512&8, GeoRaster)

Open Source Geospatial Foundation14 Equivalent traffic table The presentation charts results as throughput in requests per second. This table translates hits per second at sustained peak load in terms of requests per hour and per day

Open Source Geospatial Foundation15 T1: plain polygon rendering TIGER 2008 “areawater” layer, merged over Texas Simply fill the polygon in blue, no outline Image scales roughly between 1: and 1:

Open Source Geospatial Foundation16 T1: Shapefiles

Open Source Geospatial Foundation17 T1: PostGIS

Open Source Geospatial Foundation18 T1: Oracle

Open Source Geospatial Foundation19 T1: SDE

Open Source Geospatial Foundation20 T1: observations GeoServer is between 25% and 50% faster reading shapefiles out of the box, MapServer with FastCGI is slightly faster PostGIS performs roughly 5% better than Oracle on higher loads SDE seems to introduce no overhead compared to direct Oracle access for GeoServer, and a slight overhead for MapServer GeoServer and MapServer have exactly the same performance when the backend is PostGIS and Oracle

Open Source Geospatial Foundation21 T2: point rendering GNIS names dataset over Texas Each point is rendered using a little GIF/PNG graphics

Open Source Geospatial Foundation22 T2: shapefiles

Open Source Geospatial Foundation23 T2: PostGIS

Open Source Geospatial Foundation24 T2: Oracle

Open Source Geospatial Foundation25 T2: SDE

Open Source Geospatial Foundation26 T3: roads map TIGER 2008 edges, just roads (rivers filtered out), three different line styles based on the road class

Open Source Geospatial Foundation27 T3: shapefiles

Open Source Geospatial Foundation28 T3: PostGIS

Open Source Geospatial Foundation29 T3: Oracle

Open Source Geospatial Foundation30 T3: SDE

Open Source Geospatial Foundation31 T3: notes Oracle and SDE data access is significantly slower in this benchmark 15-20% slower) compared to PostGIS, possibly pointing to a more efficient indexing in PostGIS The slowdown observed in most tests is probably due to more expensive calls being performed in the 20 clients section of the benchmark (requests are random, thus are not guaranteed to be uniformly expensive)

Open Source Geospatial Foundation32 T4: labelled roads Same as T3, but higher scale (between 1:10k and 1:3k) and with labels following lines

Open Source Geospatial Foundation33 T4: shapefiles

Open Source Geospatial Foundation34 T4: PostGIS

Open Source Geospatial Foundation35 T4: Oracle

Open Source Geospatial Foundation36 T4: SDE

Open Source Geospatial Foundation37 T5: raster Bluemarble TNG, as single ECW file, 512 mosaic TIFF, and BigTIFF (MapServer) vs 8 tiles mosaic TIFF (GeoServer) ECW file is 260MB TIFFs are uncompressed, tiled, with overviews. Around 16GB for each mosaic

Open Source Geospatial Foundation38 T5: ECW

Open Source Geospatial Foundation39 T5: 512 tiles mosaic

Open Source Geospatial Foundation40 T5: BigTiff vs 8 tiles tiff GeoServer cannot do BigTiff, so a 8 tiles mosaic was used (almost 2G B per tile)

Open Source Geospatial Foundation41 FOSS4G 2009 improvements Several code enhancements were made during this year's exercise: – MapServer Fixed problem with labels following features Fixed problem with beta for SDE layers Found problem with beta for Oracle fastcgi and memory leak – GeoServer Fixed problem with Oracle connection pooling and index scanning Fixed problem with ECW crashes under high load

Open Source Geospatial Foundation42 Hopeful Changes for Next Shootout Involvement of more WMS servers Put the servers under a faster internet connection for quicker data transfers and tests setups Modify the number of parallel client requests performed so that the parallel clients case gets exposed Phases/cycles for benchmarking – to allow for teams to interpret results and make software enhancements Reprojection in both vector and raster data Audience suggestions?

Open Source Geospatial Foundation43 More Information Scripts, configuration files, results stored in OSGeo SVN: Wiki home: Mailing list:

Open Source Geospatial Foundation44 Additional MapServer Results (not presented)

Open Source Geospatial Foundation45 MapServer Roads/Lines Test Results

Open Source Geospatial Foundation46 MapServer Labelled Roads/Lines Test Results

Open Source Geospatial Foundation47 MapServer Polygon Test Results

Open Source Geospatial Foundation48 MapServer Point Test Results

Open Source Geospatial Foundation49 MapServer Raster Test Results

Open Source Geospatial Foundation50 FastCGI Configuration Used for MapServer Tests FastCgiServer /var/www/cgi-bin/mapserv.fcgi -processes 8 - initial_env LD_LIBRARY_PATH=/usr/local/lib:/opt/build/instant_client_11_1/li b:/opt/build/arcsde_c_sdk/lib