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

Where traffic intensity can be measured, Traffic Intensity can be measured ...

Traffic Intensity can be measured in (A)  Erlangs                                    (B) CCS (C)  CM                                         (D) All of the above Ans:

What are the events used for page headers and footers, What are the events ...

What are the events used for page headers and footers? The events TOP-OF-PAGE and END-OF-PAGE are used for pager headers and footers.

What is process control block, What is process control block?  Each pro...

What is process control block?  Each process is shown in the OS by a process control block. It having many pieces of information associated with a specific process.

Search method for searching a sorted file, The search method for searchi...

The search method for searching a sorted file that needs increased amount of space is The search technique for searching a sorted file that needs increased amount of space

Software engineering, specialization,ggeneralization and aggregation of rai...

specialization,ggeneralization and aggregation of railway reservation system?

Determine the quivalence partitioning, Determine the quivalence Partitionin...

Determine the quivalence Partitioning? The division of domain data into dissimilar equivalence data classes is performed using Equivalence Partitioning. It is executed for redu

Expalin johnson counter, Write short note on the Johnson counter. Ans:...

Write short note on the Johnson counter. Ans:  Johnson Counter: It is a synchronous counter, where all flip-flops are clocked concurrently and the clock pulses drive the

Existential introduction, Existential Introduction: Now if we have any...

Existential Introduction: Now if we have any sentence as, A, and variable, v, that does not occur in A, so then for any ground term, g, such occurs in A, than we can turn A in

Explain the uses of thumbwheels, Explain the uses of thumbwheels Two t...

Explain the uses of thumbwheels Two thumbwheels are usually required to control the screen cursor in its horizontal and vertical position respectively. As the name implies,

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