You are on page 1of 14

EMBEDDED SYSTEMS

UNIT-V

Dr. P. SHANMUGARAJA
PROFESSOR, DEPT. OF ECE,
ANNAMALAI UNIVERSITY
1
UNIT-5 RTOS Based Embedded System Design
 Introduction to basic concepts of RTOS
 Task, process & threads
 interrupt routines in RTOS
 Multiprocessing and Multitasking
 Preemptive and non- preemptive scheduling
 Task communication
 shared memory
 message passing
 Comparison of commercial RTOS features
 RTOS Lite, Full RTOS
 VxWorks, RT Linux.
Multiprocessing
 Multiprocessing is a system that has two or more than two
processors. In this, CPUs are added for increasing computing
speed of the system. Because of Multiprocessing, there are
many processes that are executed simultaneously.
Multiprocessing is further classified into two categories:
Symmetric Multiprocessing and Asymmetric Multiprocessing.
Multi-tasking
 Multi-tasking is the logical extension of
multiprogramming. In this system, the CPU executes
multiple jobs by switching among them typically using a
small time quantum, and these switches occur so
frequently that the users can interact with each
program while it is running. Multitasking is further
classified into two categories: Single User & Multiuser.
Difference between Multitasking and Multiprocessing
S
Multi-tasking Multiprocessing
No.
The availability of more than one processor
The execution of more than one
per system, that can execute several set of
1. task simultaneously is known as
instructions in parallel is known as
multitasking.
multiprocessing.
2. The number of CPU is one. The number of CPUs is more than one.
3. It takes moderate amount of time. It takes less time for job processing.
In this, one by one job is being In this, more than one process can be executed
4.
executed at a time. at a time.
5. It is economical. It is less economical.
The number of users is more than The number of users is can be one or more
6.
one. than one.
7. Throughput is moderate. Throughput is maximum.
8. Its efficiency is moderate. Its efficiency is maximum.
It is of two types: Single user
It is of two types: Symmetric Multiprocessing
9. multitasking and Multiple user
and Asymmetric Multiprocessing.
multitasking.
MICROFLUIDICS APPLICATIONS

N Charac Multiprogrammin Multiprocessing Multithreading Multitasking


o teristic g
1 What it The concurrent The availability of A process is divided The
is: residency of more more than one into several execution of
than one program processor per different sub- more than
in the main system, which can processes called as one task
memory is called execute several set threads, which has simultaneousl
as of instructions in its own path of y is called as
multiprogramming parallel is called execution. This multitasking.
. as concept is called as
multiprocessing. multithreading.
2 Numbe One More than one Can be one or more One
r of than one
CPU:
3 Job More time is taken Less time is taken Moderate amount Moderate
process to process the for job processing. of time is taken for amount of
ing jobs. job processing. time.
time:







You might also like