Performance Modelling (OCR A Level Computer Science)

Revision Note

James Woodhouse

Written by: James Woodhouse

Reviewed by: Lucy Kirkham

Performance Modelling

What is Performance Modelling?

  • Performance modelling is when the behaviour of something is tested or simulated before it is used in the real world

  • It is a systematic approach that can be used for evaluating and predicting the performance characteristics of a software system

Using Performance Modelling in Software Production

  • Performance modelling can be used to help understand how the software will behave under different load conditions and configurations

  • It uses various metrics like response time and throughput to identify potential bottlenecks which can be used by developers to address performance issues before they affect end-users 

  • It can be integrated into various stages of the software development including the:

    • Design phase to make architectural decisions

    • Testing phase to simulate real world scenarios and measure the software's performance

Benefits

Drawbacks

Stress testing can ensure a system can cope with a large set of data or a large number of users.

The outcome of performance modelling is only as useful as the accuracy of the data that is fed into it.

You are able to predict problems and act on them before the problems actually occur in the real world.

If the rules that made up the model are wrong then it will produce incorrect results. 

Examples of Performance Modelling

Database Optimisation

  • Performance modelling can be used to simulate different database architectures and query strategies to find the most efficient setup

  • It can help select the best indexing strategy and estimate the query response times under varying loads

  • It may help decide between a relational database design or a single table design

Caching Mechanisms

  • By modelling how different caching strategies perform under various scenarios, optimal cache sizes can be determined

  • Developers can assess the hit/miss ratio of caches and the latency improvements gained through caching

caching-mechanisms-1

Use of performance modelling to determine a caching mechanism

Energy Efficiency

  • For mobile or embedded systems, performance modelling can be used to estimate power consumption under different usage patterns

  • It can be useful for battery-powered devices where power consumption is a critical factor

Last updated:

You've read 0 of your 5 free revision notes this week

Sign up now. It’s free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Did this page help you?

James Woodhouse

Author: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.

Lucy Kirkham

Author: Lucy Kirkham

Expertise: Head of STEM

Lucy has been a passionate Maths teacher for over 12 years, teaching maths across the UK and abroad helping to engage, interest and develop confidence in the subject at all levels.Working as a Head of Department and then Director of Maths, Lucy has advised schools and academy trusts in both Scotland and the East Midlands, where her role was to support and coach teachers to improve Maths teaching for all.