home *** CD-ROM | disk | FTP | other *** search
/ alphant.com / ftp.alphant.com.zip / ftp.alphant.com / Utilities / PERFTOOL.EXE / PROBE / README.TXT
Text File  |  1994-11-14  |  4KB  |  110 lines

  1.  
  2.  
  3.                            Optimizing Windows NT
  4.  
  5.                               Response Probe
  6.  
  7.  
  8. 1.  Overview
  9.  
  10.     This directory tree contains the Response Probe for the x86 and MIPS
  11.     platforms.  The principle documentation for the Response Probe is in
  12.     Appendix C of the book "Optimizing Windows NT."  This file explains
  13.     what is on this floppy disk.
  14.  
  15.  
  16. 2.  Directory Organization
  17.  
  18.     This directory has three subdirectories.  "i386" contains the x86
  19.     executable files, "MIPS" contains the MIPS executable files, and
  20.     "EXAMPLE" contains an example of Response Probe usage.
  21.  
  22.  
  23. 3.  i386 & MIPS
  24.  
  25.     Depending on which platform you are on, you should add the
  26.     corresponding directory to your path.  Alternatively, you can copy
  27.     the files from the corresponding directory into a directory on your
  28.     path.
  29.  
  30.     A.  Response Probe
  31.  
  32.         The file PROBE.EXE becomes the main controlling process for the 
  33.         Response Probe.  The file PROBEPRC.EXE is the child process
  34.         which actually applies the workload.  You should copy this file
  35.         to files with different names in order to see multiple processes
  36.         separately in Performance Monitor.  This technique is discussed
  37.         in Appendix C of "Optimizing Windows NT".  TIMERW32 and STATW32 
  38.         are .DLLs which are used by the Response Probe to perform timing
  39.         functions.  PROBE, TIMERW32, and STATW32, as well as PROBEPRC and
  40.         any copies of it you have made under new names, must all be on your 
  41.         PATH in order for the Response Probe to run.
  42.  
  43.     B.  CREATFIL
  44.  
  45.         The CREATFIL utlity creates a file of arbitrary size filled with
  46.         binary zeros.  You specify the file size you need in kilobytes, 
  47.         where 1 kilobyte is equal to 1024 bytes.
  48.  
  49.         Usage:
  50.  
  51.             creatfil  <NewFileName>  <size in kbytes>
  52.  
  53.     Example:
  54.  
  55.             creatfil  access.dat  1024
  56.  
  57.     This example create a file called access.dat filled with 1 megabyte 
  58.         of binary zero bytes.
  59.  
  60.     C.  WAIT
  61.  
  62.         WAIT is a simple utility used to pause execution of a test.  Such pauses 
  63.         permit system functions such as the lazy writer to complete operation
  64.         from a prior test before beginning a new one.  WAIT will sound 5 beeps
  65.         at the start of the pause, and one at the end.  This will help you 
  66.         perform any manual activities you might need to carry out during the
  67.         pause.  The beep time is included as a portion of the pause time and
  68.         does not add to it as long as the pause time is at least 3 seconds.
  69.  
  70.         Usage:
  71.  
  72.             wait  <pause time in seconds>              
  73.  
  74. 4.  Example
  75.  
  76.     This example is a brief sample of how to set up and run a Response
  77.     Probe experiment.  There is a batch file for running the
  78.     experiment, and the parameter files are explained in Appendix C of
  79.     the book.  All the above programs are used in this example.
  80.  
  81.     The example creates four processes.  They all have the name
  82.     probeprc.  As explained in above, if you want to look at them
  83.     separately in Performance Monitor, you must copy PROBEPRC.EXE to
  84.     four new file names, and reference those in the *.SCR files
  85.     instead of PROBEPRC.EXE.
  86.  
  87.     Each process creates four threads.
  88.  
  89.     Each thread has an average 1-second think time.  It does an
  90.     average of 100 read/write operations, where each operation
  91.     consists of an unbuffered read followed by an unbuffered
  92.     write.  After each read/write pair, it does an average of 10
  93.     milliseconds of computation.  During that time it references an
  94.     average of 1 MB of "code" space and 1 MB of data space.  The file
  95.     and code space are shared, but the data space is private to each
  96.     of the four processes.
  97.  
  98.     This example uses many of the Response Probe features and should
  99.     give you a good basis for devising whatever experiments you might
  100.     need.
  101.  
  102.     Usage:
  103.  
  104.         doprobe [testtime]
  105.  
  106.     where "testtime" is the length of time to run each of the four
  107.     record sizes ( the default is 5 minutes).
  108.  
  109. 
  110.