Response Probe Input Files

Text script files are used to specify the exact workload applied to the computer being probed. This allows for a highly flexible method of applying various loads on the computer. The high-resolution performance counter discussed at the end of Chapter 12, "Writing a Custom Windows NT Performance Monitor," is used to measure response times.

All the input arguments and script parameters are checked against possible error conditions. Probing starts once all the required processes and their corresponding threads launch successfully and are ready to probe. Measurements are taken by each thread once the computer reaches a steady state. Steady state is reached when increasing the time limit on the trial has no significant effect on the threads' response times. Currently, each thread begins taking measurements with the first probe cycle to start after 50% of the trial time has expired.

In the script file, you supply values for the mean and standard deviation. These values generate the normally distributed values needed during the probe cycles.

Once any of the threads is done probing, all other threads are forced to stop the probe operation. Test results are printed to the designated output file, as discussed in the following section.