Skip to main content

Protocol Measurement

An integral part of any good protocol definition is a set of measurements to allow evaluation of both the protocol and its implementation. This provides two functions: 1) It allows the protocol designer to evaluate the protocol and make improvements. 2) It allows the user of the protocol to know how expensive it is and to demand improvements. The proposed NETRJE protocol provides two sets of measures - one for a particular session and one for overall performance. These measurements may be elicited by the MEASURE command which will take an argument with three values: JOB (job statistics and cost measurements), SESSION (measurements taken for this sesson), and GLOBAL (overall measurements of the performance of the protocol and its implementation). The command will return the measurements in a fixed format reply.

The measurements reported for a job are:

  1. CPU time,
  2. I/O operations,
  3. storage space time product,
  4. job cost in dollars,
  5. elapsed time the job waited before being executed, and
  6. elapsed time for the job to execute.

The measures taken from a sesson are:

  1. number of bits transferred,
  2. transmission rate of input or output transfers,
  3. the amount of CPU time, storage space-time product, and I/O operations for the session.
  4. cost in dollars and cents.

The measures to be taken globally are:

  1. frequency of commands and possibly command forms,
  2. model frequency (which submission/retrieval model used),
  3. transmission mode frequency,
  4. total number of sessions,
  5. transmission rate: average, std. deviation, upper and lower bounds (also by transmission mode),
  6. cpu time, storage space-time product, and I/O operations for both the protocol and jobs submitted: average, std. deviation, and upper and lower bounds (overall as well as by model, transfer mode, and file size). (The reason for including job statistics here is so that management and systems personnel have some indication how the facility is being used.)

It is clear that it may be difficult to acquire some measures (such as transmission rate) when NETRJE is using FTP. This is unavoidable since FTP is not metered. The most straightforward solution is also to meter FTP (hint). For the final definition a close look will be given to the subset that should be required. Comments are welcome. However, we believe strongly that it is very important to know how a facility like this is used as well as how well it performs.