IO BUFFERING
- A user process reads block of data from a tape,one at a time, with each block having a length of 100 bytes.
- Data should be read into user space area.
- One simplest way would be to execute an input/output command to the tape unit and then wait for the data to become available.
There are two problems with this approach:
- The program is hang up waiting for the relatively slow input/output to complete.
- This approaches to input/output integers with swapping decimals by 0s.
I think this is a question of the Operating System as it is present in the operating system syllabus. So please add this question there.