input output apis and data organization for high
play

Input/Output APIs and Data Organization for High Performance - PowerPoint PPT Presentation

Input/Output APIs and Data Organization for High Performance Scientific Computing November 17, 2008 Petascale Data Storage Institute Workshop at Supercomputing 2008 Jay Lofstead (GT), Fang Zheng (GT), Scott Klasky (ORNL), Karsten Schwan (GT)


  1. Input/Output APIs and Data Organization for High Performance Scientific Computing November 17, 2008 Petascale Data Storage Institute Workshop at Supercomputing 2008 Jay Lofstead (GT), Fang Zheng (GT), Scott Klasky (ORNL), Karsten Schwan (GT) http://www.adiosapi.org 1 Jay Lofstead (lofstead@cc.gatech.edu)

  2. Overview • Motivation • Architecture • Performance http://www.adiosapi.org 2 Jay Lofstead (lofstead@cc.gatech.edu)

  3. Motivation • Many codes write lots of data, but rarely read • TBs of data • different types and sizes • HDF-5 and pNetCDF used • convenient • tool integration • portable format http://www.adiosapi.org 3 Jay Lofstead (lofstead@cc.gatech.edu)

  4. Performance/Resilience Challenges • pNetCDF • “right sized” header • coordination for each data declaration • data stored as logically described • HDF-5 • b-tree format • coordination for each data declaration • single metadata store vulnerable to corruption. http://www.adiosapi.org 4 Jay Lofstead (lofstead@cc.gatech.edu)

  5. Architecture (ADIOS) • Change IO method by Scientific Codes External changing XML file Metadata (XML file) • Switch between ADIOS API synchronous and buffering schedule feedback asynchronous POSIX IO MPI ‐ IO LIVE/DataTap DART HDF ‐ 5 pnetCDF Viz Engines Others (plug ‐ in) • Hook into other systems like visualization and workflow http://www.adiosapi.org 5 Jay Lofstead (lofstead@cc.gatech.edu)

  6. Architecture (BP) • Individual outputs into “process group” segments • Metadata indices next • Index offsets and version flag at end Process Process Process Process Vars Attributes Index Offsets Group 1 Group 2 ... Group n Group Index Index Index and Version # http://www.adiosapi.org 6 Jay Lofstead (lofstead@cc.gatech.edu)

  7. Resilience Features • Random node failure • timeouts • mark index entries as suspect • Root node failure • scan file to rebuild index • use local size values to find offsets http://www.adiosapi.org 7 Jay Lofstead (lofstead@cc.gatech.edu)

  8. Data Characteristics • Identify file contents efficiently • min/max • local array sizes • Local-only makes it “free” • no communication • Indices for summaries/direct access • copies for resilience http://www.adiosapi.org 8 Jay Lofstead (lofstead@cc.gatech.edu)

  9. Architecture (Strategy) • ADIOS API for flexibility • Use PHDF-5/PNetCDF during development for “correctness” • Use POSIX/MPI-IO methods (BP output format) during production runs for performance http://www.adiosapi.org 9 Jay Lofstead (lofstead@cc.gatech.edu)

  10. Performance Overview • Chimera (supernova) (8192 processes) • relatively small writes (~1 MB per process) • 1400 seconds pHDF-5 vs. 1.4 seconds POSIX (or 10 seconds MPI-IO independent) • GTC (fusion) (29,000 processes) • 25 GB/sec (out of 40 GB/sec theoretical max) writing restarts • 3% of wall clock time spent on IO • > 60 TB of total output http://www.adiosapi.org 10 Jay Lofstead (lofstead@cc.gatech.edu)

  11. Performance Overview • Collecting characteristics unmeasurable • 10, 50, 100 million entry arrays per processes • 128-2048 processes • weak scaling http://www.adiosapi.org 11 Jay Lofstead (lofstead@cc.gatech.edu)

  12. Performance Overview • Data conversion • Chimera 8192 process run took 117 seconds to convert to HDF-5 (compare 1400 seconds to write directly) on a single process • Other tests have shown linear conversion performance with size Parallel conversion will be faster... http://www.adiosapi.org 12 Jay Lofstead (lofstead@cc.gatech.edu)

  13. Summary • Use ADIOS API • selectively choose consistency • BP intermediate format • performance • resilience • later convert to HDF-5/NetCDF Questions? http://www.adiosapi.org 13 Jay Lofstead (lofstead@cc.gatech.edu)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend