circular q shift hypercube
play

Circular q-shift - Hypercube Using E-cube routing q-shift in a - PowerPoint PPT Presentation

Circular q-shift - Hypercube Using E-cube routing q-shift in a hypercube with p nodes: longest path has log p - (q) links, where (q) is the highest integer j, such that q is divisable by 2 j Pairwise communication using E- cube


  1. Circular q-shift - Hypercube Using E-cube routing � q-shift in a hypercube with p nodes: longest path has log p - γ (q) links, where � γ (q) is the highest integer j, such that q is divisable by 2 j Pairwise communication using E- cube routing: no congestion! 1

  2. Minimal cost-optimal execution time Isoefficiency function ∈ Θ (f(p)): � A problem of size W is solved cost-optimally ⇔ W ∈ Ω (f(p)) � p W grows at least like f(p) or: Cost-opimality for a problem of size W ⇔ p ∈ O(f -1 (W)) � p grows maximally like f -1 (W) W Parallel execution time of a cost-optimal parallel system is Θ (W/ p). � Furthermore it holds 1/ p ∈ Ω (1/ f -1 (W)). � Lower bound for parallel runtime for solving a problem of size W cost- optimally 2

  3. Scaled speedup � What is the speedup S(n,p) behavior for growing values for p? How to choose n? Memory-constrained scaled speedup: � Memory grows propotionally with p ⇒ determine n Memory requirement: m = f m (n) Memory per node: m 0 -1 (p m 0 ) f m (n) = p m 0 ⇒ n = f m Time-constrained speedup: � 3

  4. Scaled speedup Example 1: Matrix-vector product: � T S = t c n 2 , T P ∈ Θ (n 2 / p), t c : execution time for a mult-add -operation memory requirement: m= f m (n) ∈ Θ (n 2 ) Memory-constrained scaled speedup: available memory: m = m 0 p ∈ Θ (p), i.e. n 2 = c × p Time-constrained scaled speedup: T P ∈ Θ (n 2 / p), T P constant, i.e. n 2 = c × p, scaled speedup see above 4

  5. Example 2: Matrix-Matrix multiplication � Memory requirement: Θ (n 2 ) Memory-constrained scaled speedup: m ∈ Θ (p), m ∈ Θ (n 2 ), i.e. n 2 = c × p Time-constrained scaled speedup: T P ∈ Θ (n 3 / p) const., i.e. n 3 = c × p 5

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