Parallel and Distributed Computing
도입됨
7:47
컴퓨터 시스템 및 네트워크
사람들은 그것을 클라우드라고 부릅니다. 그것은 구름이 아닙니다. 이 상자가 누군가의 집에 앉아 있습니다: 라우터, 휴대폰으로부터 데이터를 받아 전달합니다. 이 플러그는 다른 쪽…입니다.
영어 내레이션 · 영어와 중국어 자막 전환 가능
이 수업의 내용
| English | 의미 |
|---|---|
| sequential computing/siːˈkwenʃl kəmˈpjuːtɪŋ/ | 순차 계산 |
| Parallel computing/ˈpærəlel kəmˈpjuːtɪŋ/ | 병렬 계산 |
| processors/ˈprəʊsesəz/ | 프로세서 |
| Distributed computing/ˈdɪstrɪbjuːtɪd kəmˈpjuːtɪŋ/ | 분산 계산 |
| speedup/ˈspiːdʌp/ | 가속비 |
한 번에 한 단계씩
- 전통적으로 컴퓨터는 한 번에 한 단계씩 실행합니다.
- 이는 순차적 계산(sequential computing) 입니다: 각 단계가 완료되기 전까지 다음 단계가 시작될 수 없습니다.
- 간단하지만 큰 작업에는 느릴 수 있습니다.
- 더 빠르게 처리하려면 여러 단계를 동시에 수행할 수 있습니다.
In sequential computing:
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
One step at a time, in order.
이 카드는 내용이 수정되어 번역이 업데이트될 때까지 영어로 표시됩니다.
Parallel and distributed
- Parallel computing 并行计算 uses several processors 处理器 to run parts of a task at the same time.
- Distributed computing 分布式计算 spreads a task across many separate computers, often in different places, connected by a network.
- Parallel = many processors, one machine. Distributed = many machines.
- Both aim to finish a large task faster.

Parallel computing: many processors work at the same time
Sequential, parallel, or distributed?
Sequential runs one step at a time; parallel uses several processors in one machine at once; distributed spreads a task across many separate computers.
Match each term to its meaning.
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Parallel uses processors at the same time; distributed spreads work across separate computers.
속도 향상과 그 한계
- 병렬 컴퓨팅의 이득은 **속도 향상(Speedup)**으로 측정됩니다:
- $\text{speedup} = \dfrac{\text{time using one processor}}{\text{time using several processors}}$.
- 하지만 반드시 순차적으로 실행되어야 하는 부분에는 프로세서를 추가해도 속도를 높일 수 없습니다.
- 따라서 순차적 부분이 전체 속도 향상에 대한 바닥선—즉, 절대적인 상한선—을 결정합니다.
A task takes 100 s on one processor and 40 s on several. What is the speedup?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
speedup = 100 / 40 = 2.5×.
If 20 s of a 100 s task must run sequentially, what is the maximum possible speedup?
난이도 2/5 · 140코인 + 오늘 첫 완료 시 작은 보너스 추가
Even with infinite processors, 20 s remains: 100 / 20 = 5×.
Why can adding more processors never remove the speedup cap?
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
The sequential portion sets a floor on the total time.
Distributed computing is only useful for small jobs that fit on one machine.
난이도 1/5 · 100코인 + 오늘 첫 완료 시 작은 보너스 추가
False. Distributed computing suits huge jobs too big for one machine, such as indexing the web, by splitting the work across many computers.
분산 컴퓨팅이 빛을 발할 때
- 분산 솔루션은 거대한 작업에서 특히 탁월합니다. 막대한 데이터셋이나 전 세계 웹을 인덱싱하는 검색 엔진 등이 해당됩니다.
- 작업량이 너무 커서 하나의 기계로는 처리하기 어렵기 때문에 수천 대의 기계에 자연스럽게 나뉩니다.
상한선이 있는 속도 향상. 100초 과업에는 병렬 처리에 80초, 순차 처리에 20초가 필요합니다. 4개 프로세서를 사용하면 병렬 부분은 $80 / 4 = 20$초, 순차 부분은 20초로 총 40초가 소요됩니다. 속도 향상은 $= 100 / 40 = 2.5\times$배입니다. even with a million processors, the 20 s sequential remains, so speedup can never beat $100 / 20 = 5$.
순차 컴퓨팅은 한 단계씩 순차적으로 실행합니다. 병렬 컴퓨팅은 하나의 기계 내에서 여러 프로세서를 동시에 사용하여 작업하고, 분산 컴퓨팅은 작업을 여러 대의 기계에 분산시킵니다. 병렬 컴퓨팅의 효율성은 속도 향상(Speedup)(단일 프로세서 소요 시간 ÷ 다중 프로세서 소요 시간)으로 측정되지만, 순차적 부분에 의해 그 값에 상한선이 설정됩니다(예: HERE, 5×).
어떤 문제가 있었나요? 사이트 팀만 이 내용을 볼 수 있습니다.