Skip to main content Accessibility help
×
Hostname: page-component-586b7cd67f-tf8b9 Total loading time: 0 Render date: 2024-11-26T23:22:50.613Z Has data issue: false hasContentIssue false

17 - Performance Analysis of Real-Time Software Designs

from Part III - Analysis of Real-Time Software Designs

Published online by Cambridge University Press:  05 March 2016

Hassan Gomaa
Affiliation:
George Mason University, Virginia
Get access

Summary

Performance analysis of software designs is particularly important for real-time systems. The consequences of a real-time system failing to meet a deadline can be catastrophic. It is therefore necessary to analyze the performance of a real-time software design before it is implemented. Since the performance analysis is for a concurrent design, it can be carried out as soon as the task architecture has been designed, as described in Chapter 13.

Quantitative analysis of a real-time system design allows the early detection of potential performance problems. The analysis is for the concurrent software design conceptually executing on a given hardware configuration with a given external workload applied to it. Early detection of potential performance problems allows alternative software designs and hardware configurations to be investigated, including single-processor and multiprocessor systems.

This chapter describes performance analysis of software designs by applying real-time scheduling theory to software designs. Real-time scheduling is a particularly appropriate approach for hard real-time systems that have deadlines that must be met (Sha and Goodenough 1990). With this approach, the real-time design is analyzed to determine whether it can meet its deadlines.

This chapter describes two approaches for analyzing the performance of a design. The first approach uses real-time scheduling theory, and the second uses event sequence analysis. The two approaches are then combined. Both real-time scheduling theory and event sequence analysis are applied to a design consisting of a set of concurrent tasks. Section 17.1 provides an introduction to real-time scheduling theory, in particular the rate-monotonic algorithm and two of its theorems, the utilization bound theorem, and the completion time theorem. Section 17.2 describes how real-time scheduling theory can be extended to address aperiodic tasks and task synchronization. Section 17.3 describes the generalized real-time scheduling theory, which can be applied in cases in which the rate-monotonic assumptions do not hold. Section 17.4 describes performance analysis of real-time software designs using event sequence analysis. Section 17.5 then describes how real-time scheduling theory and event sequence analysis can be combined to analyze the performance of real-time software designs. Section 17.6 describes advanced real-time scheduling algorithms, including deadline-monotonic scheduling, dynamic priority scheduling, and scheduling for multiprocessor systems. Section 17.7 describes performance analysis of multiprocessor systems, including multicore systems. Finally, Section 17.8 describes the estimation and measurement of performance parameters.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2016

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

Available formats
×