Skip to main content

Multi processing system


 Multi processing system

·         Multi processesor system is the sytem that contain two or more processors or CPUS and has ability to simultaneously execute   several programs. Hence the name multi-processor

In such a system, multiple processor share the clock, bus, memory and peripheral devices.

·         A multi processor system is also known as parallel system

·         Multi processor system are categorized into two different types:

             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  

1.       Symmetric multiprocessing(SMP)

2.       Asymmetric multiprocessing(ASMP)

·         Symmetric multi processing (SMP)

 

1.       In SMP each processor runs an identical copy of the operating system.

2.       The processor can communicate with each other and execute these copies concurrently.

3.       Therefore SMP exhibit peer-to-peer relationship.

·         Asymmetric multiprocessing (ASMP)

 

1. In ASMP, different processor do different things i.e. they are not identical thus, there is imbalance among the processors. hence the name asymmetric.

2. in ASMP each processors is given a specific task and do not share equal load .

3. There is master slave relationship between the processors.

     

Advantage and disadvantages 

of multiprocessing system

 

Advantages of multiprocessing system

  • 1.       Improved reliability .multiprocessing system have better reliability than single-processor because of the presence of multiple processors. If one of the processors break down ,the other processors automatically takes over the system work hold until repaired are made. Hence a complete breakdown of such system can be avoided.
  • 2.       Improved throughout. Throughout is the number of jobs executed per unit time. With the use of multiple processors, parallel processing of segment of programs is  possible .
  • 3.       Lowered turnaround time. Turnaround time is the difference between the time user submits his jobs to system for processing and the time he receive results.
  • 4.       Efficient utilisation of all resources. In addition to the processors , it also facilities more efficient utilisation of all the other devices of the computer system.
  • 5.       Economical. The clock, bus, peripheral devices and memory are shared . as a result, it is cheaper to have multiprocessors systems than multiple single processors system.

 

 

 Disadvantages of multiprocessing system

  • 1.       A very sophisticated operating system is required to schedule, balance and coordinate the input, output and processing activities of multiple CPU's.
  • 2.       A large main memory is required for accommodating the sophisticated operating system along with several users programs.
  • 3.       Such  system are very expensive in addition to the high charges paid initially, the regular operation and maintenance of these systemis also costly affair

 

Comparison between multi 

programming and multi 

processing


Comments

Popular posts from this blog

Layered Operating System

  Layered Operating System Layered Structure is a type of system structure in which the different services of the  operating system  are split into various layers, where each layer has a specific well-defined task to perform . It was created to improve the pre-existing structures like the Monolithic structure ( UNIX ) and the Simple structure ( MS-DOS ). Example –  The Windows NT operating system uses this layered approach as a part of it . Design Analysis : The whole Operating System is separated into several layers ( from 0 to n ) as the diagram shows. Each of the layers must have its own specific function to perform. There are some rules in the implementation of the layers as follows. The outermost layer must be the User Interface layer. The innermost layer must be the Hardware layer. A particular layer can access all the layers present below it but it cannot access the layers present above it. That is layer n-1 can access all the layers from n-2 to 0 but it canno...

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...

OS its Resource Manager and its Function

  Operating system as resource manager:   ·           A computer system usually has many hardware and software resources such as processor , memory, disk printer, I/O devices etc. ·           The task of resources management becomes essential in multi-user operating system where different user compute for the same resource.   Operating system manages resources in two ways : 1.         Time multiplexing : it defines the sharing of resources on the basis of fixed time slices. For example, the operating system allocate the resources, such as CPUto program A for fixed time slice. 2.         Space timing:  it defines the concurrent sharing of resources among different programs.for example, sharing of hard disk and main memory is space multiplexing.     FUNCTION OF OPERATING SYSTEM     The primar...

Suspend a process

  Suspend a process A process is an active program. It can also be said as a program that is under execution. It is more than the program code as it includes the program counter, process stack, registers, program code etc. Compared to this, the program code is only the text section. A process passes through different states as it executes. These states may be different in different operating systems. However, the common process states are explained below with the help of a diagram − New This is the state when the process has just been created. It is the initial state in the process life cycle. Ready In the ready state, the process is waiting to be assigned the processor by the short term scheduler, so it can run. This state is immediately after the new state for the process. Ready Suspended The processes in ready suspended state are in secondary memory. They were initially in the ready state in main memory but lack of memory forced them to be suspended and gets placed in the second...

Scheduler

  Scheduler   Scheduling Objectives Here, are important objectives of Process scheduling Maximize the number of interactive users within acceptable response times. Achieve a balance between response and utilization. Avoid indefinite postponement and enforce priorities. It also should give reference to the processes holding the key resources  Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming in operating system. Process scheduling involves short-term scheduling, medium-term scheduling and long-term scheduling. Details about these are given as follows − Long-Term Scheduling Long-term scheduling involves selecting the processes from the storage pool in the secondary memory and loading them into the ready queue in the main memory for execution. This is handled by the long-term scheduler or job scheduler. The long-term s...