SlideShare uma empresa Scribd logo
1 de 27
Baixar para ler 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)

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Semelhante a 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
 

Semelhante a 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
 

Mais de 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
 

Mais de 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
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Último (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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)