Content deleted Content added
m →History: Either go US-style and have no space either side of the em-dash, or UK-style and have a space either side. Either way, keep it symmetrical. |
No edit summary |
||
Line 1:
{{Short description|Memory used temporarily in data transfers}}
{{redirect distinguish|Memory buffer|memory buffer register}}
In [[computer science]], a '''data buffer''' (or just '''buffer''') is a region of a memory used to
In all cases, the data stored in a data buffer are stored on a [[computer data storage|physical storage medium]]. A majority of buffers are implemented in [[software]], which typically use the faster [[Random-access memory|RAM]] to store temporary data A buffer often adjusts timing by implementing a [[
==Applications==
Buffers are often used in conjunction with [[I/O]] to [[computer hardware|hardware]], such as [[disk drives]], sending or receiving data to or from a [[Computer network|network]], or playing sound on a speaker. A line to a [[rollercoaster]] in an amusement park shares many similarities. People who ride the coaster come in at an unknown and often variable pace, but the roller coaster will be able to load people in bursts (as a coaster arrives and is loaded). The [[queue area]] acts as a buffer—a temporary space where those wishing to ride wait until the ride is available. Buffers are usually used in a [[FIFO (computing and electronics)|FIFO]] (first in, first out) method, outputting data in the order it arrived.
Buffers can increase application performance by allowing [[synchronous]] operations such as file reads or writes to complete quickly instead of blocking while waiting for hardware interrupts to access a physical disk subsystem; instead, an operating system can immediately return a successful result from an API call, allowing an application to continue processing while the kernel completes the disk operation in the background. Further benefits can be achieved if the application is reading or writing small blocks of data that do not correspond to the block size of the disk subsystem,
==Telecommunication buffer==
A buffer [[Subroutine|routine]] or [[data storage device|storage]] [[Recording medium|medium]] used in telecommunications compensates for a difference in rate of flow of [[data]]
Buffers are used for many purposes, including:
* Interconnecting two [[Digital data|digital]] circuits operating at different rates
* Holding data for later use
* Allowing timing corrections to be made on a [[data stream]]
* Collecting [[Binary numeral system|binary]] data bits into groups that can then be operated on as a unit
* Delaying the transit time of a [[Signalling (telecommunication)|signal]] in order to allow other operations to occur.
|