SlideShare a Scribd company logo
Speed up your GIS server
       GIS software on solid-state drives (SSD)




FOSS4G2011 - #1   GIS software on solid-state drives (SSD)
Speed up your GIS server
        GIS software on solid-state drives (SSD)




     Seongbong Kim                                Daniel Kastl
KimSeongbong@next-group.jp                 daniel@georepublic.de



 FOSS4G2011 - #2   GIS software on solid-state drives (SSD)
Motivation
●
    Involved in pgRouting project
●
    Lots of questions about
    performance
●
    pgRouting's bottleneck is
    loading data from hard disks
    into memory
●
    How to be as fast as Google?

            There is no simple answer ...

    FOSS4G2011 - #3   GIS software on solid-state drives (SSD)
… what about running

  PostgreSQL/pgRouting on SSD?




FOSS4G2011 - #4   GIS software on solid-state drives (SSD)
Who is using SSD with a laptop?




FOSS4G2011 - #5   GIS software on solid-state drives (SSD)
Who is using SSD on a server?




FOSS4G2011 - #6   GIS software on solid-state drives (SSD)
What is a solid-state drive?
A solid-state drive (SSD) is a data storage device that
uses solid-state memory to store persistent data with the
intention of providing access in the same manner of a
traditional block i/o hard disk drive.
SSDs are distinguished from traditional hard disk drives
(HDDs), which are electromechanical devices containing
spinning disks and movable read/write heads.
In contrast, SSDs use microchips which retain data in non-
volatile memory chips and contain no moving parts.

                                                           http://en.wikipedia.org/wiki/Solid-state_drive




   FOSS4G2011 - #7   GIS software on solid-state drives (SSD)
SSD vs. HDD (1)
  Characteristic            Solid-state drive                    Hard disk drive

   Spin-up time                      short                            long

Random access time                 ~ 0.1 ms                         5-10 ms

 Read latency time                   short                            long

Read performance                 consistent                          varying

   Moving parts                        no                             yes

   Weight/size                     smaller                           larger

  Write longevity            type dependent                        unlimited

    FOSS4G2011 - #8   GIS software on solid-state drives (SSD)
SSD vs. HDD (2)
  Characteristic             Solid-state drive                    Hard disk drive

 Parallel operation                possible                             no

  Shock, altitude,
                                   resistant                       not resistant
     vibration
     Magnetic
                                        no                           possible
   susceptibility

Software encryption                 limited                            yes

  Costs (energy)                     lower                             high

  Costs (capacity)                    high                            “low”

     FOSS4G2011 - #9   GIS software on solid-state drives (SSD)
MLC vs. SLC
Multi-Level-Cell                               Single-Level-Cell
●
    shorter lifespan                            ●
                                                    longer lifespan
    (10.000 write cycles)                           (100.000 write cycles)
●
    higher data density                         ●
                                                    lower data density
●
    slower throughput                           ●
                                                    higher throughput
●
    less efficient writing                      ●
                                                    more efficient writing
●
    less expensive                              ●
                                                    more expensive

    FOSS4G2011 - #10   GIS software on solid-state drives (SSD)
Test Server Specification
Model Name              Intel(R) Xeon(R) CPU - E5620 @ 2.40GHz
Processors              6
CPU cores               4
Cache Size              12.288 KB
Total Memory 24.675.980 KB (24 GB)
RAID                    0
Total SSD               750 GB (SLC)
OS                      CentOS 5.6

     FOSS4G2011 - #11   GIS software on solid-state drives (SSD)
Benchmark




FOSS4G2011 - #12   GIS software on solid-state drives (SSD)
Data & Tools
●
    Geodata
    ●
        Raster: Landsat imagery North America
    ●
        Vector: OpenStreetMap Planet

●
    Processing
    ●
        PostgreSQL import with Imposm
    ●
        Image processing with GDAL
    ●
        Routing topology with osm2po
    ●
        Image rendering with Mapserver (Fast CGI)

    FOSS4G2011 - #13   GIS software on solid-state drives (SSD)
Ambitious Plans
●
    File system benchmarks
●
    WMS map rendering from raster data
●
    WMS map rendering from vector data (DB)
●
    Tile seeding from raster data
●
    Tile seeding from vector data (DB)
●
    Serving from tile cache

    FOSS4G2011 - #14   GIS software on solid-state drives (SSD)
Reality
●
    File system benchmarks
●
    WMS map rendering from raster data
●
    WMS map rendering from vector data (DB)
●
    Tile seeding from raster data
●
    Tile seeding from vector data (DB)
●
    Serving from tile cache

    FOSS4G2011 - #15   GIS software on solid-state drives (SSD)
Benchmarking Tools
●
    Apache JMeter for WMS
●
    pgBench for PostgreSQL
