SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
Tobias Fuchs
fuchst@nm.ifi.lmu.de
Ludwig-Maximilians Universität (LMU) München
DASH Locality Hierarchies
An Information System for Hierarchical Locality
Motivation
Motivation:
Portable efficiency of ported applications like
LULESH and graph applications for heterogeneous
systems
hwloc static hierarchical hardware topology
DASH locality as view from variable run-time configuration
… extended to full distributed topology
… supporting heterogeneous systems, esp. Intel MIC
… designed for use cases like hierarchical graph partitioning
DASH Locality Hierarchies
Trees vs. Reality
We do not model hardware locality as trees
… because many represented systems are anything but trees
DASH Locality Hierarchies
http://frankdenneman.nl/2016/07/11/numa-deep-dive-part-3-cache-coherency/
Related Concepts
Combining existing abstractions
- Hierarchical Place Trees
abstraction of locality scopes and process mapping
- hwloc
node-level machine topology and hardware capacity
focuses at topology discovery (once, at startup) and
provides queries on topology data
Locality Hierarchies
- are specifically designed for user-specified views and modifications of the
topology representation
- are specifically designed for hierarchical process structures (teams)
DASH Locality Hierarchies
Examples: Xeon PHI
DASH Locality Hierarchies
Compute Node with Xeon Phi Accelerators as seen by hwloc
Examples: Xeon PHI
Compute Node with Xeon Phi Accelerators as seen by DASH
DASH Locality Hierarchies
Examples: Xeon PHI
DASH Locality Hierarchies
Examples: Xeon PHI
DASH Locality Hierarchies
Key Functionalities
Why we need locality hierarchies in DART/DASH:
- Locality-optimized grouping of processes into teams
- Load-balancing, requires:
 topology information
… obviously, to find suitable processes for balancing
 hardware capacities
… like number of cores/threads and (shared) memory capacities
available to processes
- Dynamic distance measures: variable at run time instead of static
distance matrix
DASH Locality Hierarchies
Locality Domains
DASH Locality Hierarchies
Splitting / Grouping
DASH Locality Hierarchies
Heterogeneous min_element
DASH Locality Hierarchies
Some fundamental operations on locality hierarchies
Basic principle of usage:
( (filter/select)  (group/split) )*
C API, bindings for Python in development, Fortran bindings feasible
C API
DASH Locality Hierarchies
Usage of C++ API
// split into num_groups teams at NUMA locality scope
auto & new_team = dash::Team::All().locality_split(
dash::util::Locality::Scope::NUMA,
// optional, defaults to one team per locality scope
num_groups);
// split into two teams: leader team and workers
auto & new_team = dash::Team::All().leader_split(
dash::util::Locality::Scope::NODE);
// split into teams by predicate
auto & new_team = dash::Team::All().specific_split(
[](dash::util::LocalityDomain ld) {
// ...
return new_team_id_for_ld;
});
DASH Locality Hierarchies
Leader Groups
DASH Locality Hierarchies
Logical vs. physical
topology
Domain Aliasing
DASH Locality Hierarchies
Splitting / Grouping
DASH Locality Hierarchies
Splitting / Grouping
DASH Locality Hierarchies
Basic Distance Model
DASH Locality Hierarchies
Links
DASH Locality Hierarchies
www.dash-project.org
www.github.com/dash-project
Stand-alone library of DASH locality hierarchies (libdhloc)
available in ~4 weeks

Contenu connexe

Tendances

Introduction to MapReduce
Introduction to MapReduceIntroduction to MapReduce
Introduction to MapReduceHassan A-j
 
Finalprojectpresentation
FinalprojectpresentationFinalprojectpresentation
FinalprojectpresentationSANTOSH WAYAL
 
Repartition join in mapreduce
Repartition join in mapreduceRepartition join in mapreduce
Repartition join in mapreduceUday Vakalapudi
 
Applying stratosphere for big data analytics
Applying stratosphere for big data analyticsApplying stratosphere for big data analytics
Applying stratosphere for big data analyticsAvinash Pandu
 
Stratosphere with big_data_analytics
Stratosphere with big_data_analyticsStratosphere with big_data_analytics
Stratosphere with big_data_analyticsAvinash Pandu
 
3.introduction to map reduce
3.introduction to map reduce3.introduction to map reduce
3.introduction to map reducedatabloginfo
 
Lut optimization for distributed arithmetic based block least mean square ada...
Lut optimization for distributed arithmetic based block least mean square ada...Lut optimization for distributed arithmetic based block least mean square ada...
Lut optimization for distributed arithmetic based block least mean square ada...Ieee Xpert
 
Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)Soumee Maschatak
 
Fundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and HiveFundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and HiveSharjeel Imtiaz
 

Tendances (20)

Hadoop Mapreduce joins
Hadoop Mapreduce joinsHadoop Mapreduce joins
Hadoop Mapreduce joins
 
Map Reduce basics
Map Reduce basicsMap Reduce basics
Map Reduce basics
 
Introduction to MapReduce
Introduction to MapReduceIntroduction to MapReduce
Introduction to MapReduce
 
Ch23
Ch23Ch23
Ch23
 
Finalprojectpresentation
FinalprojectpresentationFinalprojectpresentation
Finalprojectpresentation
 
Repartition join in mapreduce
Repartition join in mapreduceRepartition join in mapreduce
Repartition join in mapreduce
 
Applying stratosphere for big data analytics
Applying stratosphere for big data analyticsApplying stratosphere for big data analytics
Applying stratosphere for big data analytics
 
Spatial Data Model
Spatial Data ModelSpatial Data Model
Spatial Data Model
 
Stratosphere with big_data_analytics
Stratosphere with big_data_analyticsStratosphere with big_data_analytics
Stratosphere with big_data_analytics
 
banian
banianbanian
banian
 
3.introduction to map reduce
3.introduction to map reduce3.introduction to map reduce
3.introduction to map reduce
 
Lut optimization for distributed arithmetic based block least mean square ada...
Lut optimization for distributed arithmetic based block least mean square ada...Lut optimization for distributed arithmetic based block least mean square ada...
Lut optimization for distributed arithmetic based block least mean square ada...
 
What is MapReduce ?
What is MapReduce ?What is MapReduce ?
What is MapReduce ?
 
Vectors and Rasters
Vectors and RastersVectors and Rasters
Vectors and Rasters
 
GIS data structure
GIS data structureGIS data structure
GIS data structure
 
Memory+management
Memory+managementMemory+management
Memory+management
 
Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)Managing Big data Module 3 (1st part)
Managing Big data Module 3 (1st part)
 
Spatial databases
Spatial databasesSpatial databases
Spatial databases
 
Hadoop map reduce concepts
Hadoop map reduce conceptsHadoop map reduce concepts
Hadoop map reduce concepts
 
Fundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and HiveFundamental of Big Data with Hadoop and Hive
Fundamental of Big Data with Hadoop and Hive
 

En vedette (14)

1
11
1
 
1
11
1
 
La vida en las aulas.
La vida en las aulas.La vida en las aulas.
La vida en las aulas.
 
LaACES Payload Box v 3.0
LaACES Payload Box v 3.0LaACES Payload Box v 3.0
LaACES Payload Box v 3.0
 
Perú: España como país inversor y exportador
Perú: España como país inversor y exportadorPerú: España como país inversor y exportador
Perú: España como país inversor y exportador
 
RED NACIONAL ITECNOR
RED NACIONAL  ITECNOR RED NACIONAL  ITECNOR
RED NACIONAL ITECNOR
 
The Prelude - William Wordsworth
The Prelude - William WordsworthThe Prelude - William Wordsworth
The Prelude - William Wordsworth
 
20160924 東京R #57 色々試した変化点検知 異常値検知
20160924 東京R #57 色々試した変化点検知 異常値検知20160924 東京R #57 色々試した変化点検知 異常値検知
20160924 東京R #57 色々試した変化点検知 異常値検知
 
Training evaluation and it's effectiveness
Training evaluation and it's effectivenessTraining evaluation and it's effectiveness
Training evaluation and it's effectiveness
 
Remains - Simon Armitage
Remains - Simon ArmitageRemains - Simon Armitage
Remains - Simon Armitage
 
Remains - Simon Armitage
Remains - Simon ArmitageRemains - Simon Armitage
Remains - Simon Armitage
 
2016 nov22 gdlc02 ntt communications
2016 nov22 gdlc02 ntt communications2016 nov22 gdlc02 ntt communications
2016 nov22 gdlc02 ntt communications
 
AWSとGPUインスタンスのご紹介
AWSとGPUインスタンスのご紹介AWSとGPUインスタンスのご紹介
AWSとGPUインスタンスのご紹介
 
Shell fundamentos de lubricantes
Shell   fundamentos de lubricantesShell   fundamentos de lubricantes
Shell fundamentos de lubricantes
 

