Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

Purpose: To instruct the file system to add cache buffers.
Format: ADDBUFFERS <drive> [<n>]
ADDBUFFERS adds <n> buffers to the list of buffers available for the specified <drive>. A buffer is a temporary storage area in memory. Allocating additional buffers makes disk access significantly faster. However, each additional buffer reduces free memory by approximately 500 bytes. The default buffer allocation is 5 for floppy drives and usually 30 for hard disks, although 500 is recommended for the latter.

The number of buffers you should add depends on the amount of extra memory available. There is no fixed upper limit, but adding too many buffers can actually reduce overall system performance by taking RAM away from other system functions. If a negative number is specified, that many buffers are subtracted from the current allocation. The minimum number of buffers is one; however, using only one is not recommended.

30 buffers are generally recommended for a floppy drive, while the optimum number for a hard drive partition depends on the type and size of the partition. Usually you should use the default value recommended by the Media Toolbox program or the AmigaOS 4.0 installation instructions. As a general rule, you can use 30 to 50 buffers for every megabyte of RAM in your system.

If only the <drive> argument is specified, ADDBUFFERS displays the number of buffers currently allocated for that drive.

Example 1:

DF0: has 5 buffers
Displays the number of buffers currently allocated to drive DF0:.

Example 2:

DF1: has 30 buffers
Adds 25 buffers to drive DF1: and displays the total.

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: February 9, 2006.