Computer Architecture 2
Computer Architecture 2
Lecture 2
Performance
Defining Performance
• How will you grade one computer better in
performance than the other?
• PCs and Embedded computers
– Response Time
• The time between the start and completion of a task. Includes disk
access, memory access, I/O activities, operating system overhead,
CPU execution time
• Servers
– Throughput( or Bandwidth)
• Number of tasks completed per unit time.
Check Yourself
• Do the following changes to a computer
system increase throughput, decrease
response time, or both?
– Replacing the processor in a computer with a
faster version.
– Adding additional processors to a system that uses
multiple processors for separate tasks—for
example, searching the web
Performance (Response Time)
•
• Performace = 1 / Execution Time
• = =n
• System
Performance =
• CPU Performance(Our Focus) =
Example 1
• If computer A runs a program in 10 seconds
and computer B runs the same program in 15
seconds, how much faster is A than B?
CPU Execution Time and Clock Cycle