Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

Schedulability Analysis - Any thoughts?

Posted by jinx on April 15, 2010
Hi

I was reading up a little bit of theory on Real Time Systems and I saw mention of schedulability-analysis that is done ensure that tasks meet their deadlines. I saw the equation for RMS and was wondering, in a practical sense, do the forum members do this for their projects, and how do they do this. Does anyone have any practical experience or examples that they can share on how to do this best in practice? For example, does FreeRTOS have any mechanism to profile the different tasks' execution time or is this usually done manually using a toggled bit and oscilloscope?

Lastly, Off Topic: but is there an easy way to search the freertos.org forum?

Thanks!

RE: Schedulability Analysis - Any thoughts?

Posted by MEdwards on April 15, 2010
I think you will find that most people do not bother with a formal calculation unless there is a safety critical aspect to their application, or they have a large volume mass market product and they want to use the least powerful cpu possible.

Schedulability is an easy exercise in an academic environment, and extremely difficult in a real environment. Often it relies on all tasks being periodic, which they rarely are. Also once you start adding in interrupts or any other asynchronous events then all the calculations fall apart.

There are other schemes that allow easier analysis. For example, time triggered systems, or scheduling algorithms that partition time between tasks. These are less flexible and wasteful of cpu cycles but offer better predictability.

RE: Schedulability Analysis - Any thoughts?

Posted by MEdwards on April 15, 2010
To answer the other part of your post, have you seen these pages http://www.freertos.org/rtos-trace-macros.html and http://www.freertos.org/rtos-run-time-stats.html ? Very powerful trace schemes can be created with very little effort.


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner