Multiple buffering

In computer science, multiple buffering is the use of more than one buffer to hold a block of data, so that a "reader" will see a complete (though perhaps old) version of the data, rather than a partially updated version of the data being created by a "writer". It also is used to avoid the need to use Dual-ported RAM when the readers and writers are different devices.

Description

The easiest way to explain how multiple buffering works is to take a real world example. It is a nice sunny day and you have decided to get the paddling pool out, only you can not find your garden hose. You'll have to fill the pool with buckets. So you fill one bucket (or buffer) from the tap, turn the tap off, walk over to the pool, pour the water in, walk back to the tap to repeat the exercise. This is analogous to single buffering. The tap has to be turned off while you "process" the bucket of water.

Now consider how you would do it if you had two buckets. You would fill the first bucket and then swap the second in under the running tap. You then have the length of time it takes for the second bucket to fill in order to empty the first into the paddling pool. When you return you can simply swap the buckets so that the first is now filling again, during which time you can empty the second into the pool. This can be repeated until the pool is full. It is clear to see that this technique will fill the pool far faster as there is much less time spent waiting, doing nothing, while buckets fill. This is analogous to double buffering. The tap can be on all the time and does not have to wait while the processing is done.

Podcasts:

PLAYLIST TIME:

Latest News for: double buffered

Grand civic budget for Brand Bengaluru aims to improve quality of life

The Times of India 29 Mar 2025
'Many projects, including tunnel roads, double-decker flyovers, elevated corridors, 300km buffer zone roads, whitetopping of roads, skydeck, and illumination of the city, have been taken up to support ...

UAE leads resilience of the banking sector in the GCC

Khaleejtimes 20 Mar 2025
Analysts attribute this to aggressive provisioning during 2023’s high-profit cycle, with UAE lenders allocating 25 per cent more capital to buffer against legacy risks than regional peers ... a buffer.

Investors, advisers flock to ‘buffer’ ETFs as markets sell off

The News International 15 Mar 2025
Fuse Research Network, an asset management research and consulting firm, said it expects inflows into buffer ETFs to nearly double this year ... Aside from limiting potential gains, buffer ETFs also tend to carry higher fees.

Bengaluru to get double-decker flyovers, tunnel roads to ease traffic

Hindustan Times 13 Mar 2025
Bengaluru, Karnataka Deputy Chief Minister D K Shivakumar on Thursday announced that double-decker flyovers, tunnel roads, buffer roads, elevated corridors, and other infrastructure projects are planned to ease Bengaluru's traffic congestion.

Double-decker flyovers, tunnel roads, buffer roads to ease traffic in Bengaluru: DK Shivakumar

Beijing News 13 Mar 2025
Karnataka Deputy Chief Minister DK Shivakumar, who is also the Bengaluru Development Minister, on Thursday said that double-decker flyovers, tunnel roads, buffer roads, elevated corridors, and other projects are planned to ease traffic in Bengaluru.

After ‘even God can’t fix traffic woes’ remark, DKS rolls out solutions

The Times of India 13 Mar 2025
The govt also plans double-decker flyovers, buffer roads along stormwater drains, and construction of 320km of new roads is in progress.

Government will develop double decker flyovers along the metro lines: DK Shivakumar

The Times of India 13 Mar 2025
... flyovers, tunnel roads, buffer roads, and elevated corridors.

Bengaluru To Get Flyovers, Tunnel Roads In Move To Ease Traffic: DK Shivakumar

NDTV 13 Mar 2025
Karnataka Deputy Chief Minister DK Shivakumar on Thursday announced that double-decker flyovers, tunnel roads, buffer roads, elevated corridors, and other infrastructure projects are planned to ease... .
  • 1
×