Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Computer Architecture and organization

Lecture: 4

Performance Measure:

1- Response Time (Execution Time): time between start and completion of an event
2- Throughput: Total amount of work in a given time

‫مثال المحاضرة لو عندك عربية بورش و اتوبيس نقل عام وانت وواحد عايزين تروحوا من القاهرة ل اسكندرية االحسن من‬
‫ افراد فاتوبيس النقل هيبقي افضل من البورش من حيث الكمية في وقت معين‬10 ‫ اما لو انتوا مثال‬. ‫حيث الوقت اكيد البورش‬

Comparing the performance between systems according to:

1- Architecture
2- Implementations of same architecture
3- Compilers for the same architecture and implementations
4- OS

1
Performance =
Execution Time

• Performance x > performance y


1 1
Execution Time X
> Execution Time Y

Execution time Y > Execution Time X

N times Faster

performance x
performance y
=n ‫يعني ده اسرع من ده باد ايه‬

Ex: if computer A runs a program in 10 sec and computer B runs the same program in 15 sec. how much
faster is A than B?
performance A 1/ Execution A Execution B 15
= = = = 1.5
performance B 1/Execution B Execution A 10

A is 1.5 times faster than B

Terminology

Hertz (Hz) → one cycle per sec ….. Cycle = 1 sec


1
Khz → one thousand cycle per sec …… cycle = 103 𝑠𝑒𝑐

1
Mhz → one million cycles per sec ………… cycle = 𝑠𝑒𝑐
106

You might also like