Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




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 ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists