Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Work, span, parallelism?

Também chamado de: work (of a computation) · span · parallelism (ratio)

Definition 24.5 University Computer Science — Year 3 · Capítulo 24 — Parallel Programming

A computation is modelled as a directed acyclic graph, its DAG: one node per operation, taking unit time, and an edge from each operation to every operation that uses its result. The work WW of the computation, also written T1T_1, is its number of nodes; its span SS, also written T∞T_\infty, is the number of nodes on a longest path, its critical path. Its parallelism is the ratio W/SW / S.

The DAG of merge sort on four elements, each merge a chain of one step per element it outputs. Work 8, span 6; the shaded critical path runs through one of the two small merges, then the whole final merge.
The DAG of merge sort on four elements, each merge a chain of one step per element it outputs. Work 8, span 6; the shaded critical path runs through one of the two small merges, then the whole final merge.
Ler no capítulo →