Sizeread Help File
(07/23/96)

Sizeread is a performance test to determine the response of your disk
configuration to reading records of increasing size. It consists of a batch 
file that executes a series of Response Probe tests of unbuffered, sequential 
reads from a 20MB file. In each run, the size of the record read from the file
increases as follows: 2K, 8K, 64K, 256K, 1MB, and 4MB. Use Performance Monitor 
to help you analyze the data.

                                                                    
 -- For details on Response Probe, see:
    Windows NT Workstation Resource Guide
    Part 3, Optimizing Windows NT Workstation
    Chapter 11, Performance Monitoring Tools
    Response Probe

 -- For more information about using Performance Monitor to test disk 
    performance, see:
    Windows NT Workstation Resource Guide
    Part 3, Optimizing Windows NT Workstation
    Chapter 14, Detecting Disk Bottlenecks
    
    The Sizeread test is described in the section entitled "Reading Records 
    of Increasing Size."

  
To run Sizeread,

1.  Install the required files from the Resource Kit Cd onto the drive you
    want to test. (All files except for Workfile.dat are installed as part
    of the Performance Tools group by the CD Setup utility.)

    The following files are required:

    2Ksu.scr        2Ksu.scp        2Ksu.sct
    8Ksu.scr        8Ksu.scp        2Ksu.sct
  256Ksu.scr      256Ksu.scp      256Ksu.sct        
    1Msu.scr        1Msu.scp        1Msu.sct        
    4Msu.scr        4Msu.scp        4Msu.sct            
    Sizeread.bat
    Probe.exe
    Probeprc.exe
    Workfile.dat

    By default, Probe.exe and Probeprc.exe are installed in the 
    \Perftool\Probe subdirectory. Sizeread.bat and the .sc* files
    are installed in the Perftool\Probe\Examples subdirectory. 

    Workfile.dat is not installed by the Setup utility, but you can copy it
    manually from the CD. Workfile.dat is a 20MB file filled with zeros 
    that Response Probe uses to simulate a workload file. You can use
    Workfile.dat or you can create a zero-filled file of any size by using
    the Createfile (Creatfil.exe) utility in the \Probe subdirectory. At 
    the command prompt, type: creatfil <filename> [<filesize>]. The filesize
    is optional; the default is 1024K bytes.)    

2.  If you haven't done so already, you need to enable the Performance 
    Monitor disk counters.  Once you do, they remain enabled until you 
    disable them.

    Run the Diskperf utility that comes with Windows NT to enable the
    Performance Monitor disk counters.  At the command prompt, type:

    diskperf -y 
    (for standard disk configurations)
   
    -or-

    diskperf -ye 
    (for stripe sets, mirror sets, or stripe sets with parity)

    
    then, restart the computer.

    If you want to disable the disk counters when your testing is complete,
    at the command prompt, type diskperf -n, then restart the computer.
                               

3.  Start a Performance Monitor log. If possible, write the log to a 
    different physical drive. Log the Logical disk object at a one 
    second update interval.


4.  At the command prompt of the drive you want to test, change to the
    subdirectory where the .sc* files are stored and type: 

	Sizeread

    Note: Sizeread must be run from the subdirectory where the .sc* files
          are stored. By default, Sizeread and the .sc* files are installed
          in the \Probe\Examples subdirectory. To run Sizeread, copy all of 
          the required files to a single subdirectory or run from the
          directory where the .sc* files are stored.
	
    
5.  When the command prompt returns, stop the Performance Monitor log. 
    
6.  Analyze the data from the test using the Response Probe output file, 
    Sizeread.out, and your Performance Monitor log. Use the following 
    Performance Monitor counters:

    Logical disk: Avg. Disk Bytes/Read
    Logical disk: Avg. Disk sec/Read
    Logical disk: Disk Read Bytes/sec
    Logical disk: Disk Reads/sec







    





