25. Parallel W
Apr 21, 2021
Parallel Algo W
- DO-ALL in message passing systems → can do in any setting with help from oracle
algorithm W work =- in oracle model same analysis
- lower bound is the same
- in oracle model same analysis
Can we make this into a parallel algorithm? Oracle tells what to do → in parallel algorithm processors would need to be able to share knowledge to know what work remains.
One strategy:
- broadcast your knowledge to everyone
- assume synchronous environment then everyone has a consistent view of the remining work
- it may not be fully consistent if there is a broadcast and crash before message reaches every node
- each crash causes inconsistent knowledge, but can happen at most once
- work when broadcasting
- message complexity is bad:
Would be nice to have an infallible leader who would broadcast to all
- all would have locally consistent knowledge
becomes
...but we do not know who this leader is.