●
    FIO for file system



                       => WMS Shootout



    FOSS4G2011 - #16   GIS software on solid-state drives (SSD)
File I/O Benchmark
4000



3500



3000



2500                                                                                  16k
                                                                                      32k
                                                                                      64k
2000                                                                                  128k
                                                                                      256k
                                                                                      512k
                                                                                      1024k
1500



1000



500



  0
        Sequential Read      Sequential Write       Random Read        Random Write




       FOSS4G2011 - #17     GIS software on solid-state drives (SSD)
FOSS4G2011 - #18   GIS software on solid-state drives (SSD)
FOSS4G2011 - #19   GIS software on solid-state drives (SSD)
FOSS4G2011 - #20   GIS software on solid-state drives (SSD)
FOSS4G2011 - #21   GIS software on solid-state drives (SSD)
Use Case - VOD or FTP
Requirements
●
    Mainly reading access
●
    Fast read rate
●
    Serving data
Example
●
    Tile server
●
    Data server
                                                                  http://www.maptiler.org/




    FOSS4G2011 - #22   GIS software on solid-state drives (SSD)
Use Case - DB / FS only
Requirements
●
    Combined writing
    and reading access
●
    Fast read rate
Examples
●
    Geo-database
●
    Map rendering
●
    Data processing

    FOSS4G2011 - #23   GIS software on solid-state drives (SSD)
Lessons Learned
●
    Different field of expertize
●
    Relatively small amount of community
    resources
●
    Standards & best practices
●
    Comparability
●
    PostgreSQL/PostGIS – how to tune it right?


      … well, everyone asks for benchmarks

    FOSS4G2011 - #24    GIS software on solid-state drives (SSD)
FOSS4G2011 - #25   GIS software on solid-state drives (SSD)
Want to benchmark your
     Open Source software?




FOSS4G2011 - #26   GIS software on solid-state drives (SSD)
Thank you!


                      LSD Tech Korea
          KimSeongbong@next-group.jp
                   daniel@georepublic.de


FOSS4G2011 - #27     GIS software on solid-state drives (SSD)

More Related Content

PPTX
Accelerating hbase with nvme and bucket cache
PDF
FDW-based Sharding Update and Future
PDF
DaStor/Cassandra report for CDR solution
PDF
Hpux AdvFS On Disk Structure Scoping
PPTX
Webinar: Understanding Storage for Performance and Data Safety
PPTX
Performance Tipping Points - Hitting Hardware Bottlenecks
PPTX
Couchbase Overview - Monterey Bay Information Technologists Meetup 02.15.17
PPT
Optimizing MongoDB: Lessons Learned at Localytics
Accelerating hbase with nvme and bucket cache
FDW-based Sharding Update and Future
DaStor/Cassandra report for CDR solution
Hpux AdvFS On Disk Structure Scoping
Webinar: Understanding Storage for Performance and Data Safety
Performance Tipping Points - Hitting Hardware Bottlenecks
Couchbase Overview - Monterey Bay Information Technologists Meetup 02.15.17
Optimizing MongoDB: Lessons Learned at Localytics

What's hot (20)

