Ch1
- Execution time, throughput
- CPU time
- Clock period(=clock cycle time), Clock rate, Clock cycles
- Cycles per Instruction(CPI)
- CPU clock cycles = Intruction count * average clock cycles per instruction
1. Performance
Execution time (Response Time)
- 컴퓨터가 task를 완료하는데 드는 총 시간.
- Single user desktops에 유용한 지표.
Throughput (Bandwidth)
- 주어진 시간내에 완료한 총 일의 양
- 다양한 task를 동시에 하는 Server나 WSCs에 유용한 지표.
- Execution time이 더 뛰어나면서 Throughput이 더 안좋을 수 있다! 상황에 따라 Performance metrics를 잘 정의하는게 중요하다.
Comparing the Performance
- Performance = 1/Execution Time의 관계를 갖는다
- X is fater than Y == The execution time on Y is longer than the one on X
Quantifying the Performance
- Performance_X / Performance_Y = n = Execution Time_Y / Execution Time_X
- Y is n times slower than X