Priority Inversion Problem Paper
Priority Inversion Problem Paper
ISSN: 2349-6495
Abstract— Real time system which runs multiple task embedded products. So, Embedded Linux could get in
concurrently or pseudo concurrently shares the resources Embedded Products easily. Embedded Linux has
will face priority inversion phenomenon. This priority powerful community available in internet which helps to
inversion phenomenon will reduce the Real Time System have good technical support. Embedded Linux has
predictability which in turn leads to un-predictable error. various real time capabilities which make it suitable for
Continuous Priority Inversion phenomenon will lead the the Embedded Systems. Moreover, the Embedded Linux
Real Time System to collapse. This paper analyses the is available in free of cost in most scenarios. Linux has
cause and effect of the priority inversion phenomenon. proven its existence in huge servers and in small handheld
Further analyze the various solution and implementation devices. Above advantages are applicable for RT-Linux.
in RT-Linux. This paper improves the already existing Linux could be made as hard real time Operating System
priority inheritance protocol and priority ceiling in two ways. One is only to modify the Linux Kernel, the
protocol. The proposed algorithm will prevent the Real other is to add an abstract hardware layer, that is to say, to
Time System from deadlock related to priority inversion add a real-time kernel to have the real-time performance.
prevention protocol. Experimental results and analysis in First approach modifies the Linux and adopting POSIX
theoretical way indicate that the methods to solve the 1.b standard. In order to reduce the time that Linux masks
priority inversion problem in RT-Linux are effective and the interrupts, pre-emption points are inserted in Linux
concise, provides reasonable technical details for the safe Kernel Code. This method improves the real-time
running of complex real-time application in RT-Linux. performance of the Linux kernel. But, this method could
Keywords— Priority Inversion, Priority Reversal, not meet the hard real-time performance. The second
Priority Ceiling, Real Time Systems, RT-Linux. method solute the problem and reaches the hard real-time
performance [3].
RT-Linux comes under the category of the Embedded
I. INTRODUCTION Linux. RT-Linux has relatively good real-time
Real Time System is a system where a timely response by performance compared to its counterparts like RTAI,
the computer to external stimuli is vital [1]. The etc.,. RT-Linux is a hard real-time RTOS microkernel that
correctness of the response not only depends on logical runs the entire Linux operating system as a fully pre-
value of the result but also the time at which response is emptive process. The hard real-time property makes it
given. The operating System used in such system should possible to control robots, data acquisition systems,
adhere with above definition and should strive to achieve manufacturing plants, and other time-sensitive
this. Real Time Operating System has one of the instruments and machines from RT-Linux applications.
important components in Real Time Systems to meet Real The key RT-Linux design objective was to add hard real-
Time system’s demands. Nowadays, various commercial time capabilities to a commodity operating system to
Real Time Operating System are available off the shelf. facilitate the development of complex control programs
But to reduce the cost of the Real Time Operating with both capabilities. For example, one might want to
System, achieve the reliability of the Real Time Operating develop a real-time motor controller that used a
System and have high configurability of Real Time commodity database and exported a web operator
Operating System, Linux has been considered for having interface. Instead of attempting to build a single operating
it in Real Time Systems. Embedded Linux has emerged system that could support real-time and non-real-time
as one such Operating System. Embedded Linux is an capabilities, RT-Linux was designed to share a computing
Open Source which paves the way to customize and fine device between a real-time and non-real-time operating
tune the Operating System based on the embedded system so that (1) the real-time operating system could
system. Embedded Linux supports wide range of never be blocked from execution by the non-real-time
hardware which eases the effort of porting it into new operating system and (2) components running in the two