SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
Parallel Sorting on
a Spatial Computer
21 October 2012
RACES workshop at SPLASH’12
Max Orhai and Andrew P. Black
Portland State University
Maseeh College of
Engineering and
Computer Science
Undergraduate Research
and Mentoring Program
Supported by
a gift from
IBM Research
what is a spatial computer?
a networked system of computing devices
distributed through a physical space, in which:
1. the difficulty of moving information between
any two devices depends on the physical
distance between them, and
2. the functional goals of the system are defined
in terms of the system’s spatial structure.
(definition based on 2012 Spatial Computing Workshop)
the ‘problem’
the ‘solution’
2
are these spatial computers?
Inmos transputer array
(early 1980s)
XMOS XMP-64
dev kit (2010)
Tilera Tile64 (2008)
↝
asynchronous logic automata
cell (Chen 2009)
cell matrix tile
(Macias & Durbeck 2009)
GreenArrays GA144
asynchronous stack
machine array
(2010)
fine-grained coarse-grained
3
a spatial computer is
a networked system of computing devices
distributed through a physical space, in which:
1. the difficulty of moving information between
any two devices depends on the physical
distance between them, and
2. the functional goals of the system are defined
in terms of the system’s spatial structure.
the ‘problem’
the ‘solution’
4
spatial computing offers real insights into
1. the costs and constraints of
communication in large parallel
computer arrays
2. how to design algorithms that respect
these costs and constraints
match the communication
structure of the program to
the physical structure of the
computer network
message of this talk
5
our example: collision sort
space ∼
particles ∼
collisions ∼
order
data
comparisons
simulation physics computing machinery
goal:
arrange particles by color
➡
distributed computation of a
global solution using only
local information and
minimal communication
approach:
an entropy-reducing
particle system
6
darker lighter
collision sort: mechanism
space ∼
particles ∼
collisions ∼
order
data
comparisons
physics computation
7
multi-way collisions quantize time
‘boundary
collisions’
always cause
rebound
a b c d
in a single step, the color of
particle b is compared with
the average color of
overlapping particles a and c
(a + c) / 2 b
collision sort: mechanism
space ∼
particles ∼
collisions ∼
patches of space ∼
motion between patches ∼
order
data
comparisons
processors
message-passing
physics computation
loop (one step):
• accept incoming particles
from neighbors
• detect collisions and alter
velocities accordingly
• increment positions,
sending outgoing particles
to neighbors
8
patches quantize space
collisions across patches
are not detected!
0
360
steps
time
100
particles
constant
speed:
0.1
patch-widths
per step
collision sort: low speed
9
0
40
steps
time
100
particles
constant
speed:
0.9
patch-widths
per step
collision sort: high speed
10
0
40
steps
time
100
particles
speeds
proportional
to color
differences
maximum
speed:
0.9
patch-widths
per step
collision sort: variable speed
11
0
40
steps
time
200
particles
speeds
proportional
to color
differences
maximum
speed:
0.9
patch-widths
per step
collision sort: more data
12
0
40
steps
time
collision sort: worst case?
200
particles
in reverse
order
proportional
speeds
maximum
speed:
0.9
patch-widths
per step
13
0
40
steps
time
collision sort: worst case?
200
particles
in two sorted
subsequences
proportional
speeds
maximum
speed:
0.9
patch-widths
per step
14
collision sort: in 2D
1000
particles
each with
both blue and
green values
proportional
speeds
maximum
speed:
0.9
patch-widths
per step per axis
15
darker lighter
darkerlighter
the total cost of any parallel
algorithm is a combination of
local computation costs and
communication costs
for simplicity, we assume that
local computation is cheap,
and focus on the
cost of communication
between system components
collision sort: performance
16
because each processor need only
• receive at most one and
• send at most one message
per neighbor during each loop cycle,
communication cost is the minimum possible,
under these assumptions:
• a one-patch-per-step information speed limit
• message cost independent of message size
• local computation is free
A
B
messages may
convey multiple
particles
collision sort: performance
17
what about component failure?
if messages are acknowledged, then
any ‘undeliverable’ particles can
simply have their velocities reversed,
just as in a boundary collision:
particle bounce ↜ message bounce
fault tolerance is an ‘emergent
property’ of this rule!
collision sort: performance
18
collision sort: fault-tolerance
19
research efforts:
• MIT CSAIL amorphous computing
project, c. 2000
↝ BBN Proto language
• Laboratoire IBISC (Computer
Science, Systems Biology and
Complex Systems) at U. d’Evry
↝ MGS topological
simulation language
• abstract geometric computation
(continuous signal machines)
D. Duchier, J. Durand-Lose,
M. Senot at U. d’Orleans
application domains:
• large-scale sensor networks
• distributed control systems
• mobile robot swarms
• biological modeling
• computability theory
related work: spatial computing
20
conclusion
large-scale parallel computer arrays
can be spatial computer systems, if
programmed in a way that respects
physical distances.
spatial computing gives us a cost model
that approximates the physics of
information transmission, and that
leverages our intuition about physical
objects to design concurrent algorithms.
Tilera processor arrays
21
references:
• http://www.spatial-computing.org
• http://www.greenarraychips.com/
• http://www.tilera.com/
• http://www.xmos.com/
• Abelson et al. Amorphous computing. Communications of the ACM 2000.
• Gershernfeld et al. Reconfigurable asynchronous logic automata (RALA).
POPL 2010.
• Macias & Durbeck. The Cell Matrix: an architecture for nanocomputing.
Nanotechnology 2001.
• Duchier, Durand-Lose, and Senot. Solving Q-SAT in bounded space and time
by geometrical computation. 7th Intl. Conf. Computability in Europe 2011.

Mais conteúdo relacionado

Semelhante a Parallel Sorting on a Spatial Computer

Iaetsd modified artificial potential fields algorithm for mobile robot path ...
Iaetsd modified  artificial potential fields algorithm for mobile robot path ...Iaetsd modified  artificial potential fields algorithm for mobile robot path ...
Iaetsd modified artificial potential fields algorithm for mobile robot path ...Iaetsd Iaetsd
 
"An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ..."An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ...butest
 
Computing Just What You Need: Online Data Analysis and Reduction at Extreme ...
Computing Just What You Need: Online Data Analysis and Reduction  at Extreme ...Computing Just What You Need: Online Data Analysis and Reduction  at Extreme ...
Computing Just What You Need: Online Data Analysis and Reduction at Extreme ...Ian Foster
 
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic FlowUsing Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic FlowIJCSIS Research Publications
 
Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free NetworksGabriele D'Angelo
 
Machine learning applications in aerospace domain
Machine learning applications in aerospace domainMachine learning applications in aerospace domain
Machine learning applications in aerospace domain홍배 김
 
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...The Einstein Toolkit: A Community Computational Infrastructure for Relativist...
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...University of Illinois at Urbana-Champaign
 
Information 2014_5_28-100
Information 2014_5_28-100Information 2014_5_28-100
Information 2014_5_28-100Subrata Ghosh
 
Quantum computing and machine learning overview
Quantum computing and machine learning overviewQuantum computing and machine learning overview
Quantum computing and machine learning overviewColleen Farrelly
 
report2.doc
report2.docreport2.doc
report2.docbutest
 
Classification of Big Data Use Cases by different Facets
Classification of Big Data Use Cases by different FacetsClassification of Big Data Use Cases by different Facets
Classification of Big Data Use Cases by different FacetsGeoffrey Fox
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions Gabriele D'Angelo
 
Ec8551 communication networks mcq question bank
Ec8551   communication networks mcq question bank Ec8551   communication networks mcq question bank
Ec8551 communication networks mcq question bank JAIGANESH SEKAR
 
Topological Data Analysis of Complex Spatial Systems
Topological Data Analysis of Complex Spatial SystemsTopological Data Analysis of Complex Spatial Systems
Topological Data Analysis of Complex Spatial SystemsMason Porter
 

