Hello Viewer! How are you I hope you well? In the previous lesson, we learned Basic Information Related to Operating System. in this lesson we'll learn Types Of Operating System
Types Of Operating System
Advantages
1) Two or more CPU in single System/Computer in close communication sharing the system bus memory and other I/O devices.
1) It is very similar to multiprogramming batch system.
Types Of Operating System
BATCH Operating System
1) In batch OS Job/task with similar needs are batched together and execute through the processor as a group.
2) Operator sort jobs as a deck of punch cards into the batch with similar needs.
Example: Suppose We have job/task which one is related 2 FORTRAN and other job/task related 2 COBOL. then all the task of similar type such as FORTRAN grouped, COBOL group and all the task execute in batch format.( See the above image )
Advantages
1) In a batch OS job/task execute one after another saving time from activities like loading compiler.
2) During a batch execution, no manual instruction is needed.
Disadvantages
1) Memory Limitation
2) User can't directly communicate with CPU.
SPOOLING ( Simultaneously Peripheral Operations Online )
2) In CPU data is stored 1st onto the disk and then CPU interact with disk via Main Memory.
Advantages
1) No interaction of Input and output device with CPU.
2) CPU utilization is more as CPU is most of the time.
Disadvantages
In starting Spooling was uniprogrammly.
MULTIPROGRAMMING Operating System
2) Multiprogramming means more than one process in Main memory which is ready 2 execute.
3) The process generally requires CPU time and I/O ( input/output ) time. So if a running a process perform I/O or some other event which do require CPU then instead of sitting 'IDLE'. CPU will make a context switch and pick some other process and this idea will continue.
4) CPU never 'IDLE' unless there is not process ready to execute or at a time of context switch.
Advantages
1) High CPU utilization.
2) Less waiting time, response time etc.
3) Maybe extended 2 multiple users.
4) Nowadays useful.
Disadvantages
1) Difficult Scheduling.
2) Main memory management is required.
MULTIPROCESSING Operating System
1) Two or more CPU in single System/Computer in close communication sharing the system bus memory and other I/O devices.
2) Different process may run on different CPU, true parallel execution.
Types
a) Symmetric
One OS control all CPU. each CPU has equal rights.
b) Asymmetric
System task on one processor and processor and application on other processor and one CPU will handle all the interrupts or I/O devices they are easy to design but less efficient.
Advantages
1) Increased Throughput.
2) Increased reliability
3) Cost saving
4) True parallel processing
Disadvantages
1) More complex
2) Overhead and coupling reduce throughput
3) Large main memory
MULTITASKING Operating System
2) Only one CPU but switches between processes so quickly that it was given on illusion that all executing at the same time.
3) The task in multitasking may refer to multiple threads of the same program.
4) The main idea is better responses time and executing multiple processes together.
TIME SHARING Operating System
1) It is very similar to multiprogramming batch system.
2) In fact, the time-sharing system is an extension of a multiprogramming system.
3) It can be used to handle multiple interactive jobs.
4) Processor time is shared among multiple users.
Advantages
1) Provide quick response.
2) Avoid duplication of software.
3) Reduces CPU 'IDLE' time.
Disadvantages
1) problem of reliability.
2) problem of data communication.
In this part we learn Types Of OS. I hope you like it. we'll discuss new topic in future post.
Thank You 4 reading my blog! if you have any problem or issue with this post please comment/contact.
Important :
In this post, Article/Paragraph is taken from Knowledge Gate YouTube Channel book Owned by Sanchit Jain