Defining Performance
Computer performance is determined by different ways and is usually related to the following two terms:
- Response/execution time,
which is the total time required for the computer to complete a task, including disk accesses, memory accesses, I/O activities, operating system overhead, CPU execution time, etc.
- Throughput/bandwidth,
which is another measure of performance.
It is the number of tasks completed per unit time.
The textbook is primarily concerned with response time.
To maximize performance, try to minimize response time or execution time for some tasks.
Thus, performance is related to execution time for a computer X:
PerformanceX = 1 / Execution timeX
This means that for two computers X and Y, if the performance of X is greater than the performance of Y, we have
PerformanceX > PerformanceY
⇒ ( 1 / Execution timeX ) > ( 1 / Execution timeY )
⇒ Execution timeY > Execution timeX
i.e., the execution time on Y is longer than that on X, if X is faster than Y.
Wife: “I want another baby.”
Husband: “That’s a relief, I also really don’t like this one.”
|