This is not a "how-to" article about fixing buffer underrun and buffer overrun errors, but a basic description of what a buffer is, why we need buffers, and what causes buffer underrun and buffer overrun.
Welcome to Bucaro TecHelp!

Welcome to Bucaro TecHelp!
Maintain Your Computer and Use it More Effectively
to Design a Web Site and Make Money on the Web

[About BTH]  [User Agreement]  [Privacy Policy]  [Site Map]  [Contact Form]  [Advertise on BTH]  [News Feed]

Google
Web
This Site
Your Ad Here!
Your ad here for one full year, only $20. Send me your ad copy, up to six lines, I'll post it ASAP. After you inspect your ad online, you can pay through PayPal.
Click here for more information.

Buffer Underrun and Overrun Scenarios

Buffer underrun and buffer overrun are occurrences that can result in some very frustrating errors. This is not a "how-to" article about fixing buffer underrun and buffer overrun errors, but a basic description of what a buffer is, why we need buffers, and what causes buffer underrun and buffer overrun.

Buffer Underrun

The most common occurrence of buffer underrun is CD recorders. Let's imagine an example of a CD recording session. The computer has an ATA hard drive capable of transferring data at a rate of 8 MBps (Mega Bytes per second). The CD recorder has a recording rate of 8 MBps. Everything should work fine, right?

Note: The data transfer rates mentioned in this article do not apply to any specific device. They're just for purposes of discussion.

The 8 MBps specification for the hard drive is for "burst" mode. In other words, it can transfer data at a rate of 8 MBps for only a few seconds. Then the transfer rate drops much lower, and if the hard drive hasn't been maintained, for example it has not been defragmented recently, the transfer rate can drop even lower.

Whereas a hard drive can skip from cluster to cluster while reading and writing, a CD recorder must burn the data track in a continuous stream without stopping. The design of a CD recorder requires a "sustained" transfer rate.

When two devices that operate at different transfer rates must communicate, we can make them work together by placing a buffer between them. A buffer is a block of memory, like a bucket for bytes. When you start the CD recording session, the hard drive begins filling the buffer. When the buffer is almost full, the CD recorder begins drawing bytes out of the buffer.

Buffer Underrun

If everything goes smoothly, the hard drive will be able to keep enough bytes in the buffer so that the speedy CD recorder won't empty the buffer. If the buffer runs dry, the CD recorder has no data to burn into the CD, so it stops. Buffer underrun error.

We can reduce the chances of buffer underrun by configuring a larger buffer. Then the hard drive will be able to put more bytes in the bucket before the CD recorder starts drawing them out. However, sometimes you can't increase the size of the buffer because the computer doesn't have a large amount of RAM installed. When the computer needs more RAM, it uses "virtual" RAM. That is, it allocates part of the hard disk and pretends like that's RAM. Now, even though you've increased the size of the buffer, you have caused the hard drive to work even slower.

Computer Sections

RSS Feed RSS Feed


Click Here! Free PC Technical Support
Windows Troubleshooting
Microsoft's Support Websites
Computer and Component Manufacturers Support Links
Free Online Antivirus Scanners
What Should be in a PC Technician’s Tool kit?
Static Discharge Causes Flaky Damage
Windows Startup Modes for Troubleshooting
The System Information Utility
Diagnose a PC's Multimedia Functions
A Quality Freeware Hardware Diagnostic Tool
Free Detailed PC Analysis
Free Online PC Diagnostic Tests
A FREE RAM Diagnostic Tool
Troubleshoot Windows XP with Free Upgrade Advisor
Get Remote Technical Assistance
Troubleshooting a Dead Computer
A lot of Beepen and Tooten But No Booten?
Hard Drive Does Not Boot
Windows Don't Start Because of a Corrupted Registry
How to Create a Windows XP Boot Disk
Free DOS Boot Floppy Reads NTFS
How to Reinstall Windows XP
The Blue Screen of Death (BSOD)
Understanding the boot.ini File
How to Fix Overheating Computer
Windows Takes Too Long to Start
Windows Doesn’t Shut Down
Your Computer Can't Keep Time
A Required DLL Was Not Found
Troubleshooting DLL Problems
When Pesky Programs Won't Go Away
Fix System Information "Can’t Collect Information" Error
Can't Boot From CD or DVD Drive
Fix CD Writer Buffer Underrun Errors
Problems with Floppy Disks
How to Tame Your Mouse
How to Troubleshoot Your Computer's Mouse
No Computer Sound
Slow Log-on to ISP
How To Troubleshoot Video Display Problems
Printer Troubleshooting
Solving Image Problems on HP Laser Printers
Stop Hard Disk Thrashing
How to Recognize and Repair Power Supply Problems
How To Repair Hard Drive Problems
CD-ROM Problems
Buffer Underrun and Overrun Scenarios
How to Resolve Cable, DSL, and Dialup Modem Problems
How to Troubleshoot the Video Driver
Run Old Programs in Windows Vista
Troubleshooting Computer Freeze (Lockup) Problems
What's With All Those Error Messages?
View Hidden Devices with Device Manager
Troubleshoot Windows with Task Manager
Troubleshoot Windows with Event Viewer
Windows XP's Built-in Help and Support Center
The Windows Recovery Console
System Restore: The Big Undo
How to Fix Windows XP Errors
Create Recovery Discs for Windows Vista with HP Recovery Manager

Your Ad Here
[Site User Agreement]  [Advertise on This site]  [Search This Site]  [Contact Form]
Copyright©2001-2007 Bucaro TecHelp P.O.Box 18952 Fountain Hills, AZ 85269