Similaire à DASH Locality Hierarchies (PADAL'16)

Expressing and Exploiting Multi-Dimensional Locality in DASH
Expressing and Exploiting Multi-Dimensional Locality in DASHExpressing and Exploiting Multi-Dimensional Locality in DASH
Expressing and Exploiting Multi-Dimensional Locality in DASHMenlo Systems GmbH
 
Seminar_Report_hadoop
Seminar_Report_hadoopSeminar_Report_hadoop
Seminar_Report_hadoopVarun Narang
 
Basics of Distributed Systems - Distributed Storage
Basics of Distributed Systems - Distributed StorageBasics of Distributed Systems - Distributed Storage
Basics of Distributed Systems - Distributed StorageNilesh Salpe
 
Introduction to apache hadoop
Introduction to apache hadoopIntroduction to apache hadoop
Introduction to apache hadoopShashwat Shriparv
 
Hadoop online-training
Hadoop online-trainingHadoop online-training
Hadoop online-trainingGeohedrick
 
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for women
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for womenHadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for women
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for womenmaharajothip1
 
عصر کلان داده، چرا و چگونه؟
عصر کلان داده، چرا و چگونه؟عصر کلان داده، چرا و چگونه؟
عصر کلان داده، چرا و چگونه؟datastack
 
Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component rebeccatho
 
Map Reduce
Map ReduceMap Reduce
Map Reduceopenak
 
Distributed Shared Memory Systems
Distributed Shared Memory SystemsDistributed Shared Memory Systems
Distributed Shared Memory SystemsArush Nagpal
 
Hypertable Distilled by edydkim.github.com
Hypertable Distilled by edydkim.github.comHypertable Distilled by edydkim.github.com
Hypertable Distilled by edydkim.github.comEdward D. Kim
 
Distributed Shared Memory Systems
Distributed Shared Memory SystemsDistributed Shared Memory Systems
Distributed Shared Memory SystemsAnkit Gupta
 
Big data overview of apache hadoop
Big data overview of apache hadoopBig data overview of apache hadoop
Big data overview of apache hadoopveeracynixit
 
Big data overview of apache hadoop
Big data overview of apache hadoopBig data overview of apache hadoop
Big data overview of apache hadoopveeracynixit
 
Taylor bosc2010
Taylor bosc2010Taylor bosc2010
Taylor bosc2010BOSC 2010
 

Similaire à DASH Locality Hierarchies (PADAL'16) (20)

Expressing and Exploiting Multi-Dimensional Locality in DASH
Expressing and Exploiting Multi-Dimensional Locality in DASHExpressing and Exploiting Multi-Dimensional Locality in DASH
Expressing and Exploiting Multi-Dimensional Locality in DASH
 
Unit 1
Unit 1Unit 1
Unit 1
 
Hadoop overview.pdf
Hadoop overview.pdfHadoop overview.pdf
Hadoop overview.pdf
 
Seminar_Report_hadoop
Seminar_Report_hadoopSeminar_Report_hadoop
Seminar_Report_hadoop
 
Resource scheduling
Resource schedulingResource scheduling
Resource scheduling
 
Resource scheduling
Resource schedulingResource scheduling
Resource scheduling
 
Basics of Distributed Systems - Distributed Storage
Basics of Distributed Systems - Distributed StorageBasics of Distributed Systems - Distributed Storage
Basics of Distributed Systems - Distributed Storage
 
Introduction to apache hadoop
Introduction to apache hadoopIntroduction to apache hadoop
Introduction to apache hadoop
 
Hadoop online-training
Hadoop online-trainingHadoop online-training
Hadoop online-training
 
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for women
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for womenHadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for women
Hadoop Maharajathi,II-M.sc.,Computer Science,Bonsecours college for women
 
عصر کلان داده، چرا و چگونه؟
عصر کلان داده، چرا و چگونه؟عصر کلان داده، چرا و چگونه؟
عصر کلان داده، چرا و چگونه؟
 
Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component Introduction to Hadoop and Hadoop component
Introduction to Hadoop and Hadoop component
 
Map Reduce
Map ReduceMap Reduce
Map Reduce
 
Distributed Shared Memory Systems
Distributed Shared Memory SystemsDistributed Shared Memory Systems
Distributed Shared Memory Systems
 
Hypertable Distilled by edydkim.github.com
Hypertable Distilled by edydkim.github.comHypertable Distilled by edydkim.github.com
Hypertable Distilled by edydkim.github.com
 
Distributed Shared Memory Systems
Distributed Shared Memory SystemsDistributed Shared Memory Systems
Distributed Shared Memory Systems
 
Big data overview of apache hadoop
Big data overview of apache hadoopBig data overview of apache hadoop
Big data overview of apache hadoop
 
Big data overview of apache hadoop
Big data overview of apache hadoopBig data overview of apache hadoop
Big data overview of apache hadoop
 
Hadoop ppt2
Hadoop ppt2Hadoop ppt2
Hadoop ppt2
 
Taylor bosc2010
Taylor bosc2010Taylor bosc2010
Taylor bosc2010
 

Dernier

Science (Communication) and Wikipedia - Potentials and Pitfalls
Science (Communication) and Wikipedia - Potentials and PitfallsScience (Communication) and Wikipedia - Potentials and Pitfalls
Science (Communication) and Wikipedia - Potentials and PitfallsDobusch Leonhard
 
Environmental Acoustics- Speech interference level, acoustics calibrator.pptx
Environmental Acoustics- Speech interference level, acoustics calibrator.pptxEnvironmental Acoustics- Speech interference level, acoustics calibrator.pptx
Environmental Acoustics- Speech interference level, acoustics calibrator.pptxpriyankatabhane
 
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxQ4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxtuking87
 
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfReplisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfAtiaGohar1
 
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPRPirithiRaju
 
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...HafsaHussainp
 
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书zdzoqco
 
Explainable AI for distinguishing future climate change scenarios
Explainable AI for distinguishing future climate change scenariosExplainable AI for distinguishing future climate change scenarios
Explainable AI for distinguishing future climate change scenariosZachary Labe
 
whole genome sequencing new and its types including shortgun and clone by clone
whole genome sequencing new  and its types including shortgun and clone by clonewhole genome sequencing new  and its types including shortgun and clone by clone
whole genome sequencing new and its types including shortgun and clone by clonechaudhary charan shingh university
 
How we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxHow we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxJosielynTars
 
Environmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxEnvironmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxpriyankatabhane
 
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Christina Parmionova
 
Abnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxAbnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxzeus70441
 
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11GelineAvendao
 
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...Sérgio Sacani
 
FBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxFBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxPayal Shrivastava
 
The Sensory Organs, Anatomy and Function
The Sensory Organs, Anatomy and FunctionThe Sensory Organs, Anatomy and Function
The Sensory Organs, Anatomy and FunctionJadeNovelo1
 
Oxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxOxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxfarhanvvdk
 
Quarter 4_Grade 8_Digestive System Structure and Functions
Quarter 4_Grade 8_Digestive System Structure and FunctionsQuarter 4_Grade 8_Digestive System Structure and Functions
Quarter 4_Grade 8_Digestive System Structure and FunctionsCharlene Llagas
 

Dernier (20)

Science (Communication) and Wikipedia - Potentials and Pitfalls
Science (Communication) and Wikipedia - Potentials and PitfallsScience (Communication) and Wikipedia - Potentials and Pitfalls
Science (Communication) and Wikipedia - Potentials and Pitfalls
 
Environmental Acoustics- Speech interference level, acoustics calibrator.pptx
Environmental Acoustics- Speech interference level, acoustics calibrator.pptxEnvironmental Acoustics- Speech interference level, acoustics calibrator.pptx
Environmental Acoustics- Speech interference level, acoustics calibrator.pptx
 
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptxQ4-Mod-1c-Quiz-Projectile-333344444.pptx
Q4-Mod-1c-Quiz-Projectile-333344444.pptx
 
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdfReplisome-Cohesin Interfacing A Molecular Perspective.pdf
Replisome-Cohesin Interfacing A Molecular Perspective.pdf
 
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
6.1 Pests of Groundnut_Binomics_Identification_Dr.UPR
 
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...
DOG BITE management in pediatrics # for Pediatric pgs# topic presentation # f...
 
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
办理麦克马斯特大学毕业证成绩单|购买加拿大文凭证书
 
Explainable AI for distinguishing future climate change scenarios
Explainable AI for distinguishing future climate change scenariosExplainable AI for distinguishing future climate change scenarios
Explainable AI for distinguishing future climate change scenarios
 
whole genome sequencing new and its types including shortgun and clone by clone
whole genome sequencing new  and its types including shortgun and clone by clonewhole genome sequencing new  and its types including shortgun and clone by clone
whole genome sequencing new and its types including shortgun and clone by clone
 
How we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptxHow we decide powerpoint presentation.pptx
How we decide powerpoint presentation.pptx
 
Environmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptxEnvironmental acoustics- noise criteria.pptx
Environmental acoustics- noise criteria.pptx
 
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
Charateristics of the Angara-A5 spacecraft launched from the Vostochny Cosmod...
 
Abnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptxAbnormal LFTs rate of deco and NAFLD.pptx
Abnormal LFTs rate of deco and NAFLD.pptx
 
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11
WEEK 4 PHYSICAL SCIENCE QUARTER 3 FOR G11
 
AZOTOBACTER AS BIOFERILIZER.PPTX
AZOTOBACTER AS BIOFERILIZER.PPTXAZOTOBACTER AS BIOFERILIZER.PPTX
AZOTOBACTER AS BIOFERILIZER.PPTX
 
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...
Observation of Gravitational Waves from the Coalescence of a 2.5–4.5 M⊙ Compa...
 
FBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptxFBI Profiling - Forensic Psychology.pptx
FBI Profiling - Forensic Psychology.pptx
 
The Sensory Organs, Anatomy and Function
The Sensory Organs, Anatomy and FunctionThe Sensory Organs, Anatomy and Function
The Sensory Organs, Anatomy and Function
 
Oxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptxOxo-Acids of Halogens and their Salts.pptx
Oxo-Acids of Halogens and their Salts.pptx
 
Quarter 4_Grade 8_Digestive System Structure and Functions
Quarter 4_Grade 8_Digestive System Structure and FunctionsQuarter 4_Grade 8_Digestive System Structure and Functions
Quarter 4_Grade 8_Digestive System Structure and Functions
 

DASH Locality Hierarchies (PADAL'16)

  • 1. Tobias Fuchs fuchst@nm.ifi.lmu.de Ludwig-Maximilians Universität (LMU) München DASH Locality Hierarchies An Information System for Hierarchical Locality
  • 2. Motivation Motivation: Portable efficiency of ported applications like LULESH and graph applications for heterogeneous systems hwloc static hierarchical hardware topology DASH locality as view from variable run-time configuration … extended to full distributed topology … supporting heterogeneous systems, esp. Intel MIC … designed for use cases like hierarchical graph partitioning DASH Locality Hierarchies
  • 3. Trees vs. Reality We do not model hardware locality as trees … because many represented systems are anything but trees DASH Locality Hierarchies http://frankdenneman.nl/2016/07/11/numa-deep-dive-part-3-cache-coherency/
  • 4. Related Concepts Combining existing abstractions - Hierarchical Place Trees abstraction of locality scopes and process mapping - hwloc node-level machine topology and hardware capacity focuses at topology discovery (once, at startup) and provides queries on topology data Locality Hierarchies - are specifically designed for user-specified views and modifications of the topology representation - are specifically designed for hierarchical process structures (teams) DASH Locality Hierarchies
  • 5. Examples: Xeon PHI DASH Locality Hierarchies Compute Node with Xeon Phi Accelerators as seen by hwloc
  • 6. Examples: Xeon PHI Compute Node with Xeon Phi Accelerators as seen by DASH DASH Locality Hierarchies
  • 7. Examples: Xeon PHI DASH Locality Hierarchies
  • 8. Examples: Xeon PHI DASH Locality Hierarchies
  • 9. Key Functionalities Why we need locality hierarchies in DART/DASH: - Locality-optimized grouping of processes into teams - Load-balancing, requires:  topology information … obviously, to find suitable processes for balancing  hardware capacities … like number of cores/threads and (shared) memory capacities available to processes - Dynamic distance measures: variable at run time instead of static distance matrix DASH Locality Hierarchies
  • 11. Splitting / Grouping DASH Locality Hierarchies
  • 13. Some fundamental operations on locality hierarchies Basic principle of usage: ( (filter/select)  (group/split) )* C API, bindings for Python in development, Fortran bindings feasible C API DASH Locality Hierarchies
  • 14. Usage of C++ API // split into num_groups teams at NUMA locality scope auto & new_team = dash::Team::All().locality_split( dash::util::Locality::Scope::NUMA, // optional, defaults to one team per locality scope num_groups); // split into two teams: leader team and workers auto & new_team = dash::Team::All().leader_split( dash::util::Locality::Scope::NODE); // split into teams by predicate auto & new_team = dash::Team::All().specific_split( [](dash::util::LocalityDomain ld) { // ... return new_team_id_for_ld; }); DASH Locality Hierarchies
  • 15. Leader Groups DASH Locality Hierarchies Logical vs. physical topology
  • 17. Splitting / Grouping DASH Locality Hierarchies
  • 18. Splitting / Grouping DASH Locality Hierarchies
  • 19. Basic Distance Model DASH Locality Hierarchies
  • 20. Links DASH Locality Hierarchies www.dash-project.org www.github.com/dash-project Stand-alone library of DASH locality hierarchies (libdhloc) available in ~4 weeks