Explain i/o buffer and advantage of buffering, Computer Engineering

Assignment Help:

What is an I/O buffer? What is the advantage of buffering? Is buffering always effective? Justify your answer with help of an example.  

One type of I/O requirement arises from devices which have a very high character density like tapes and disks. With these attributes, it is not possible to regulate communication along with devices on a character-by-character basis. Hence, the information transfer is regulated in blocks of information. In addition, sometimes this may need some type of format control to structure the information to suit the device and/or data characteristics. For example, a disk drive is different from a line printer or an image scanner.

For each of these devices, the format and structure of information is dissimilar. It should be examined that the rate at which a device may offer data and the rates at which an end application may consume it might be significantly different. In place of these differences, the OS should offer uniform and easy to use I/O mechanisms. Generally, this is done by providing an I/O buffer. The OS manages this buffer thus as to be able to comply with the requirements of both the producer and consumer of data. Essentially, the buffers absorb mismatch in the data transfer rates of processor or memory on one side and device on the other.


Related Discussions:- Explain i/o buffer and advantage of buffering

Explain pointers, Explain pointers We can have a pointer pointing to a ...

Explain pointers We can have a pointer pointing to a structure just the same way a pointer pointing to an int, such pointers are called as structure pointers

Rapid appllication development, Explain clearly the four stages in the Rapi...

Explain clearly the four stages in the Rapid Application Development

Computer, is data bus is bidirectional

is data bus is bidirectional

State the use parameters and parameter definition modules, State the Use pa...

State the Use parameters and parameter definition modules. Parameters aren't preprocessor definitions and they have scope (for example parameters are associated with specific

Define a segment index or an internal index, The field that contains a segm...

The field that contains a segment index or an internal index is called ? Ans. Target datum consists of a segment index or an internal index.

Write a program to event advertised, A museum has a collection of old poste...

A museum has a collection of old posters advertising events of various kinds (theatre, sport, fairs, lectures etc.). It wishes to keep a record of these, containing, for each poste

Find minimal expression for sop, Consider the following expression. Assume ...

Consider the following expression. Assume that complement inputs are available. F(A,B,C,D) = ∑m (0,1,3,5,9,12,14) + ∑d (4,10,15) 1. Find minimal expression for SOP. Draw gate ne

What is process, In Windows, Thread is a unit of implementation. Process is...

In Windows, Thread is a unit of implementation. Process is the environment in which thread implements. Scheduler, schedules the Threads not the process. In Unix variants, Thread is

Explain the various interface circuits, Explain the various interface circu...

Explain the various interface circuits.  An I/O interface having of circuitry required to connect an I/O device to computer bus. One side having of a data path with its associa

Is dos a real time os, DOS is not a RTOS (real time Operating system), thou...

DOS is not a RTOS (real time Operating system), though MS DOS can be used with certain APIs to attain the RTOS functionality. For example, the RT Kernel (Real Time Kernel) which ca

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd