Presented by-:
Mohd. Shahnawaz Khan
Neeraj Jaiswar
Deepika Singh
1
What is buffer……...?
• A buffer is a temporary storage location for data while the data is being
transferred.
• It is located in primary memory.
• A process of storing data in memory(buffer) is known as “ buffering”.
2
• I/O buffering is the mechanism which is used to increase the throughput of I/o
operation.
• “Input buffering” is the technique of having the input device read information into
the primary memory(buffer) before the process requested it.
• “Output buffering”is the technique of saving the information in the memory and
then writing it to the device while the process continues execution.
3
• In this mechanism the CPU copy the needed data from storage disk to a buffer .
● That buffer is called I/O buffer.
● When any process need to use that data it take it from the I/O buffer.
● It reduce the latency of I/O operation.
● The latency of I/O operation is alleviated by having one or more I/O buffer
associated with each device.
4
5
Why we use I/O buffer………?
• If we don’t use the input output buffer then the throughput of the CPU will
decreases.
● Process takes too much time to execute the operation.
● The time between the initiation of an I/O process and its completion may be
millions of processor clock cycles.
● Most of this latency is due to the hardware itself.
● When the input/output device is a network interface, the latency is usually
greater yet.
6
THANK
YOU
7