
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
in computer engineering computer archtecture isthe set of rules and methods that describe the functionality
Typology: Lecture notes
1 / 32
This page cannot be seen from the preview
Don't miss anything!

























Software Instruction Set Hardware
Typically the machine organization is designed to meet a given instruction set architecture. However, in order to design good instruction sets, it is important to understand how the architecture might be implemented.
- Memory (instructions, data) Control Datapath registers ALU, buses CPU Computer System Input Output I/O Devices --Central Processing Unit (CPU): Control Unit (instruction decode, sequencing of operations), Datapath (registers, arithmetic and logic unit, buses). --Memory: Instruction and operand storage. --Input/Output (I/O). --The stored program concept: Instructions from an instruction set are fetched from a common memory and executed one at a time.
Processor (active) Computer Control Unit Datapath Memory (passive) (where programs, data live when running) Devices Input Output Keyboard, Mouse, etc. Display , Printer, etc. Disk Five classic components of all computers: Five classic components of all computers:
1. Control Unit; 2. Datapath; 3. Memory; 4. Input; 5. Output 1. Control Unit; 2. Datapath; 3. Memory; 4. Input; 5. Output
Processor
When we say one computer has better performance than another, what do we mean? There are two main measures of performance, execution time and Throughput. For an individual computer user, you are interested in reducing response time For computer center managers, they are interested in increasing throughput —the time between the start and completion of a task--- also referred to as execution time. —the total amount of work done in a given time.
Response Time (latency) Throughput How long does it take for my job to run? How long does it take to execute a job? How long must I wait for the database query? How many jobs can the machine run at once? What is the average execution rate? How much work is getting done?
Performance Definition Performance is units of things-per-second. (the bigger the better) If we are primarily concerned with response time
X is n times faster than Y: n = Performance (X) /Performance (Y) = execution_time(Y)/execution_time(X)
Example: If an Pentium III runs a program in 8 seconds and a PowerPC runs the same program in 10 seconds, how many times faster is the Pentium III? n = 10/8 = 1.25 times faster (or 25% faster) X is n times faster than Y: n = Performance (X) /Performance (Y) = execution_time(Y)/execution_time(X)