PPTX
Availability and Integrity in hadoop (Strata EU Edition)
PDF
WSDM09-keynote
PDF
Optimizing MongoDB: Lessons Learned at Localytics
PPTX
RAIDZ on-disk format vs. small blocks
PPTX
Ceph - High Performance Without High Costs
KEY
PPTX
Some key value stores using log-structure
PPTX
Back to Basics 2017: Introduction to Sharding
PDF
[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...
PPTX
MongoDB Memory Management Demystified
KEY
Strengths and Weaknesses of MongoDB
KEY
MongoDB Best Practices in AWS
PPTX
Using Aggregation for Analytics
PDF
PDF
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
PPTX
Cloud Backup Overview
DOCX
Raid- Redundant Array of Inexpensive Disks
PDF
Openstorage Openstack
PPTX
Sharding Methods for MongoDB
PPTX
MongoDB Aggregation Performance
Availability and Integrity in hadoop (Strata EU Edition)
WSDM09-keynote
Optimizing MongoDB: Lessons Learned at Localytics
RAIDZ on-disk format vs. small blocks
Ceph - High Performance Without High Costs
Some key value stores using log-structure
Back to Basics 2017: Introduction to Sharding
[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...
MongoDB Memory Management Demystified
Strengths and Weaknesses of MongoDB
MongoDB Best Practices in AWS
Using Aggregation for Analytics
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Cloud Backup Overview
Raid- Redundant Array of Inexpensive Disks
Openstorage Openstack
Sharding Methods for MongoDB
MongoDB Aggregation Performance
Ad

Similar to Speed up your GIS server - run GIS software on solid-state drives (SSD) (20)

PDF
An Overview of Flash Storage for Databases
PPT
Nachos Extra Points
PDF
Blue Gene Active Storage
PDF
Using Storage Class Memory
PDF
Sigmod08ssd slides
PDF
Database & Technology 1 _ Guy Harrison _ Making the most of SSD in Oracle11g.pdf
PPTX
Making the most of ssd in oracle11g
PDF
[G2]fa ce deview_2012
KEY
Castle enhanced Cassandra
PDF
Bigtable and Dynamo
PDF
Application acceleration from the data storage perspective
PDF
USENIX LISA11 Tutorial: ZFS a
PDF
Digital Image Processing and gis software systems
PDF
google Bigtable
PPTX
Top Technology Trends
PDF
Nachos 2
PDF
Nachos 2
PDF
Overview and current topics in solid state storage
PDF
Data Footprint Reduction: Understanding IBM Storage Options
PDF
Data Footprint Reduction: Understanding IBM Storage Options
An Overview of Flash Storage for Databases
Nachos Extra Points
Blue Gene Active Storage
Using Storage Class Memory
Sigmod08ssd slides
Database & Technology 1 _ Guy Harrison _ Making the most of SSD in Oracle11g.pdf
Making the most of ssd in oracle11g
[G2]fa ce deview_2012
Castle enhanced Cassandra
Bigtable and Dynamo
Application acceleration from the data storage perspective
USENIX LISA11 Tutorial: ZFS a
Digital Image Processing and gis software systems
google Bigtable
Top Technology Trends
Nachos 2
Nachos 2
Overview and current topics in solid state storage
Data Footprint Reduction: Understanding IBM Storage Options
Data Footprint Reduction: Understanding IBM Storage Options
Ad

More from Daniel Kastl (11)

PDF
Location-based Task Management
PDF
Routing in der Datenbank
PDF
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
PDF
pgRouting 2.0 presentation 2013
PDF
Shortest Path search for real road networks with pgRouting
PDF
OSM Japan before and after the Tsunami
PDF
Where the streets have no name
PDF
pgRouting (Deutsch)
PDF
OpenVRP (Deutsch)
PDF
OpenVRP Introduction
PDF
Shortest Path Search in Real Road Networks with pgRouting
Location-based Task Management
Routing in der Datenbank
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
pgRouting 2.0 presentation 2013
Shortest Path search for real road networks with pgRouting
OSM Japan before and after the Tsunami
Where the streets have no name
pgRouting (Deutsch)
OpenVRP (Deutsch)
OpenVRP Introduction
Shortest Path Search in Real Road Networks with pgRouting

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Tartificialntelligence_presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PDF
Approach and Philosophy of On baking technology
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Spectral efficient network and resource selection model in 5G networks
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
SOPHOS-XG Firewall Administrator PPT.pptx
Encapsulation theory and applications.pdf
Empathic Computing: Creating Shared Understanding
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
1. Introduction to Computer Programming.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Advanced methodologies resolving dimensionality complications for autism neur...
Tartificialntelligence_presentation.pptx
Electronic commerce courselecture one. Pdf
Approach and Philosophy of On baking technology
Assigned Numbers - 2025 - Bluetooth® Document
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
gpt5_lecture_notes_comprehensive_20250812015547.pdf

Speed up your GIS server - run GIS software on solid-state drives (SSD)

  • 1. Speed up your GIS server GIS software on solid-state drives (SSD) FOSS4G2011 - #1 GIS software on solid-state drives (SSD)
  • 2. Speed up your GIS server GIS software on solid-state drives (SSD) Seongbong Kim Daniel Kastl KimSeongbong@next-group.jp daniel@georepublic.de FOSS4G2011 - #2 GIS software on solid-state drives (SSD)
  • 3. Motivation ● Involved in pgRouting project ● Lots of questions about performance ● pgRouting's bottleneck is loading data from hard disks into memory ● How to be as fast as Google? There is no simple answer ... FOSS4G2011 - #3 GIS software on solid-state drives (SSD)
  • 4. … what about running PostgreSQL/pgRouting on SSD? FOSS4G2011 - #4 GIS software on solid-state drives (SSD)
  • 5. Who is using SSD with a laptop? FOSS4G2011 - #5 GIS software on solid-state drives (SSD)
  • 6. Who is using SSD on a server? FOSS4G2011 - #6 GIS software on solid-state drives (SSD)
  • 7. What is a solid-state drive? A solid-state drive (SSD) is a data storage device that uses solid-state memory to store persistent data with the intention of providing access in the same manner of a traditional block i/o hard disk drive. SSDs are distinguished from traditional hard disk drives (HDDs), which are electromechanical devices containing spinning disks and movable read/write heads. In contrast, SSDs use microchips which retain data in non- volatile memory chips and contain no moving parts. http://en.wikipedia.org/wiki/Solid-state_drive FOSS4G2011 - #7 GIS software on solid-state drives (SSD)
  • 8. SSD vs. HDD (1) Characteristic Solid-state drive Hard disk drive Spin-up time short long Random access time ~ 0.1 ms 5-10 ms Read latency time short long Read performance consistent varying Moving parts no yes Weight/size smaller larger Write longevity type dependent unlimited FOSS4G2011 - #8 GIS software on solid-state drives (SSD)
  • 9. SSD vs. HDD (2) Characteristic Solid-state drive Hard disk drive Parallel operation possible no Shock, altitude, resistant not resistant vibration Magnetic no possible susceptibility Software encryption limited yes Costs (energy) lower high Costs (capacity) high “low” FOSS4G2011 - #9 GIS software on solid-state drives (SSD)
  • 10. MLC vs. SLC Multi-Level-Cell Single-Level-Cell ● shorter lifespan ● longer lifespan (10.000 write cycles) (100.000 write cycles) ● higher data density ● lower data density ● slower throughput ● higher throughput ● less efficient writing ● more efficient writing ● less expensive ● more expensive FOSS4G2011 - #10 GIS software on solid-state drives (SSD)
  • 11. Test Server Specification Model Name Intel(R) Xeon(R) CPU - E5620 @ 2.40GHz Processors 6 CPU cores 4 Cache Size 12.288 KB Total Memory 24.675.980 KB (24 GB) RAID 0 Total SSD 750 GB (SLC) OS CentOS 5.6 FOSS4G2011 - #11 GIS software on solid-state drives (SSD)
  • 12. Benchmark FOSS4G2011 - #12 GIS software on solid-state drives (SSD)
  • 13. Data & Tools ● Geodata ● Raster: Landsat imagery North America ● Vector: OpenStreetMap Planet ● Processing ● PostgreSQL import with Imposm ● Image processing with GDAL ● Routing topology with osm2po ● Image rendering with Mapserver (Fast CGI) FOSS4G2011 - #13 GIS software on solid-state drives (SSD)
  • 14. Ambitious Plans ● File system benchmarks ● WMS map rendering from raster data ● WMS map rendering from vector data (DB) ● Tile seeding from raster data ● Tile seeding from vector data (DB) ● Serving from tile cache FOSS4G2011 - #14 GIS software on solid-state drives (SSD)
  • 15. Reality ● File system benchmarks ● WMS map rendering from raster data ● WMS map rendering from vector data (DB) ● Tile seeding from raster data ● Tile seeding from vector data (DB) ● Serving from tile cache FOSS4G2011 - #15 GIS software on solid-state drives (SSD)
  • 16. Benchmarking Tools ● Apache JMeter for WMS ● pgBench for PostgreSQL ● FIO for file system => WMS Shootout FOSS4G2011 - #16 GIS software on solid-state drives (SSD)
  • 17. File I/O Benchmark 4000 3500 3000 2500 16k 32k 64k 2000 128k 256k 512k 1024k 1500 1000 500 0 Sequential Read Sequential Write Random Read Random Write FOSS4G2011 - #17 GIS software on solid-state drives (SSD)
  • 18. FOSS4G2011 - #18 GIS software on solid-state drives (SSD)
  • 19. FOSS4G2011 - #19 GIS software on solid-state drives (SSD)
  • 20. FOSS4G2011 - #20 GIS software on solid-state drives (SSD)
  • 21. FOSS4G2011 - #21 GIS software on solid-state drives (SSD)
  • 22. Use Case - VOD or FTP Requirements ● Mainly reading access ● Fast read rate ● Serving data Example ● Tile server ● Data server http://www.maptiler.org/ FOSS4G2011 - #22 GIS software on solid-state drives (SSD)
  • 23. Use Case - DB / FS only Requirements ● Combined writing and reading access ● Fast read rate Examples ● Geo-database ● Map rendering ● Data processing FOSS4G2011 - #23 GIS software on solid-state drives (SSD)
  • 24. Lessons Learned ● Different field of expertize ● Relatively small amount of community resources ● Standards & best practices ● Comparability ● PostgreSQL/PostGIS – how to tune it right? … well, everyone asks for benchmarks FOSS4G2011 - #24 GIS software on solid-state drives (SSD)
  • 25. FOSS4G2011 - #25 GIS software on solid-state drives (SSD)
  • 26. Want to benchmark your Open Source software? FOSS4G2011 - #26 GIS software on solid-state drives (SSD)
  • 27. Thank you! LSD Tech Korea KimSeongbong@next-group.jp daniel@georepublic.de FOSS4G2011 - #27 GIS software on solid-state drives (SSD)