T2 CPU Performance
T2 CPU Performance
Starter - recap
• Name at least five components inside a CPU
• What is the purpose of each component?
CPU performance
Unit 1 Systems architecture
Starter
• Components in a CPU
• Control unit (CU) – decodes the instructions; controls the
timing of operations in the CPU
• Arithmetic Logic Unit (ALU) – performs arithmetic and
logic operations
• Registers – including PC (program counter) for the next
instruction; MAR (memory address register) for the memory
location of data to be fetched; MDR (memory data register)
data retrieved from RAM; Accumulator (ACC) stores the
results from the ALU
CPU performance
Unit 1 Systems architecture
Clock speed
Cache size
Cycles per second
measured in hertz (Hz) Memory on the CPU
that is faster than RAM
but slower
than registers
Number of cores
The number of duplicate
processing units (cores)
placed in one CPU
CPU performance
Unit 1 Systems architecture
Clock speed
• Everything in a computer happens on the pulse of
the internal clock
• Therefore, the faster the clock speed, the faster the
instructions are processed
CPU CPU
CPU performance
Unit 1 Systems architecture
Processor Speed
• One cycle per second = 1 hertz (Hz) = 1 instruction
carried out each second
• 1 kilohertz (kHz) = 1000 cycles per second
• 1 Megahertz (MHz) = 1,000,000 cycles per second
• 1 Gigahertz (GHz) = 1,000,000,000 cycles per second
• How fast is your computer’s processor?
• Remember, a 1 GHz processor is performing one billion
cycles per second
CPU performance
Unit 1 Systems architecture
Multi-core processors
• A dual-core processor has two processors in the
same integrated circuit, linked together
• A dual-core processor has the potential to perform two
instructions at the same time
• This allows twice as many instructions to be executed,
however, it doesn’t always perform at this rate as software
may not be able to take full advantage of both cores
• A quad-core processor has four linked processors
• Which processor would you prefer, a dual-core 1GHz, or a
3GHz single core processor?
CPU performance
Unit 1 Systems architecture
Effect on speed
• A quad-core processor working on many different
tasks simultaneously, under ideal conditions can be
up to four times faster than a single-core processor
• If the computer is running a single program, it is not
necessarily any faster, since the program may have been
designed to only run on one core
CPU performance
Unit 1 Systems architecture
Cache memory
• Cache is a small amount of very
CPU
fast, expensive memory in the CPU
• It can be accessed faster than
regular main memory (RAM)
• Why is this useful for recently/frequently Cache
used data?
Main Memory
CPU performance
Unit 1 Systems architecture
Embedded systems
• Do these devices have inputs, processes and
outputs?
• Could they be classed as computers?
• Why or why not?
CPU performance
Unit 1 Systems architecture
Embedded computers
• An embedded computer is a single microprocessor
that includes RAM, ROM and a CPU
• An embedded computer is frequently used to control a device
using simple inputs
CPU performance
Unit 1 Systems architecture
Embedded systems
• Without embedded systems, a digital device would
not be able to perform specific functions
• For example, a dishwasher wouldn’t know when to heat the
water, or a satnav wouldn’t know how to communicate with a
satellite
• What embedded functions do cars use?
CPU performance
Unit 1 Systems architecture
Worksheet 2
• Complete Task 2 on Worksheet 2
CPU performance
Unit 1 Systems architecture
Starter on WB
1. Name three common factors which affect the
performance of a CPU
2. What do each of these factors mean?
3. What is an embedded system?
4. Name three examples of an embedded system
CPU performance
Unit 1 Systems architecture
Starter
1. Name three common factors which affect the
performance of a CPU
2. What do each of these factors mean?
3. What is an embedded system?
4. Name three examples of an embedded system
CPU performance
Unit 1 Systems architecture
Copyright
This unit and all the worksheets, PowerPoint presentations, teaching guides and other associated files
distributed with it are supplied to you by PG Online Limited under licence and may be used and copied by you
only in accordance with the terms of the licence. Except as expressly permitted by the licence, no part of the
materials distributed with this unit may be used, reproduced, stored in a retrieval system, or transmitted, in any
form or by any means, electronic or otherwise, without the prior written permission of PG Online Limited.
Licence agreement
This is a legal agreement between you, the end user, and PG Online Limited. This unit and all the worksheets,
PowerPoint presentations, teaching guides and other associated files distributed with it is licensed, not sold, to
you by PG Online Limited for use under the terms of the licence.
The materials distributed with this unit may be freely copied and used by members of a single institution on a
single site only. You are not permitted to share in any way any of the materials or part of the materials with any
third party, including users on another site or individuals who are members of a separate institution. You
acknowledge that the materials must remain with you, the licencing institution, and no part of the materials may
be transferred to another institution. You also agree not to procure, authorise, encourage, facilitate or enable any
third party to reproduce these materials in whole or in part without the prior permission of PG Online Limited.