Computing at SLAC
Search SLAC      

About

Installation

Documentation

Database API's

Tools Page

Adding a New Probe

Moving IEPM-BW

Troubleshooting Hints

Results

Original PLM

Adding a New Probe

Adding a new probe to the Iepm-BW test is "complex" because one must understand all the aspects of the probe:

  • What part of the result is relevant
  • What kind of table structure is needed to store the results. Can one that is defined already be used or does it need a custom table?
  • What are the characteristics of it performance and how can it be controlled - Does it hang - if so, how and how can it be detected and remedied? Does it require a responder on the target? If so how does it work and what are its performance characteristics (does it hang..how to fix it)?
  • How can one get hold of the results? Can one direct the output to a file, or does one need to "capture" the output and write it out to a file.
  • What kind of info does the probe return to you? Does it return RTT? BW? Packet loss? Etc.? How does one want to display the probe results? Time series (if so of what), scatterplots? Plot if against other specific data?
  • Is this a probe that can be run via a daemon asynchronously, or does it need to be synchronized to not run at the same time as certain other probes?
  • Are there customized plots one would like to see of this probe versus others? See: iepm-bw.cacr.caltech.edu. If so then these specs must be defined in the plotspecs table.
Each probe requires customized configuration and code.
  • The probe configuration information (parameters) is put in the toolspecs table. Each probe is different, and the configuration for each node it is targeted to can be different (window sizes, streams, duration, run interval,
  • A "do_test" script must be written. This is the script that actually performs the test. It can be modeled after the existing ones, but needs customization depending on the probe characteristics.
  • A "load-test-data" script must be written to pick out the relevant/interesting data returned from the probe and store it in the data base.
  • The specs for the desired plots must be entered in the plotspecs (miscellaneous plots), datatoanalyze (master results page), and toolspecs (individual and Maxims code) tables once one knows what they are. This is not difficult, but one must decide what one wants.
  • The master results page must be modified to include the probe into (controlled by "datatoanalyse" for each probe.
  • Possible a fetch-test-data script must be written, unless the probe data fits the pattern of one that is already written. I have one data table "bwdata" which hopefully is general enuf now to hold the data from new probes, in which fetch-bw-data can be used for most data.
As usual, the devil is in the analysis. It is extremely important as one does not want to hang or crash the system, and if the probe has certain problems characteristic of it, one MUST take care of them and recognize them!

  Send Us Feedback  
  SLAC