Share on Facebook Share on Twitter Email
Answers.com

underrun

 
Dictionary: un·der·run   (ŭn'dər-rŭn') pronunciation
tr.v., -ran (-răn'), -run, -run·ning, -runs.
  1. To run, pass, or go beneath.
  2. Nautical. To haul (a line or cable) onto a boat for inspection or repair.
n.
  1. Something that runs under, as:
    1. An amount or a quantity produced that is less than what has been estimated.
    2. The difference between this amount or quantity and what has been estimated.
  2. An undercurrent.

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

When writing to a CD-R disc, the inability of the computer to keep up with the recording process. There are numerous causes. The data may be coming from a slow CD drive or another slow source. The CPU may have limited memory, have too many open applications, or the drivers may be out-of-date. See thermal recalibration and coaster.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

Wikipedia: Buffer underrun
Top

In computing, buffer underrun or buffer underflow is a state occurring when a buffer used to communicate between two devices or processes is fed with data at a lower speed than the data is being read from it. This requires the program or device reading from the buffer to pause its processing while the buffer refills. This can cause undesired and sometimes serious side effects, since the data being buffered is generally not suited to stop-start access of this kind.

Contents

General causes and solutions

The term should not be confused with buffer overflow, a condition where a portion of memory being used as a buffer has a fixed size but is filled with more than that amount of data. Whereas buffer overflows are usually the result of programming errors, and thus preventable, buffer underruns are often the result of transitory issues on the "connection" which is being buffered—either a connection between two processes, with others competing for CPU time; or a physical link, with devices competing for bandwidth.

The simplest guard against such problems is to increase the size of the buffer—if an incoming data stream needs to be read at 1 bit per second, a buffer of 10 bits would allow the connection to be blocked for up to 10 seconds before failing, whereas one of 60 bits would allow a blockage of up to a minute. However, this requires more memory to be available to the process or device, which can be expensive. It also assumes that the buffer starts full—requiring a potentially significant pause before the reading process begins—and that it will always be full unless the connection is currently blocked. This latter caveat means that if the data does not, on average, arrive significantly faster than it is needed, any "blockages" on the connection will be cumulative—so that "dropping" one bit every minute on our hypothetical connection would lead to the 60-bit buffer underrunning if the connection remained active for an hour.

CD and DVD recording issues

Buffer underruns can cause serious problems during CD/DVD burning, because once the writing started, it cannot stop and resume flawlessly; thus the pause needed by the underrun can cause the data on the disc to become invalid. Since the buffer is generally being filled from a relatively slow source, such as a hard disk or another CD/DVD, a heavy CPU or memory load from other concurrent tasks can easily exhaust the capacity of a small buffer. Therefore, a technique called buffer underrun protection was implemented by various individual CD/DVD writer vendors, under various trademarks, such as Plextor BurnProof, Yamaha SafeBurn, JustLink or Seamless Link. With this technique, the laser is indeed able to stop writing for any amount of time and resume when the buffer is full again. The gap between successive writes is extremely small.

Another way to protect against the problem, when using rewritable media (CD-RW, DVD-RW, DVD-RAM), is to use the UDF file system, which organizes data in smaller "packets", referenced by a single, updated address table, which can therefore be written in shorter bursts.

Multimedia playback

  • If the framebuffer of the graphics controller does not get updated, the picture of the computer screen will appear to hang until the buffer receives new data. A feature of many video player programs is the ability to drop frames if the system is overloaded, intentionally letting the buffer underrun.
  • The buffer in an audio controller is a ring buffer. If an underrun occurs and the audio controller is not stopped, it will keep repeating the sound contained in the buffer, which may hold a quarter of a second or so. This happens if the operating system hangs during audio playback, usually for a short while, until possibly an error handling routine (e.g. blue screen of death) stops the audio controller.

References


 
 
Learn More
underran
coaster (technology)
AV drive (technology)

Post a question - any question - to the WikiAnswers community:

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Buffer underrun" Read more