Buffering Case Study

1005 Words3 Pages

083497 Buffering A buffer is a region of memory that holds data waiting to be moved from one memory space to another. Generally, a buffer is a temporary memory or queue that increases the performance of processes and the efficiency of the operating system. A buffer is implemented in different ways. For example, through a zero capacity where data has no waiting time as the buffering length is zero. Also, through bounded and unbounded capacities. The bound capacity assumes that there is a fixed buffer size while the unbound capacity assumes that there is no limited buffer size. Buffering is done in order to cope with data mismatch between the users of the data stream, for adaptation of devices that have different data-transfer sizes. Where buffers …show more content…

Output buffer- this is the cache location that holds ready-to-be-seen data until the display devices such as monitors are ready to be display the data. iv. Input buffer- also called input block, is a part of memory in a computer that temporarily holds all incoming data as it awaits to be processed in the CPU. Some of the errors associated with buffering are: i. Buffer under-un. This is also called buffer underflow. It is when the computer supplies data to the CD writer slower than required i.e. the buffer between two processes is supplied to data slower than that being read from it.it occurs for example when a CD does not have enough memory space to accommodate the data being transferred. This can be avoided by increasing the data buffer size. ii. Buffer overflow. This happens when the computer transmits more than the buffer can hold hence causing congestion as the data is dropped and a lot is lost. The adjacent memory spaces are overwritten and corrupted and can cause even the system to crash. Buffer overflow also known as buffer overrun can be avoided by having system checks regularly in order to detect and fix the overflow. The operating system responds through segmentation faults. Communication in client-server

More about Buffering Case Study

Open Document