home *** CD-ROM | disk | FTP | other *** search
/ Dream 42 / Amiga_Dream_42.iso / RiscPC / Internet / Connexion / SPak.spk / !NewsBase_docs_Tuning < prev    next >
Encoding:
Text File  |  1994-11-09  |  2.6 KB  |  63 lines

  1. Tuning
  2. ------
  3.  
  4. This file describes the parameters which can be altered to tune Newsbase's
  5. behaviour. Most of these are concerned with memory management. The bulk of
  6. newsbase is written in BASIC, which doesn't exactly have wonderful memory
  7. management facilities. Large memory demands by Newsbase, such as when
  8. debatching, are handled by claiming extra memory above HIMEM and using this
  9. for direct storage. However, other memory demands are not so easily handled;
  10. in particular the arrays of information kept about the group database.
  11. Newsbase attempts to handle this by claiming almost all available memory on
  12. startup, setting up the data structures at a size it decides will be
  13. sufficient, then returning as much memory as possible to the system. The
  14. major factor here is how many groups are present. Newsbase attempts to count
  15. the current number, then add some more to allow for group creation. The
  16. minimum number allocated, and the additional number to allow for creation,
  17. can be controlled by editing parameters in the tuning file.
  18.  
  19. The tuning file, !NewsBase.support.!nbsys, contains a list of parameter
  20. names with their associated values. If a parameter is not set in this file,
  21. a default will be used. Parameters are:
  22.  
  23. max_usr (default 20, minimum 5). The maximum number of usernames handled by
  24. newsbase.
  25.  
  26. min_grp (default 40, minimum 10). The minimum number of groups allocated by
  27. newsbase at startup.
  28.  
  29. add_grp (default 20, minimum 10). The number of extra groups allocated to
  30. allow for creation.
  31.  
  32. min_fre (default 8192, minimum 4096). The minimum no. of bytes free before
  33. newsbase attempts to increase its wimpslot.
  34.  
  35. max_rdr (default 5, minimum 1). The minimum number of newsreader clients
  36. that can be handled at once by newsbase.
  37.  
  38. min_dsk (default 128, minimum 0). The minimum no. of Kbytes free on disk
  39. before newsbase stops operations (the disk tested is the device containing
  40. the news database).
  41.  
  42. min_cpu (default 7). Minimum CPU timeslice used by newsbase when processing
  43. data (normal mode).
  44.  
  45. max_cpu (default 15). Minimum CPU timeslice used by newsbase when processing
  46. data (fast mode).
  47.  
  48. deb_buf (default 16)
  49.  Size of debatch input buffer, in Kbytes.
  50.  
  51. dbg_exp (default 3)
  52.  Expiry time in days for batch files kept in debug area.
  53.  
  54. min_flt (default 10)
  55.  Minimum number of filters allowed. At startup, newsbase will allocate this
  56.  number, plus any already defined.
  57.  
  58. chk_tim (default 10, minimum 5). Time in seconds between checking for
  59. newly-arrived batch files. Default time of 10 secs is good for most
  60. purposes; a longer delay might be wanted when checking files over NFS, which
  61. is generally slower.
  62.  
  63.