What is Time Sharing System
Definition: Time sharing means to share time into multiple slots in several processes. Time sharing system allowing multiple clients for getting access to specific system resources at once from different remotely locations and it is a logical extension of multi programming system. In this technique, time of single processor is shared in among of multiple users over the entire network system simultaneously.
Time Shared System in Operating System (OS)
Definition: Time Shared Operating System is also known as the Multi Tasking Operating System. Time-sharing operating system implements CPU scheduling and multi programming system which to deliver to every users a small piece of operating time. The technique of time sharing system relates with batch processing systems.
Time sharing Operating system delivers direct access to multiple users while splitting CPU time in among all users according to schedule system, and this operating system assigns set of time for every user. When this time slot gets time out session then it forwards own control to further user over this system. The time slot is getting very small and all users are provided various impression which they contain own CPU as sole owner of CPU. This small frame of time duration where all users grab attention of CPU, it is called the “Time Slice or Quantum“.
Diagram of Time Sharing Operating System
According to this diagram: User 5 is active state where as user 1, user 2, user 3, and user 4 are getting to wait it means under “waiting state”, but user 6 is ready position for execution.
When, user’s time slice is done, then it passes own control to further user for ready state like as user 6. In this cycle, user 2, user 3, user 4, and user 5 are getting to wait state and user 1 is under ready status. This process flows in this same fashion and so on.
Active State: User’s program is getting to control of CPU where only single program is present in this state.
Ready State: User’s program is ready position for executing but it is waiting to its turn for getting its CPU, but here multiple users can be ready position at once.
Waiting State: Here, user’s program is getting to wait for few I/O operations. Multiple users also can be for waiting position at once.
Requirements of Time Sharing Operating System
- Time sharing OS requires a alarm clock system that helps to send an interrupt signal for CPU after each time interval.
- Memory Protection system helps to protect single job’s instructions as well as interfering all data with other jobs.
Examples of Time Sharing Operating System
For an example, In transaction processing system, all types of processors have ability to execute every user program in small burst or quantum of computation,, like as when n users are exist, then every user is capable to grab a time quantum.
Some Examples of Time Sharing Operating System
- Windows 2000 server
- Windows NT server
- TOPS-10 (DEC)
- TOPS-20 (DEC)
Features of Time Sharing of Operating System
- Each user grabs dedicated time for all operations.
- Multiple online users can use same computer at same time.
- End users make feel that they monopolize the computer system.
- Better interaction in between users and computers.
- User’s request can be made in small time respond.
- It does not need longer have to wait for last task to end to get processor.
- It has ability to make quick processing with lot of tasks.
Advantages of Time Sharing of Operating System
- It delivers quick response.
- Every task makes same opportunity.
- Easy to use and user friendly
- It helps to increase performance of entire system.
- Multiple applications can be run at once.
- More efficient and convenient to use
- It eliminates replication of software.
- Interactive computing
- Decrease paper work
- It decreases CPU idle time.
Disadvantages of Time Sharing Operating System
- It creates reliability issue.
- Less security and integrity data and user programs
- Issue of data communication
- It consumes much system resources.
- Hang up problem, so it must have higher specification hardware components because there are lot of users and other applications working at once.