Topic 1.1 Systems Architecture: Sub Topic 1.1.2 - CPU Performance
Topic 1.1 Systems Architecture: Sub Topic 1.1.2 - CPU Performance
Topic 1.1 Systems Architecture: Sub Topic 1.1.2 - CPU Performance
1 Systems architecture
Sub topic 1.1.2 - CPU performance
Lesson 6-7 of 9 – How common characteristics of CPUs
affect their performance © OCR 2020
Contents
Topic Allocated time
Lesson 6 Big picture 5 minutes
Lesson 6 – Activity 1 10 minutes
Lesson 6 – Activity 2 10 minutes
Plenary 5 minutes
Talking through lesson 6 Slides 30 minutes
Lesson 7 – Big picture 5 minutes
Lesson 7 – Activity 1 10 minutes
Lesson 7 – Activity 2 15 minutes
Plenary 5 minutes
© OCR 2020
Lesson 6 – Big picture
© OCR 2020
Learning objectives
• To be able to describe how common
characteristics of CPUs affect their performance:
– clock speed
– cache size
– number of cores.
© OCR 2020
Engagement activity
© OCR 2020
Lesson 6 - Activity 1
© OCR 2020
Purpose of the Processor
© OCR 2020
Processor speed
© OCR 2020
Lesson 7 – Big picture
• What is a GPU?
• Why would you upgrade your GPU before
your CPU?
© OCR 2020
Clock speed
© OCR 2020
Learning objectives
• To understand how to estimate the best
performing CPUs
© OCR 2020
Multi-core processors
• Dual-core processor: it has two processors
linked together within the same integrated
circuit. It should have twice the processing
power but some software has not been
written with dual core processors in mind.
• Quad-core processor: it has four processors
linked together. It can still have the similar
issues to a dual core processor.
© OCR 2020
How it affects performance
• Clock speed
– Doubling the clock speed will double the number of
instructions executed per second.
• Cores
– Quadrupling the number of cores may quadruple
the number of instructions executed per second.
• Cache size
– Increasing the cache size will reduce the number
of memory to disk transfers and so may speed up
processing of these instructions.
© OCR 2020
Multi-core processors
If you had a quad core processor and it
could run four times faster, when might it not
be any faster than having a single or dual
core processor?
© OCR 2020
Multi-core processors
If you had a quad core processor and it could
run four times faster, when might it not be any
faster than having a single or dual core
processor?
© OCR 2020
Benefits of cache
• Level 1 cache is the data used frequently by the CPU
so it is available almost instantaneously. RAM is further
away from the CPU so is much slower to receive an
instruction or data from the cache.
• Instructions from the program and the data needed are
stored in cache, for use when needed. This will speed
the program up.
• Level 2 cache affects the performance of the CPU
greatly as this is closest to RAM and reduces wait time.
Whether the cache is on the CPU board will also affect
performance.
© OCR 2020
Lesson 7 – Activity 2
© OCR 2020
How to work out cycles per
second
Dual core processor running at 2.3 GHz
with 4MB of L2 Cache
Look at the number of cores (Dual =2) X
Clock Speed (2.3GHz)
Answer: 4.6 billion cycles/second
© OCR 2020
Plenary – Which one is faster?
Note: This is theoretically how to calculate, there are many other factors that affect performance
© OCR 2020
Plenary
• Questioning
• Produce one question and Mark Scheme
• Exit Pass – Describe the purpose of a CPU
• Exit Pass – Describe the effect of number of
cores/ cache size/processor speed on
performance
© OCR 2020
OCR Resources: the small print
OCR’s resources are provided to support the delivery of OCR qualifications, but in no way constitute an endorsed teaching method that is required by the Board, and the decision to use them lies with the individual teacher. Whilst every
effort is made to ensure the accuracy of the content, OCR cannot be held responsible for any errors or omissions within these resources.
Our documents are updated over time. Whilst every effort is made to check all documents, there may be contradictions between published support and the specification, therefore please use the information on the latest specification at
all times. Where changes are made to specifications these will be indicated within the document, there will be a new version number indicated, and a summary of the changes. If you do notice a discrepancy between the specification and
a resource please contact us at:
[email protected].
© OCR 2020 - This resource may be freely copied and distributed, as long as the OCR logo and this message remain intact and OCR is acknowledged as the originator of this work. OCR acknowledges the use of the following content:
Please get in touch if you want to discuss the accessibility of resources we offer to support delivery of our qualifications: [email protected]
© OCR 2020