[Orca-users] Re: Tape Throughput

Blair Zajac blair at orcaware.com
Sat Aug 17 14:15:48 PDT 2002


Liston Bias wrote:
> 
> Decided to separate tape throughput out in orcallator.se and
> orcallator.cfg for ease of understanding our tape backup issues.
> 
> What is the best way to relay how file altered?

Liston,

Using the command

    diff -u old_file new_file > patch_description.txt

The first diff below looks like it has the old and new file reversed,
which makes it harder to apply.

Also, I'll need a log file change for this to place at the top of
orcallator.se and in the Orca package.

I'm working on getting Orca into Subversion source code management
so that people do diffs between the source code and their mods and
send them in for inclusion in the package.

Once you have some data for this, adding an entry to the

   http://www.orcaware.com/orca/docs/orcallator.html

would be great.

Best,
Blair

> 
> I have included diff of orcallator.se file below (version 1.34) and lines
> added to orcallator.cfg files
> 
> I welcome suggestions on better way to do this.  It seems to be working
> well.
> 
> - Liston
> 
> ----- diff of changes -----
> 1652,1658d1651
> <   // Variable added for tape measurement lbias 08/12/02
> <   double total_treads;
> <   double total_twrites;
> <   double total_treadk;
> <   double total_twritek;
> <   int    tape_count;
> <
> 1667,1673d1659
> <   // Variable added for tape measurement lbias 08/12/02
> <   total_treads    = 0.0;
> <   total_twrites   = 0.0;
> <   total_treadk    = 0.0;
> <   total_twritek   = 0.0;
> <   tape_count     = 0;
> <
> 1677,1689c1663,1666
> <     // COMMENT OUT SKIP OF DISK
> <     // Variable added for tape measurement lbias 08/12/02
> <     if (RAW_disk[i].short_name[1] == 't' && RAW_disk[i].short_name[0] ==
> 's') {
> <       disk_count++;
> <       tape_count++;
> <       total_treads    += RAW_disk[i].reads;
> <       total_twrites   += RAW_disk[i].writes;
> <       total_treadk    += RAW_disk[i].kreads;
> <       total_twritek   += RAW_disk[i].kwrites;
> <       put_output(sprintf("tape_runp_%s", RAW_disk[i].long_name),
> <                  sprintf("%16.5f", RAW_disk[i].run_percent));
> <       continue;
> <     }
> ---
> >     // lbias 08/09/02 add tape date to throughput issues
> >     // if (RAW_disk[i].short_name[1] == 't' && RAW_disk[i].short_name[0]
> == 's') {
> >     //  continue;
> >     //}
> 1777,1782d1753
> <
> <   // Variable added for tape measurement lbias 08/12/02
> <   put_output("tape_rd/s", sprintf("%9.1f", total_treads));
> <   put_output("tape_wr/s", sprintf("%9.1f", total_twrites));
> <   put_output("tape_rK/s", sprintf("%9.1f", total_treadk));
> <   put_output("tape_wK/s", sprintf("%9.1f", total_twritek));
> ---------------------------
> 
> ----- addition to .cfg file --------
> plot {
> title                   %g Tape System Wide Reads/Writes Per Second
> source                  orcallator
> data                    tape_rd/s
> data                    tape_wr/s
> line_type               area
> line_type               line1
> legend                  Reads/s
> legend                  Writes/s
> y_legend                Ops/s
> data_min                0
> href
> http://www.orcaware.com/orca/docs/orcallator.html#disk_system_wide_reads_writes_per_second
> }
> 
> plot {
> title                   %g Tape System Wide Transfer Rate
> source                  orcallator
> data                    1024 * tape_rK/s
> data                    1024 * tape_wK/s
> line_type               area
> line_type               line1
> legend                  Read transfer rate
> legend                  Write transfer rate
> y_legend                Bytes/s
> data_min                0
> href
> http://www.orcaware.com/orca/docs/orcallator.html#disk_system_wide_transfer_rate
> }
> 
> plot {
> title                   %g Tape Run Percent
> source                  orcallator
> # data
> tape_runp_((?:c\d+t\d+d\d+)|(?:c\d+d\d+)|(?:[ms]d\d+)|(?:st\d+))
> data                    tape_runp_((?:st\d+))
> line_type               line2
> legend                  $1
> y_legend                Run Percent
> data_min                0
> data_max                100
> plot_min                0
> href
> http://www.orcaware.com/orca/docs/orcallator.html#disk_run_percent
> }
> ------------------------------------------



More information about the Orca-users mailing list