Semelhante a Parallel Sorting on a Spatial Computer (20)

Iaetsd modified artificial potential fields algorithm for mobile robot path ...
Iaetsd modified  artificial potential fields algorithm for mobile robot path ...Iaetsd modified  artificial potential fields algorithm for mobile robot path ...
Iaetsd modified artificial potential fields algorithm for mobile robot path ...
 
"An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ..."An adaptive modular approach to the mining of sensor network ...
"An adaptive modular approach to the mining of sensor network ...
 
Computing Just What You Need: Online Data Analysis and Reduction at Extreme ...
Computing Just What You Need: Online Data Analysis and Reduction  at Extreme ...Computing Just What You Need: Online Data Analysis and Reduction  at Extreme ...
Computing Just What You Need: Online Data Analysis and Reduction at Extreme ...
 
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic FlowUsing Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
Using Genetic Algorithm for Shortest Path Selection with Real Time Traffic Flow
 
Simulation of Scale-Free Networks
Simulation of Scale-Free NetworksSimulation of Scale-Free Networks
Simulation of Scale-Free Networks
 
Machine learning applications in aerospace domain
Machine learning applications in aerospace domainMachine learning applications in aerospace domain
Machine learning applications in aerospace domain
 
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...The Einstein Toolkit: A Community Computational Infrastructure for Relativist...
The Einstein Toolkit: A Community Computational Infrastructure for Relativist...
 
Information 2014_5_28-100
Information 2014_5_28-100Information 2014_5_28-100
Information 2014_5_28-100
 
Quantum computing and machine learning overview
Quantum computing and machine learning overviewQuantum computing and machine learning overview
Quantum computing and machine learning overview
 
report2.doc
report2.docreport2.doc
report2.doc
 
Quantum computers
Quantum computersQuantum computers
Quantum computers
 
Space time & power.
Space time & power.Space time & power.
Space time & power.
 
Classification of Big Data Use Cases by different Facets
Classification of Big Data Use Cases by different FacetsClassification of Big Data Use Cases by different Facets
Classification of Big Data Use Cases by different Facets
 
CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...
CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...
CLIM Program: Remote Sensing Workshop, An Introduction to Systems and Softwar...
 
Ca36464468
Ca36464468Ca36464468
Ca36464468
 
From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions From Simulation to Online Gaming: the need for adaptive solutions
From Simulation to Online Gaming: the need for adaptive solutions
 
Ec8551 communication networks mcq question bank
Ec8551   communication networks mcq question bank Ec8551   communication networks mcq question bank
Ec8551 communication networks mcq question bank
 
Topological Data Analysis of Complex Spatial Systems
Topological Data Analysis of Complex Spatial SystemsTopological Data Analysis of Complex Spatial Systems
Topological Data Analysis of Complex Spatial Systems
 
November 30, Projects
November 30, ProjectsNovember 30, Projects
November 30, Projects
 
Trends in it
Trends in itTrends in it
Trends in it
 

Último

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
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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
 
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
 
[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
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
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
 

Último (20)

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
 
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
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
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 ...
 
[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
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Parallel Sorting on a Spatial Computer

  • 1. Parallel Sorting on a Spatial Computer 21 October 2012 RACES workshop at SPLASH’12 Max Orhai and Andrew P. Black Portland State University Maseeh College of Engineering and Computer Science Undergraduate Research and Mentoring Program Supported by a gift from IBM Research
  • 2. what is a spatial computer? a networked system of computing devices distributed through a physical space, in which: 1. the difficulty of moving information between any two devices depends on the physical distance between them, and 2. the functional goals of the system are defined in terms of the system’s spatial structure. (definition based on 2012 Spatial Computing Workshop) the ‘problem’ the ‘solution’ 2
  • 3. are these spatial computers? Inmos transputer array (early 1980s) XMOS XMP-64 dev kit (2010) Tilera Tile64 (2008) ↝ asynchronous logic automata cell (Chen 2009) cell matrix tile (Macias & Durbeck 2009) GreenArrays GA144 asynchronous stack machine array (2010) fine-grained coarse-grained 3
  • 4. a spatial computer is a networked system of computing devices distributed through a physical space, in which: 1. the difficulty of moving information between any two devices depends on the physical distance between them, and 2. the functional goals of the system are defined in terms of the system’s spatial structure. the ‘problem’ the ‘solution’ 4
  • 5. spatial computing offers real insights into 1. the costs and constraints of communication in large parallel computer arrays 2. how to design algorithms that respect these costs and constraints match the communication structure of the program to the physical structure of the computer network message of this talk 5
  • 6. our example: collision sort space ∼ particles ∼ collisions ∼ order data comparisons simulation physics computing machinery goal: arrange particles by color ➡ distributed computation of a global solution using only local information and minimal communication approach: an entropy-reducing particle system 6 darker lighter
  • 7. collision sort: mechanism space ∼ particles ∼ collisions ∼ order data comparisons physics computation 7 multi-way collisions quantize time ‘boundary collisions’ always cause rebound a b c d in a single step, the color of particle b is compared with the average color of overlapping particles a and c (a + c) / 2 b
  • 8. collision sort: mechanism space ∼ particles ∼ collisions ∼ patches of space ∼ motion between patches ∼ order data comparisons processors message-passing physics computation loop (one step): • accept incoming particles from neighbors • detect collisions and alter velocities accordingly • increment positions, sending outgoing particles to neighbors 8 patches quantize space collisions across patches are not detected!
  • 13. 0 40 steps time collision sort: worst case? 200 particles in reverse order proportional speeds maximum speed: 0.9 patch-widths per step 13
  • 14. 0 40 steps time collision sort: worst case? 200 particles in two sorted subsequences proportional speeds maximum speed: 0.9 patch-widths per step 14
  • 15. collision sort: in 2D 1000 particles each with both blue and green values proportional speeds maximum speed: 0.9 patch-widths per step per axis 15 darker lighter darkerlighter
  • 16. the total cost of any parallel algorithm is a combination of local computation costs and communication costs for simplicity, we assume that local computation is cheap, and focus on the cost of communication between system components collision sort: performance 16
  • 17. because each processor need only • receive at most one and • send at most one message per neighbor during each loop cycle, communication cost is the minimum possible, under these assumptions: • a one-patch-per-step information speed limit • message cost independent of message size • local computation is free A B messages may convey multiple particles collision sort: performance 17
  • 18. what about component failure? if messages are acknowledged, then any ‘undeliverable’ particles can simply have their velocities reversed, just as in a boundary collision: particle bounce ↜ message bounce fault tolerance is an ‘emergent property’ of this rule! collision sort: performance 18
  • 20. research efforts: • MIT CSAIL amorphous computing project, c. 2000 ↝ BBN Proto language • Laboratoire IBISC (Computer Science, Systems Biology and Complex Systems) at U. d’Evry ↝ MGS topological simulation language • abstract geometric computation (continuous signal machines) D. Duchier, J. Durand-Lose, M. Senot at U. d’Orleans application domains: • large-scale sensor networks • distributed control systems • mobile robot swarms • biological modeling • computability theory related work: spatial computing 20
  • 21. conclusion large-scale parallel computer arrays can be spatial computer systems, if programmed in a way that respects physical distances. spatial computing gives us a cost model that approximates the physics of information transmission, and that leverages our intuition about physical objects to design concurrent algorithms. Tilera processor arrays 21 references: • http://www.spatial-computing.org • http://www.greenarraychips.com/ • http://www.tilera.com/ • http://www.xmos.com/ • Abelson et al. Amorphous computing. Communications of the ACM 2000. • Gershernfeld et al. Reconfigurable asynchronous logic automata (RALA). POPL 2010. • Macias & Durbeck. The Cell Matrix: an architecture for nanocomputing. Nanotechnology 2001. • Duchier, Durand-Lose, and Senot. Solving Q-SAT in bounded space and time by geometrical computation. 7th Intl. Conf. Computability in Europe 2011.