FreeDOS help system (hhstndrd 1.0.8 en)[buffersh]

Command: buffershigh

BUFFERSHIGH tells FreeDOS how many disk buffers it should allocate. BUFFERSHIGH is a CONFIG.SYS / FDCONFIG.SYS command.


buffershigh=nn[,m] nn is the number of primary disk buffers, in the range 1-99. m is the number of secondary disk buffers, in the range 1-8.


Usage: The default setting depends on the amount of conventional memory your system has: Memory (KB) Primary Buffers Secondary Buffers ---------------------------------------------------------------------- < 128 3 1 128 - 255 5 1 256 - 511 10 1 512 - 640 15 1


Increasing the number of BUFFERS can improve the speed of programs that work with a large number of files, but also uses up more memory resources. The secondary buffer option is available for compatibility with other DOS kernels, but is ignored by the FreeDOS kernel. In MS DOS, a secondary buffer can used to read-ahead data. FreeDOS does not do this. Buffers are stored in HMA by FreeDOS, unless you select nn to allocate more buffers than fit in HMA. If nn is smaller, unused HMA space will be used for further buffers until something else allocates the HMA space for something else. Even then, at least nn buffers will always be available. You can set nn to a negative value to disable the use of unused HMA space: BUFFERS=-10 only uses 10 buffers, further free space in the HMA will just stay unused. BUFFERSHIGH is like BUFFERS, except it attempts to load into high memory first (failing that it should load in conventional memory). Note: The order you load devices may have a large impact on amount of free memory available. In general try to load large (in memory usage) programs into high memory first. Important: You should have a high memory manager such as (HIMEM), HIMEMX or JEMMEX installed (prior device=himem.exe or device=himemx.exe in CONFIG.SYS / FDCONFIG.SYS) before using this option. BUFFERSHIGH is a command internal to kernel.sys and needs no other file in order to work.


IN CONFIG.SYS / FDCONFIG.SYS: buffershigh=3,1

See also:

buffers config.sys fdconfig.sys (fdxms) (fdxms286) (himem) himemx jemmex ------------------------------------------------------------------------------ Copyright (C) 2003 Robert Platt, updated 2011 by W. Spiegl. This file is derived from the FreeDOS Spec Command HOWTO. See the file H2Cpying for copying conditions.