home *** CD-ROM | disk | FTP | other *** search
- Tuning
- ------
-
- This file describes the parameters which can be altered to tune Newsbase's
- behaviour. Most of these are concerned with memory management. The bulk of
- newsbase is written in BASIC, which doesn't exactly have wonderful memory
- management facilities. Large memory demands by Newsbase, such as when
- debatching, are handled by claiming extra memory above HIMEM and using this
- for direct storage. However, other memory demands are not so easily handled;
- in particular the arrays of information kept about the group database.
- Newsbase attempts to handle this by claiming almost all available memory on
- startup, setting up the data structures at a size it decides will be
- sufficient, then returning as much memory as possible to the system. The
- major factor here is how many groups are present. Newsbase attempts to count
- the current number, then add some more to allow for group creation. The
- minimum number allocated, and the additional number to allow for creation,
- can be controlled by editing parameters in the tuning file.
-
- The tuning file, !NewsBase.support.!nbsys, contains a list of parameter
- names with their associated values. If a parameter is not set in this file,
- a default will be used. Parameters are:
-
- max_usr (default 20, minimum 5). The maximum number of usernames handled by
- newsbase.
-
- min_grp (default 40, minimum 10). The minimum number of groups allocated by
- newsbase at startup.
-
- add_grp (default 20, minimum 10). The number of extra groups allocated to
- allow for creation.
-
- min_fre (default 8192, minimum 4096). The minimum no. of bytes free before
- newsbase attempts to increase its wimpslot.
-
- max_rdr (default 5, minimum 1). The minimum number of newsreader clients
- that can be handled at once by newsbase.
-
- min_dsk (default 128, minimum 0). The minimum no. of Kbytes free on disk
- before newsbase stops operations (the disk tested is the device containing
- the news database).
-
- min_cpu (default 7). Minimum CPU timeslice used by newsbase when processing
- data (normal mode).
-
- max_cpu (default 15). Minimum CPU timeslice used by newsbase when processing
- data (fast mode).
-
- deb_buf (default 16)
- Size of debatch input buffer, in Kbytes.
-
- dbg_exp (default 3)
- Expiry time in days for batch files kept in debug area.
-
- min_flt (default 10)
- Minimum number of filters allowed. At startup, newsbase will allocate this
- number, plus any already defined.
-
- chk_tim (default 10, minimum 5). Time in seconds between checking for
- newly-arrived batch files. Default time of 10 secs is good for most
- purposes; a longer delay might be wanted when checking files over NFS, which
- is generally slower.
-
-