Skip to main content

Real-time system

 Real-time system

·         In a real time operating system, a job is to be completed within the  rigid time constraints otherwise job loses its meaning.

·         A real time system function correctly only if it returns the correct result within its time constraints

·         Thus, in a  real-time system, the correctness of the  computation not only depends upon the logical correctness of the computation but also upon the time at which the result is produced.

Real-time system

In a real time system various functions like process scheduling, memory management, I/O management and file  management are performed as follows :

1.       Process scheduling . the real time system uses priority based pre-emptive scheduling. each process is assigned a certain level of priority and the process with the highest priority is allocated the processor among those which are in the ready state.

2.       Memory management. In real time system, the processes remain in primary memory for most of the time in order to provide quick response.

3.       I/O device management . time critical device management is main requirement of real time system . it also uses feature like interrupt management and I/O buffering.

4.       File management. In real time system, file management does not aim at efficient utilisation of secondary storage rather main objective is to provide fast access.

        single user operating system  

2.      Multi user operating system 

3.       Batch processing operating system

4.      Multi programming operating system 

5.     Multi tasking operating system 

6.       Multiprocessing operating system

7.       Time sharing operating system

8.     Real time system  

Real-time operating system are categorised into:

1.      Hard real-time systems

2.      Soft real-time systems

 

1.       Hard real time systems complete the critical tasks within the definite interval of constraints. If the critical task is not completed within the time constraints then the hard real time system fails.

Thus, a hard real time system has to complete all the processes within definite deeding and a single miss leads to critical failure

 

2.       Soft real time system are less restrictive in a nature and are not affected the lapse of time interval and do not cause any critical failure.

Soft real time system are used in the area of multimedia, virtual reality


Comparison between soft real time and hard real time system

 

 




 

 

Comments

Popular posts from this blog

Monolithic Architecture

  Monolithic Architecture Monolith means composed all in one piece. The  Monolithic  application describes a single-tiered  software  application in which different components combined into a single program from a single platform. Components can be: Authorization — responsible for authorizing a user Presentation — responsible for handling HTTP requests and responding with either HTML or JSON/XML (for web services APIs). Business logic — the application’s business logic. Database layer — data access objects responsible for accessing the database. Application integration — integration with other services (e.g. via messaging or REST API). Or integration with any other Data sources. Notification module — responsible for sending email notifications whenever needed. Example for Monolithic Approach Consider an example of Ecommerce application, that authorizes customer, takes an order, check products inventory, authorize payment and ships ordered products. This applicat...

Service provided By An Operating System.

  List of five service provided by an operating system. Explain how  each provides convenience to users?     The main purpose of operating system is to provide environment for the execution of programs. Thus an operating system provides certain services to program and the users of those programs. However , different operating system can provide different set of service. Some of the basis services provided by operating system are: 1.         Program execution ·          Operating system provides a convenient environment where users can run their programs ·          The operating system performs memory allocation to programs, load them into appropriate location so that they can execute. The users need not to worry about all these tasks.   2.         I/O Operation ·        ...

Message Delivery Protocol

  Message Delivery Protocol ·          A protocol is a set of rules and conventions shared by communicating entities . ·          Message passing can be blocking or non blocking . ·          In blocking protocol , a sender process is blocked till the message selivered to the . in this case , sender process has guarantee that the message sent by it ie delivered before it continues its execution . A blocking protocol normally includes: 1.        Blocking send : the sender process is blocked until the message is received by the receiving process or by the mailbox. 2.        Blocking receive : the receiver nlocks until a message is available thus when both sender as well as receiver is blocked ,it is known as rebdevezevous . this combination allows for tight sysnchronization between process. ·...

Thread

Thread What is Thread? A thread is a flow of execution through the process code, with its own program counter that keeps track of which instruction to execute next, system registers which hold its current working variables, and a stack which contains the execution history. A thread shares with its peer threads few information like code segment, data segment and open files. When one thread alters a code segment memory item, all other threads see that. A thread is also called a  lightweight process . Threads provide a way to improve application performance through parallelism. Threads represent a software approach to improving performance of operating system by reducing the overhead thread is equivalent to a classical process. Each thread belongs to exactly one process and no thread can exist outside a process. Each thread represents a separate flow of control. Threads have been successfully used in implementing network servers and web server. They also provide a suitable foundation ...

Easytolearn E-book 2

                                                                                                                                                                          Description:here we give you pdf. about classification of operating system in which  we provide all information of classification in detail.