Type of Operating System


  1. Mainframe System: It is the system where the first computer used to handle many commercial scientific applications. The growth of mainframe systems traced from simple batch system where the computer runs one and only one application to time shared systems which allowed for user interaction with the computer systema.
    1. Batch /Early System: Early computers were physically large machine. The common input devices were card readers, tape drivers. The common output devices were line printers, tape drivers and card punches. In these systems the user did not interact directly with the computer system. Instead the user preparing a job which consists of programming data and some control information and then submitted it to the computer operator after some time the output is appeared. The output in these early computer was fairly simple is main task was to transfer control automatically from one job to next. The operating system always resides in the memory. To speed up processing operators batched the jobs with similar needs and ran then together as a group. The disadvantages of batch system are that in this execution environment the CPU is often idle because the speed up of I/O devices is much slower than the CPU.
    2. Multiprogrammed System: Multiprogramming concept increases CPU utilization by organization jobs so that the CPU always has one job to execute the idea behind multiprogramming concept. The operating system keeps several jobs in memory simultaneously as shown in below figure.This set of job is subset of the jobs kept in the job pool. The operating system picks and beginning to execute one of the jobs in the memory. In this environment the operating system simply switches and executes another job. When a job needs to wait the CPU is simply switched to another job and so on. The multiprogramming operating system is sophisticated because the operating system makes decisions for the user. This is known as scheduling. If several jobs are ready to run at the same time the system choose one among 8 | P a g ethem.This is known as CPU scheduling.
      The disadvantages of the multiprogrammed system are
      • It does not provide user interaction with the computer system during the program execution.
      • The introduction of disk technology solved these problems rather than reading the cards from card reader into disk. This form of processing is known as spooling SPOOL stands for simultaneous peripheral operations online. It uses the disk as a huge buffer for reading from input devices and for storing output data until the output devices accept them. It is also use for processing data at remote sides. The remote processing is done and its own speed with no CPU intervention. Spooling overlaps the input, output one job with computation of other jobs. Spooling has a beneficial effect on the performance of the systems by keeping both CPU and I/O devices working at much higher time
    3. Time Sharing System:The time sharing system is also known as multi user systems. The CPU  executes  multiple  jobs  by  switching  among  them  but  the  switches  occurs  so frequently that the user can interact with each program while it is running. An interactive computer system provides direct communication between a user and system. The user gives  instruction  to  the  operating  systems  or  to  a  program  directly  using  keyboard  or mouse  and  wait  for  immediate  results.  So  the  response time  will  be  short.  The  time sharing system allows many users to share the computer simultaneously. Since each action in this system is short, only a little CPU time is needed for each user. The system switches rapidly from one user to the next so each user feels as if the entire computer system is dedicated to his use, even though it is being shared by many users.
      The disadvantages of time sharing system are
      • It is more complex than multiprogrammed operating system
      • It is more complex than multiprogrammed operating system
      • The system must have memory management & protection, since several jobs are kept in memory at the same time.
      • Time sharing system must also provide a file system, so disk management is required.
      • It provides mechanism for concurrent execution which requires complex CPU scheduling scheme
  2. Personal Computer System/Desktop System: Personal computer appeared in 1970’s. They are  microcomputers  that  are  smaller  &  less  expensive  than  mainframe  systems.  Instead  of maximizing CPU & peripheral utilization, the systems opt for maximizing user convenience & responsiveness.  At  first  file  protection  was  not  necessary  on  a  personal  machine. But  when other computers 2nd other users can access the files on a pc file protection becomes necessary. The lack of protection made if easy for malicious programs to destroy data on such systems. These programs may be self replicating& they spread via worm or virus mechanisms. They can disrupt  entire  companies  or  even  world  wide  networks.  E.g  :  windows  98,  windows  2000, Linux
  3. Microprocessor  Systems/  Parallel  Systems/  Tightly  coupled  Systems:   These  Systems have more than one processor in close communications which share the computer bus, clock, memory  &  peripheral  devices.  Ex:  UNIX,  LINUX.  Multiprocessor  Systems  have  3  main advantages.
    • Increased throughput: No. of processes computed per unit time. By increasing the no. of processors move work can be done in less time. The speed up ratio with N processors is not N, but it is less than N. Because a certain amount of overhead is incurred in keeping all the parts working correctly.
    • ncreased Reliability: If functions can be properly distributed among several processors, then the failure of one processor will not halt the system, but slow it down. This ability to continue to operate in spite of failure makes the system fault tolerant.
    • Economic scale: Multiprocessor systems can save money as they can share peripherals, storage & power supplies
  4. Distributed System/Loosely Coupled Systems: In contrast to tightly coupled systems, the processors do not share memory or a clock. Instead, each processor has its own local memory. The  processors  communicate  with  each  other  by  various  communication  lines  such  as  high speed  buses  or  telephone  lines.  Distributed  systems  depend  on  networking  for  their functionalities.  By  being  able  to  communicate  distributed  systems  are  able  to  share computational  tasks  and  provide  a  rich  set  of  features  to  the  users.  Networks  vary  by  the protocols  used,  the  distances  between  the  nodes  and  transport  media.  TCP/IP  is  the  most common network protocol. The processor is a distributed system varies in size and function. It may  microprocessors,  work  stations,  minicomputer,  and  large  general  purpose  computers. Network types are based on the distance between the nodes such as LAN (within a room, floor or building) and WAN (between buildings, cities or countries). The advantages of distributed system are resource sharing, computation speed up, reliability, communication.
  5. Real time Systems: Real time system is used when there are rigid time requirements on the operation of a processor or flow of data. Sensors bring data to the computers. The computer analyzes data and adjusts controls to modify the sensors inputs. System that controls scientific experiments,  medical  imaging  systems  and  some  display  systems  are  real  time  systems. 
    The disadvantages of real time system are:
    • A real time system is considered to function correctly only if it returns the correct result within the time constraints.
    • Secondary storage is limited or missing instead data is usually stored in short term memory or ROM.
    • Advanced OS features are absent
      Real time system is of two types such as:
      • Hard real time systems: It guarantees that the critical task has been completed on time. The sudden task is takes place at a sudden instant of time.
      • Soft real time systems: It is a less restrictive type of real time system where a critical task gets priority over other tasks and retains that priority until it computes. These have more limited utility than hard real time systems. Missing an occasional deadline is acceptable e.g. QNX, VX works. Digital audio or multimedia is included in this category.
      • It is a special purpose OS in which there are rigid time requirements on the operation of a processor. A real time OS has well defined fixed time constraints. Processing must be done within the time constraint or the system will fail. A real time system is said to function correctly only if it returns the correct result within the time constraint. These systems are characterized by having time as a key parameter