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

Adding xml files to your page, Step 1: Choose File -> Import XML into Templ...

Step 1: Choose File -> Import XML into Template Step 2: Select the XML file & click Open When an XML file is imported, Dreamweaver merges XML content in Template, which is be

Define dynamic loading, Define dynamic loading. To get better memory-sp...

Define dynamic loading. To get better memory-space utilization dynamic loading is used. With dynamic loading, a routine is not loaded unless it is called. All routines are kept

Define the boolean algebra, Define The Boolean algebra? A set of rules in...

Define The Boolean algebra? A set of rules invented by the English mathematician George Boole describe certain propositions whose outcome would be either true or false with regar

What are local objects, What are local objects? Local objects (Dev clas...

What are local objects? Local objects (Dev class$TMP) are independent of correction & transport system

Loop level-levels of parallel processing, Loop Level At this level, rep...

Loop Level At this level, repeated loop iterations are the applicants for parallel execution. However, data dependencies among subsequent iterations may limit parallel executio

Define html, HTML is a Hyper text Markup Language and it is  Scripting La...

HTML is a Hyper text Markup Language and it is  Scripting Language

Texts in the text elements of the program, Which Texts  in the text elemen...

Which Texts  in the text elements of the program helps in changing the displayed names of variables in the parameters statement. Selection text in the elements of the program

NachoS, Can I get the scheduling code for NachOS?

Can I get the scheduling code for NachOS?

What is web mail services, What is Web Mail Services? Web-based email s...

What is Web Mail Services? Web-based email services are also called as web mail or HTTP email. Unlike traditional POP email, web mail can be accessed from any PC using any web

what are the advantages of threads over processes, What are the advantages...

What are the advantages of threads over processes? Some of the useful threads offer over processes includes: i)   It does not take more time to create and finished a new thr

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