What are the advantages and disadvantages of four types of operating structures?

An operating system is an interface between the user and the machine which controls and coordinates the use of the hardware among the various application programs for the various users.

The four types of operating system structures are −

  • MS-DOS structure

This is the simplest of all the other structures. In this structure, both the system processes as well as the user processes are allowed to access the system hardware.

Features of DOS −

  • DOS is a 16-bit operating system.

  • Here the input is typed with basic system commands.

  • It allows 2 GB maximum.

  • It is a free OS.

  • DOS is usually called as single operating system.

  • It does not support a graphical interface.

Advantages −

It can perform the fundamental operation

It uses straightforward commands

Disadvantages −

  • Limited ability

  • Lack of flexibility.

  • Layered structure

Here the OS is divided into multiple layers and is thereby called the layered approach. These layers are cooperative, and each layer will just communicate with its immediate inside and outside layers, and not beyond that.

Advantages −

  • It is decomposable

  • It allows good maintenance.

Disadvantages −

  • It is difficult to assign functionalities to the correct and appropriate layer

  • Because of too many layers, the performance of the system is degraded.

  • Placing of layers should be difficult as no layer can call services of higher layers.

  • Microkernels structure

It is a kind of customization of the operating system. When memory is really crucial, instead of having all the services that the operating system provides in the OS, every service is divided into microkernels, and only the required services are picked as per the machine/device design requirements.

Advantages −

  • Simplicity

  • Reliability

  • Extensibility

Disadvantages −

  • Poor performance

  • Deadlocks and error conditions are possible between components of the system.

  • Modularized structure

In most modern OS development, the kernel is being minimized and a set of modules are being built on top of the kernel and are linked dynamically. The modularized approach is pretty similar to the layered approach but the freedom here is that each module is independent and is allowed to contact any other module as per requirement.

Advantages −

  • Efficient

  • Easy to maintained

  • Easy to debug and update

Disadvantages −

  • It may lose stability

  • Less security