Operating System Design issues, I/O Buffering
Operating System Design IssuesEdit
Q Explain operating system design issues ? ---- 2 M
Ans : While designing operating system we must have two considerations :-
1) I / O devices are extremely slow as compare to processor.
2) Every I / O device is having different speed of operation.
To handle this we can have one solution of multiprogramming where we can have different levels in the I / O
- Logical I / O It treats device as logical resource
- Device I / O It works with I / O instructions.
- File System It deals with files.
This are some of the design issues of operating system while dealing with I / O.
Q What is I /O buffering ? Explain different types of I / O buffering ? (4 m)
Ans:- Buffering is the technique by which the device manager can keep slower I / O devices busy during times when a process is not requiring I/ O operations. Input / Output buffering is a mechanism that improves the through put of input and output operations. It is implemented directly in hardware and the corresponding drivers. I / O buffering increases the efficiency of the operating system and the performance of individual process.
Types of buffering
a) No buffering
b) Single buffering:- This approach provides a speed up in I / O operation.
c) Double buffering :- Double buffering ensures that the process will not have to wait on I / O.
d) Circular buffering :-
- WikiNote Foundation