home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / v / virtmem.tec < prev    next >
Text File  |  1993-03-21  |  4KB  |  77 lines

  1. ID:VM  DESQview/X: Virtual Memory
  2. Quarterdeck Technical Note # 130
  3. By Susan Easmon
  4. Last Revision: 29 January 1993
  5.  
  6.  
  7. WHAT IS VIRTUAL MEMORY?
  8.  
  9. Virtual memory allows a computer to work as if it has more RAM than is
  10. physically present.  This is done through memory addressing that involves
  11. storing some parts of the program on disk and other parts in memory.  When
  12. parts of the program that are not in physical memory are needed they are
  13. loaded from disk.  The operating system (OS) determines where the information
  14. is located and where it must go, in order to minimize any performance loss.
  15.  
  16.  
  17. DESQview/X VIRTUAL MEMORY SYSTEMS
  18.  
  19. The display servers use a 16-bit VMM (Virtual Memory Manager) configuration
  20. file which can be found in the \DVX\SERVER directory.  DESQview/X display
  21. servers have the ability to use your system's free disk space for virtual
  22. memory.
  23.  
  24. The 256-colour server uses XC16.VMC as its configuration file and the
  25. 16-colour server uses XB16.VMC as its configuration file.
  26.  
  27. The defaults for both .VMC files are:
  28.  
  29. minmem =  600             - The minimum amount of RAM managed by the VMM.
  30. maxmem =  1000            - The maximum amount of RAM managed by the VMM.
  31. swapmin = 128             - The size of the swapfile at startup.
  32. swapinc = 128             - The increment by which a swapfile grows (in K).
  33. swapname=tmp\server.swp   - The swapfile name and location.
  34. reservelow = 16           - Reserve 16K of low DOS memory for use by the VMM.
  35. freelow                   - Free all low memory if program does Spawn().
  36. envlow                    - Allocate environment space from low memory.
  37.  
  38. The figures on the MINMEM and MAXMEM field come from your pool of expanded
  39. memory.  The display server uses RAM (physical memory) up to the MAXMEM limit
  40. before it uses virtual memory, i.e., before it starts to swap to disk. You can
  41. tell that virtual memory is being used when system performance degrades and
  42. your computer accesses the hard disk without one of your programs explicitly
  43. reading or writing to the hard disk (i.e. the light starts to flash
  44. continuously).  Please note that virtual memory is at least several thousand
  45. times slower than physical memory.  If virtual memory becomes active, and you
  46. have sufficient expanded memory available on your system, you may wish to
  47. increase the MAXMEM parameter for the appropriate display server and restart
  48. DVX to see if this will improve the performance of your computer. It is
  49. important to leave the default setting on the MAXMEM field for the 256-colour
  50. server.  This figure may be increased if need be.  We do not recommend
  51. reducing the figure to any value less than 1000K.
  52.  
  53. It is highly unlikely that the 16-colour server would benefit from more than
  54. 1000K of server memory.  The 256-colour server (especially at higher
  55. resolutions) would benefit from more server memory in most cases; as mentioned
  56. earlier on, (depending on how much RAM you have available), you may try
  57. increasing MAXMEM to 2048K; if performance does improve, you may try
  58. increasing it again to 3072K to see if you get even better results.  3
  59. megabytes should be adequate.  It is important to remember that you need to
  60. have the RAM available before increasing the figure in the MAXMEM field.
  61.  
  62.  
  63. THE 32-BIT VIRTUAL MEMORY FEATURE
  64.  
  65. The second virtual memory system is a 32-bit VM intended for use with large
  66. applications built using the 32-bit DOS Extender. This VM is configured by
  67. setting options in the \DVX\DOS4GX.CFG file. Quarterdeck ships no applications
  68. in the current release that use this VM.
  69.  
  70.   ************************************************************************
  71.   *          Trademarks are property of their respective owners.         *
  72.   *This technical note may be copied and distributed freely as long as it*
  73.   *is distributed in its entirety and it is not distributed for profit.  *
  74.   *          Copyright (C) 1993 by Quarterdeck Office Systems            *
  75.   ************************ E N D   O F   F I L E *************************
  76.  
  77.