SlideShare a Scribd company logo
1 of 27
Download to read offline
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

What's hot

Availability and Integrity in hadoop (Strata EU Edition)
Availability and Integrity in hadoop (Strata EU Edition)Availability and Integrity in hadoop (Strata EU Edition)
Availability and Integrity in hadoop (Strata EU Edition)Steve Loughran
 
Optimizing MongoDB: Lessons Learned at Localytics
Optimizing MongoDB: Lessons Learned at LocalyticsOptimizing MongoDB: Lessons Learned at Localytics
Optimizing MongoDB: Lessons Learned at Localyticsandrew311
 
Ceph - High Performance Without High Costs
Ceph - High Performance Without High CostsCeph - High Performance Without High Costs
Ceph - High Performance Without High CostsJonathan Long
 
Some key value stores using log-structure
Some key value stores using log-structureSome key value stores using log-structure
Some key value stores using log-structureZhichao Liang
 
Back to Basics 2017: Introduction to Sharding
Back to Basics 2017: Introduction to ShardingBack to Basics 2017: Introduction to Sharding
Back to Basics 2017: Introduction to ShardingMongoDB
 
[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...
[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...
[db tech showcase Tokyo 2017] C23: Lessons from SQLite4 by SQLite.org - Richa...Insight Technology, Inc.
 
MongoDB Memory Management Demystified
MongoDB Memory Management DemystifiedMongoDB Memory Management Demystified
MongoDB Memory Management DemystifiedMongoDB
 
Strengths and Weaknesses of MongoDB
Strengths and Weaknesses of MongoDBStrengths and Weaknesses of MongoDB
Strengths and Weaknesses of MongoDBlehresman
 
MongoDB Best Practices in AWS
MongoDB Best Practices in AWS MongoDB Best Practices in AWS
MongoDB Best Practices in AWS Chris Harris
 
Using Aggregation for Analytics
Using Aggregation for Analytics Using Aggregation for Analytics
Using Aggregation for Analytics MongoDB
 
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSEUnderstanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSEOpenStack
 
Cloud Backup Overview
Cloud Backup Overview Cloud Backup Overview
Cloud Backup Overview MongoDB
 
Raid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksRaid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksMudit Mishra
 
Sharding Methods for MongoDB
Sharding Methods for MongoDBSharding Methods for MongoDB
Sharding Methods for MongoDBMongoDB
 
MongoDB Aggregation Performance
MongoDB Aggregation PerformanceMongoDB Aggregation Performance
MongoDB Aggregation PerformanceMongoDB
 

What's hot (20)

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

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

Open Source Data Deduplication
Open Source Data DeduplicationOpen Source Data Deduplication
Open Source Data DeduplicationRedWireServices
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Databricks
 
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlStorage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlITCamp
 
OpenDrives_-_Product_Sheet_v13D (2) (1)
OpenDrives_-_Product_Sheet_v13D (2) (1)OpenDrives_-_Product_Sheet_v13D (2) (1)
OpenDrives_-_Product_Sheet_v13D (2) (1)Scott Eiser
 
High performance json- postgre sql vs. mongodb
High performance json- postgre sql vs. mongodbHigh performance json- postgre sql vs. mongodb
High performance json- postgre sql vs. mongodbWei Shan Ang
 
Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?Johnny Miller
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheNicolas Poggi
 
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Community
 
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...Unidesk Corporation
 
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Odinot Stanislas
 
20181210 - PGconf.ASIA Unconference
20181210 - PGconf.ASIA Unconference20181210 - PGconf.ASIA Unconference
20181210 - PGconf.ASIA UnconferenceKohei KaiGai
 
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...JAXLondon2014
 
SSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonSSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonUri Cohen
 
Red Hat Gluster Storage Performance
Red Hat Gluster Storage PerformanceRed Hat Gluster Storage Performance
Red Hat Gluster Storage PerformanceRed_Hat_Storage
 

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

Open Source Data Deduplication
Open Source Data DeduplicationOpen Source Data Deduplication
Open Source Data Deduplication
 
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
Running Apache Spark on a High-Performance Cluster Using RDMA and NVMe Flash ...
 
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlStorage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
 
OpenDrives_-_Product_Sheet_v13D (2) (1)
OpenDrives_-_Product_Sheet_v13D (2) (1)OpenDrives_-_Product_Sheet_v13D (2) (1)
OpenDrives_-_Product_Sheet_v13D (2) (1)
 
High performance json- postgre sql vs. mongodb
High performance json- postgre sql vs. mongodbHigh performance json- postgre sql vs. mongodb
High performance json- postgre sql vs. mongodb
 
Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?Why does my choice of storage matter with cassandra?
Why does my choice of storage matter with cassandra?
 
Accelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket CacheAccelerating HBase with NVMe and Bucket Cache
Accelerating HBase with NVMe and Bucket Cache
 
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
Ceph Day Shanghai - SSD/NVM Technology Boosting Ceph Performance
 
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...
Get Your GeekOn With Ron - Session Two: Local Storage vs Centralized Storage ...
 
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
Hands-on Lab: How to Unleash Your Storage Performance by Using NVM Express™ B...
 
Five steps perform_2009 (1)
Five steps perform_2009 (1)Five steps perform_2009 (1)
Five steps perform_2009 (1)
 
5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance5 Steps to PostgreSQL Performance
5 Steps to PostgreSQL Performance
 
Galaxy Big Data with MariaDB
Galaxy Big Data with MariaDBGalaxy Big Data with MariaDB
Galaxy Big Data with MariaDB
 
SSD PPT BY SAURABH
SSD PPT BY SAURABHSSD PPT BY SAURABH
SSD PPT BY SAURABH
 
Raid
RaidRaid
Raid
 
20181210 - PGconf.ASIA Unconference
20181210 - PGconf.ASIA Unconference20181210 - PGconf.ASIA Unconference
20181210 - PGconf.ASIA Unconference
 
SSD-Bondi.pptx
SSD-Bondi.pptxSSD-Bondi.pptx
SSD-Bondi.pptx
 
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
How to randomly access data in close-to-RAM speeds but a lower cost with SSD’...
 
SSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax LondonSSDs, IMDGs and All the Rest - Jax London
SSDs, IMDGs and All the Rest - Jax London
 
Red Hat Gluster Storage Performance
Red Hat Gluster Storage PerformanceRed Hat Gluster Storage Performance
Red Hat Gluster Storage Performance
 

More from Daniel Kastl

Location-based Task Management
Location-based Task ManagementLocation-based Task Management
Location-based Task ManagementDaniel Kastl
 
Routing in der Datenbank
Routing in der DatenbankRouting in der Datenbank
Routing in der DatenbankDaniel Kastl
 
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...
Shortest Path search in your Database and more with pgRouting - FOSS4G Europe...Daniel Kastl
 
pgRouting 2.0 presentation 2013
pgRouting 2.0 presentation 2013pgRouting 2.0 presentation 2013
pgRouting 2.0 presentation 2013Daniel Kastl
 
Shortest Path search for real road networks with pgRouting
Shortest Path search for real road networks with pgRoutingShortest Path search for real road networks with pgRouting
Shortest Path search for real road networks with pgRoutingDaniel Kastl
 
OSM Japan before and after the Tsunami
OSM Japan before and after the TsunamiOSM Japan before and after the Tsunami
OSM Japan before and after the TsunamiDaniel Kastl
 
Where the streets have no name
Where the streets have no nameWhere the streets have no name
Where the streets have no nameDaniel Kastl
 
pgRouting (Deutsch)
pgRouting (Deutsch)pgRouting (Deutsch)
pgRouting (Deutsch)Daniel Kastl
 
OpenVRP Introduction
OpenVRP IntroductionOpenVRP Introduction
OpenVRP IntroductionDaniel Kastl
 
Shortest Path Search in Real Road Networks with pgRouting
Shortest Path Search in Real Road Networks with pgRoutingShortest Path Search in Real Road Networks with pgRouting
Shortest Path Search in Real Road Networks with pgRoutingDaniel Kastl
 

More from Daniel Kastl (11)

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

Recently uploaded

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 

Recently uploaded (20)

Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 

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)