본문 바로가기
카테고리 없음

4.4 General Principles of Pipelining

by 정구지개발자 2023. 4. 29.
728x90

<파이프라인의 특징>

1.시스템의 처리량을 증가시킨다. ex) unit time당 customers의 수

2.하지만 이러한 증가가 잠재성(latency)을 소폭 증가시킨다 ex) 각각의 customer 가 service하는데 요구되는 시간

 

example)

a customer in a cafeteria who only wants a dessert could pass through a nonpipelined system very quickly, stopping only at the dessert stage. A customer in a pipelined system who attempts to go directly to the dessert stage risks incurring the wrath of other customers.

 

4.4.1 Computational Pipelines

 

1. 컴퓨터관점의 파이프라인

                                          customers  == instructions

                                          stages == instrcution execution 지역

 

2. 4.32(b)에서

I1, I2, I3 세로 방향은 명령의 나열(위에서 아래순)

가로방향은 시간의 흐름이다.

그림의 특징은 하나의 명령이 끝날떄까지 그다음의 명령은 수행하지 않는다는 것을 알수 있다. 

 

3. 총 시간은 하나의 명령이 처음부터 끝까지 수행될떄 요구되는 시간을 말한다. 이떄 이걸 latency라고 말함 

 

 

4.4.2 A Detailed Look at Pipeline Operation

 

728x90
반응형

댓글