Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: BUFFERS
  Description
  Syntax
  Parameters
  Default settings
  Remarks
   Using BUFFERS with DriveSpace
   Using BUFFERS with SMARTDRV.EXE
   How MS-DOS uses buffers
   Using the secondary buffer cache
  Examples

MS DOS Command: BUFFERS

Reference from Microsoft MS-DOS cmd help

Description

Allocates memory for a specified number of disk buffers when your system starts. You can use this command only in your CONFIG.SYS file.

Syntax

BUFFERS=n[,m]

Parameters

n Specifies the number of disk buffers. The value of n must be in the range 1 through 99.
m Specifies the number of buffers in the secondary buffer cache. The value of m must be in the range 0 through 8.

Default settings

The default setting for the number of disk buffers depends on the configuration of your system, as shown in the following table:

Configuration Buffers (n) Bytes
<128K of RAM, 360K disk 2 --
<128K of RAM, > 360K disk 3 --
128K to 255K of RAM 5 2672
256K to 511K of RAM 10 5328
512K to 640K of RAM 15 7984

The default setting for the number of buffers in the secondary cache (m) is 0 (no secondary cache buffers).

If you specify an invalid value for n or m, BUFFERS uses the default setting of no secondary cache buffers.

Remarks

Using BUFFERS with DriveSpace

If you are using SMARTDrive with DriveSpace and MS-DOS is loaded into the HMA, set BUFFERS=10. This ensures that there will be enough room in the HMA for MS-DOS, DriveSpace, and all your buffers. (If BUFFERS is set to a value higher than 10, there might not be enough room in the HMA for all your buffers, and MS-DOS will place all the buffers into conventional memory.) If you're using SMARTDrive, specifying more than 10 buffers will not speed up your system much, but will use additional memory.

Using BUFFERS with SMARTDRV.EXE

If you are using SMARTDRV.EXE, either use a smaller value for BUFFERS, or do not specify a BUFFERS command at all.

How MS-DOS uses buffers

MS-DOS uses the memory reserved for each disk buffer to hold data during read and write operations. To achieve the best performance with programs such as word processors, specify a value between 10 and 20 for n. If you plan to create many subdirectories, you might want to increase the number of buffers to 20 or 30. Each buffer requires approximately 532 bytes of memory. Therefore, the more buffers you have, the less memory you have available for programs. (To find out how much memory MS-DOS is using for disk buffers, use the MEM /D /P command.)

If MS-DOS is loaded in the high memory area (HMA) and there is enough room in the HMA to contain all the buffers, MS-DOS also places the buffers in the HMA. If you specify more than 48 buffers, or if you upgraded from MS-DOS 6.2, are running DriveSpace, and specify more than 10 buffers, there might not be enough room in the HMA for all the buffers. In that case, MS-DOS places all of the buffers into conventional memory.

Using the secondary buffer cache

Using the cache can speed up certain disk operations if you are using a computer with an 8086 processor. If you are using a computer with a faster processor, it is better to use SMARTDRV for a cache.

Examples

To create 20 disk buffers, include the following command in your CONFIG.SYS file:

buffers=20


©sideway

ID: 110700133 Last Updated: 7/21/2011 Revision: 0


Latest Updated LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Travel 18

Reference 79

Computer

Hardware 254

Software

Application 213

Digitization 37

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 431

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Set 1

Logic 1

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019