This simple script tests the performance on the attribute server in multiple-PEG queries. Each test takes a PEG set and computes the mean time required to run the attribute request by running multiple trials. The user can specify a single test, multiple tests with different sizes, or multiple tests with a single size.
The currently-supported command-line options are as follows.
Name suffix to be used for log files. If omitted, the PID is used.
Numeric trace level. A higher trace level causes more messages to appear. The
default trace level is 2. Tracing will be directly to the standard output
as well as to a traceUser.log file in the FIG temporary directory,
where User is the value of the user option above.
If specified, turns on tracing of SQL activity.
Save the standard and error output to files. The files will be created
in the FIG temporary directory and will be named errUser.log and
outUser.log, respectively, where User is the value of the
user option above.
Display this command's parameters and options.
Phone number to message when the script is complete.
Number of pegs to test. The default is 100.
Number of trials. The default is 50.
Number of separate PEG sets to test.
Number of PEGs to add for each test. If this is 0, every test will be for the same number of PEGs.