home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 3 / Chip_Hitware_Vol_03.iso / chiphit3 / win95 / tool / suprmoni / supmon < prev    next >
Text File  |  1995-06-19  |  4KB  |  73 lines

  1.  
  2. The following review appeared in the June 19, 1995 issue of Infoworld Magazine 
  3. on page 35.
  4.  
  5.  
  6.                INFOWORLD's WINDOW MANAGER - by BRIAN LIVINGSTON
  7.  
  8.            New tool gives memory statistics for individual apps...
  9.  
  10. Memory  has been on my mind in my last few columns - specifically, Windows  95 
  11. memory requirements.
  12.  
  13. Last  week,  I wrote that the memory-management model in Windows 95  is  quite 
  14. different  than that in Windows 3.1. Windows 95 is not limited to a swap  file 
  15. that  is fixed in size, as is Windows 3.1. Instead, Windows  95  theoretically 
  16. can expand its swap file until it includes all free disk space. This is called 
  17. a  *dynamic*  swap file. There are no longer "permanent" or  "temporary"  swap 
  18. files under Windows 95.
  19.  
  20. In  addition,  Windows 95 seems to use its swap file  more  aggressively  than 
  21. Windows 3.1. Windows 3.1 doesn't write to its swap file until physical  memory 
  22. (RAM) is exhausted. Windows 95 appears to write to its dynamic swap file every 
  23. time a new program is loaded, whether or not any RAM is free.
  24.  
  25. In an example from my May 8 column, opening Win95's WordPad application on  an 
  26. 8 MB machine caused about 0.9 MB to be written to the swap file, according  to 
  27. the  System Monitor (Sysmon.exe) applet included with beta copies  of  Windows 
  28. 95.  George Moore, a Microsoft program manager for Windows 95,  explains  that 
  29. writing  to  the  swap file does not necessarily mean Windows  95  is  out  of 
  30. memory. Moore says Windows 95 allocates space in its swap file in case WordPad 
  31. needs to be swapped out of memory in the future. This policy, known as *memory 
  32. overcommitment,*  ensures that adequate swap space will always  be  available, 
  33. despite what other programs may have done with disk space in the interim.
  34.  
  35. Whether  or not this is a good thing, it definitely confuses  ordinary  16-bit 
  36. Windows  utilities. Under Windows 3.1, "available memory" means  physical  RAM 
  37. plus  the fixed swap file size, period. Under Windows 95, the  potential  swap 
  38. file   may   grow  enormously.  Also,  several  programming   functions   that 
  39. applications rely upon do not return the same values under Win95 betas as they 
  40. did under Windows 3.1. (This may be getting fixed, as I reported last week).
  41.  
  42. Fortunately,  there  is  a  new shareware  program  that  attempts  to  report 
  43. accurately  on  Windows  95's usage of system resources, RAM,  and  swap  file 
  44. space.  Even  better,  it  can  be  used  to  determine  usage  by  individual 
  45. applications. I've been recommending for weeks that system administrators  try 
  46. to determine the memory requirements of their own suites of applications under 
  47. Win95. Now, there is an ideal tool for this purpose.
  48.  
  49. It's called SuperMonitor, by Gary Tessler of TNT (Tessler's Nifty Tools).
  50.  
  51. SuperMonitor displays different resources in separate windows. To determine an 
  52. app's  memory usage, you start a window on memory and then stop that  window's 
  53. monitoring. (This "freezes" the figures.) Then start your app and open another 
  54. SuperMonitor window. The difference between the two readings is the amount  of 
  55. memory nused by the app or any combination of apps you choose.
  56.  
  57. SuperMonitor  can display continuous, average, or maximum values in  different 
  58. windows. You can set the timing interval SuperMonitor uses, as well as logging 
  59. the figures to a disk file.
  60.  
  61. SuperMonitor  is $44 ($49 outside U.S.) to TNT, P.O. Box 1791, San  Ramon,  CA 
  62. 94583; (510) 244-5449, CompuServe: 71044,542. It's part of a set of 35 DOS and 
  63. Windows utilities available for $164 ($169 outside U.S.)
  64.  
  65. I've   placed   a  shareware  version  on  InfoWorld's  Internet   server   at 
  66. http://www.infoworld.com/living.html.  The shareware version will only  update 
  67. each  window for a maximum of three minutes, after which you must open  a  new 
  68. window. This should be long enough for you to test the program with one app at 
  69. a time.
  70.  
  71. Supmon.zip is also available on CompuServe at GO WINSHARE, Library 4.
  72.  
  73.