Implementation of buffering
Buffering is a technique used to programmers, programming languages, and operating system to reduce the number of disk access.
- Programming languages
- Python I/O implemented with buffered streams
Expected access time
- 99% of the time a read request is found in the “buffer” and retrieved in 1 µsec.
- 1% of the time a read request must be retrieved from disk which requires in 20 msec.
What is the average time required to perform a read request?