home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / memos2.zip / readme.txt < prev   
Text File  |  1996-09-12  |  2KB  |  18 lines

  1.                           MemOS2 Readme file
  2.                           -------------------
  3.  
  4. This program has been supplied on a purely As-is basis and is not guaranteed in any manner or form. The author is not responsible in any way for any damage that may result from its use. This program is Copyright 1996 Trevor Hemsley.
  5.  
  6. The purpose of this program is to provide a method of determining how much RAM is visible to OS/2. The amounts are determined solely by using documented OS/2 API's DosQuerySysInfo and Dos16MemAvail (OK, so I lied - there's one that isn't documented). It allocates (or attempts to) all the memory available on the machine and "touches" it to force the existing programs to be paged out to the swapfile. It then queries the largest free block of RAM after freeing the memory and tells you how large that is. It's this figure you should be looking at (IMO) since it should tell you if OS/2 is seeing all your memory. If you have an ISA busmastering SCSI card installed, it's my idea that the largest free block of RAM can never be > 16Mb (waiting for people to prove me wrong ;-)). The program then continues by dividing this block of RAM in half and copies data between the two halves.
  7.  
  8. This program will refuse to execute if it cannot determine the location of your swapfile or if the space available on that drive is less than twice the amount of installed RAM.
  9.  
  10. It is *strongly* recommended that this program NEVER be run on systems that are running mission critical work. At best it will slow the system down to a complete crawl, at worst it may crash OS/2 due to the strain it places upon the system. If a crash _does_ occur it is probably indicative of a hardware error on the machine. In this manner the program could be used as a primitive RAM tester!
  11.  
  12. Program usage:
  13.  
  14. MEMOS2 n
  15.  
  16. where "n" is the number of times to copy data between the two halves of the largest block of RAM. Default is 1. Be aware that specifying a large number may cause this program to run for a _very_ long time (9999 ran all night on a 128Mb Pentium Pro 200MHz).
  17.  
  18. Trevor Hemsley  (75704,2477@Compuserve.com or Trevor-Hemsley@dial.pipex.com)