Você está na página 1de 16

WHAT IS OS TYPES OF OS REAL TIME OS TYPES OF REALTIME OS ACHIEVING TASK IN RTOS TASK AND STATES INTER TASK COMMUNICATION

CATION AND PRIORITY

INTERRUPT AND MEMORY TYPES OF SCHEDULING SCHEDULING ALGORITHM

INVERSION

The most important program that runs on your computer.


It manages all other programs on the machine.

Every PC has to have one to run other applications or


programs. Its the first thing loaded

Keeping track of files and directories on the disk Controlling peripheral devices such as disk drives and
printers.

SINGLE USER SINGLE TASK MULTIPLE USER MULTIPLE TASK REAL TIME OPERATING SYSTEM SINGLE USER MULTIPLE TASK

Those systems in which the correctness of the system


depends not only on the logical result of computation, but also on the time at which the results are produced.

A real-time system is any information processing system


which has to respond to externally generated input stimuli within a finite and specified period

The ability of the operating system to provide a required


level of service in a bounded response time.

Soft real-time systems where deadlines are important but which


will still function correctly if deadlines are occasionally missed. E.g. Data acquisition system.

Hard real-time systems where it is absolutely imperative that


responses occur within the required deadline. E.g. Flight control systems.

Real real-time systems which are hard real-time and which the
response times are very short. E.g. Missile guidance system.

Firm real-time systems which are soft real-time but in which


there is no benefit from late delivery of service.

PERIODIC TASK HANDLING APRIODIC TASK HANDLING TIME LINE SCHEDULING MEETING DEADLINE

SEMAPHORES MESSAGE MAILBOXES MESSAGE QUEUES EVENT FLAGS PRIORITY INVERSION PRIORITY INHERITANCE PROTOCOL (PIP) PRIORITY CEILING PROTOCOL (PCP)

The most important communication b/w tasks in an os is


the passing of data from one task to another. Message Message Producer Receiver Task are sent more quickly than they can Task If messages be handled, the os provides message queues for holding the messages until they can be processed.

INTERRUPTS:
A good rtos should have shortest interrupt latencies, interrupt responses and interrupt recovery times. the isr processing time also must be kept to the minimum for the best realtime response.

MEMORY MANAGEMENT:
In hard real-time systems static memory allocation is used. In a soft real-time system of dynamic memory allocation is

preferred.

DYNAMIC VS. STATIC


o DYNAMIC SCHEDULE COMPUTED AT RUN-TIME BASED ON TASKS REALLY EXECUTING

o STATIC SCHEDULE DONE AT COMPILE TIME FOR ALL POSSIBLE TASKS

PREEMPTIVE PERMITS ONE TASK TO


PREEMPT ANOTHER ONE OF LOWER PRIORITY

NON PREEMPTIVE DOES NOT TAKE AWAY THE


CONTROL

FIFO (FIRST IN FIRST OUT) EARLIEST DEADLINE FIRST RATE MONOTONIC ALGORITHM GROUP SWAPPING ALGORITHM

LARGE AND COMPLEX REALTIME IS NOT FAIR MEMORY FRAGMENTATION


USE OF ASSEMBLY INSTEAD OF HIGH LEVEL
LANGUAGE

FOLLOWING THE RESTRICTION

Você também pode gostar