[Orca-users] Tape Throughput
Liston Bias
list2002 at bias.org
Mon Aug 12 08:50:19 PDT 2002
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?
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