Here you will learn about the structure of operating systems. In other word, you will see what operating systems looks like from the outside or the programmer's interface.
Here we will take a look at five different structures of operating systems.
Here are the list of all those five designs or structures of the operating systems, we will examine.
Now let's describe briefly about all the above different-different structures of operating systems.
The operating system (OS) is written as a collection of procedures, each of which can call any of the other ones, whenever it needs to.
When this technique is used, then each procedure in the system has a well-defined interface in terms of parameter, and results, and each one is free to call any of the other ones, if the latter provides some useful computation that the former needs.
Monolithic systems provides a basic structure for the operating system.
In Monolithic system model, there is one service procedure for each system call, that takes care of it. The utility procedures do jobs that are needed by several service procedures, such as fetching the data from the user programs.
This division of the procedures into the following three layers:
The figure given below shows all the layered provided above in monolithic system model of operating system.
This system has 6 layers as shown in the table given below.
|1||Memory and drum management|
|0||Processor allocation and multiprogramming|
Here, are the description provided layer by layer.
The system originally called CP/CMS, later renamed VM/370, was based on an astute observation. That was a time sharing system, provides multiprogramming and an extended machine with a more convenient interface than the bare hardware.
The heart of the system known as virtual machine monitor that runs on the bare hardware and does the multiprogramming, providing several virtual machines to next layer up as shown in the given figure.
These virtual machines aren't extended machines, with files and other nice features. They are the exact copies of the bare hardware, including the kernel/user mode, Input/Output, interrupts, and everything else the real machine has.
Exokernels is a program present at the bottom layer, running in the kernel mode.
The work of exokernel is just to allocate the resources to the virtual machines and check attempts to use them to make sure no machine is trying to use some other's resources.
Exokernels saves a layer of mapping which is the advantage of the exokernel scheme.
In the client-server model, as shown in the figure given below, all the kernel does is handle the communication between the clients and the servers.
By splitting the operating system (OS) up into parts, each of which only handles one fact of the system, such as file service, terminal service, process service, or memory service, each part becomes small and manageable.
The adaptability of the client-server model, to use in distributed system is the advantage of this model.