Performance Modelling (OCR A Level Computer Science)

Revision Note

James Woodhouse

Expertise

Computer Science

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

You've read 0 of your 0 free revision notes

Get unlimited access

to absolutely everything:

  • Downloadable PDFs
  • Unlimited Revision Notes
  • Topic Questions
  • Past Papers
  • Model Answers
  • Videos (Maths and Science)

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

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.