Skip to content

Commit d7c4f48

Browse files
committed
Simplify netthroughput
1 parent 526997f commit d7c4f48

File tree

5 files changed

+128
-199
lines changed

5 files changed

+128
-199
lines changed

docs/NEWS30.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ will now generate an error about incorrect integer declaration
3636
since ```audit``` is taken as initial keyword to start scanning
3737
for SQL.
3838

39-
## New in version 3.0.2 of the RWP\*Load Simulator
39+
## News in version 3.0.3 of the RWP\*Load Simulator
40+
41+
The three utilities ociping.rwl, connping.rwl and netthroughput.rwl are
42+
shipped as standalone, generated binaries, and they can therefore be
43+
used without a full install of the RWP\*Load Simulator.
44+
45+
## News in version 3.0.2 of the RWP\*Load Simulator
4046

4147
### Generating an executable
4248

docs/ORACLENET.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,28 @@ connect mean=206.14 stddev=113.75
2929
ociping mean=0.09 stddev=0.02
3030
dualping mean=0.12 stddev=0.02
3131
```
32-
The third script, nettest.rwl, does a similar measurement of OCIPing rates
33-
and additionally estimates the total available throughput from the database
34-
to the client.
35-
Some lines from a sample output are:
32+
The third script, netthroughput.rwl estimates the total available throughput
33+
from the database to the client.
34+
A sample call and output is:
3635
```
37-
Performing ping test for 30 s
38-
connect mean 288.61 ms, stddev 303.95
39-
ociping mean 0.09 ms, stddev 0.02
40-
dualping mean 0.13ms, stddev 0.02
36+
rwloadsim --concurrency=10 -ul username/{password}@//host/db --period=20 netthroughput.rwl
4137
42-
Actual throughput test now running 30 s
43-
Throughput estimate 2.65 GB/s
38+
RWP*Load Simulator Release 3.0.2.20 Development on Mon, 19 Sep 2022 08:44:52 UTC
39+
Connected default database to:
40+
Oracle Database 21c Enterprise Edition Release 21.0.0.0.0 - Production
41+
Connecting sessions
42+
All threads connected
43+
Throughput test now running 20 s
44+
Throughput estimate 1.574 GB/s logical, 1.574 GB/s physical
4445
```
4546
All are documented using ```rwlman ociping``` ```rwlman connping```
4647
or ```rwlman nettest```.
4748

4849
### Stand alone executables
4950

50-
The two utilities ociping, and connping, are distributed as completely stand alone
51-
executables in the file generated-linux-x86_64-bin-3.0.2.tgz.
52-
It only contains the two files, and they can be used without a complete installation
51+
The three utilities are distributed as completely stand alone
52+
executables in the file generated-linux-x86_64-bin-3.0.3.tgz.
53+
It only contains the three files, and they can be used without a complete installation
5354
of rwloadsim, as long as there is an Oracle client environment that can be an ordinary
5455
installation or an Instant Client installation.
5556
The version must be 19 or later, and you must have LD_LIBRARY_PATH include
@@ -59,7 +60,7 @@ with Instant Client it is the top directory of the installation.
5960

6061
After download, simply execute
6162
```
62-
tar -zxvf generated-linux-x86_64-bin-3.0.2.tgz
63+
tar -zxvf generated-linux-x86_64-bin-3.0.3.tgz
6364
```
6465
and possibly move the executables to one of the directories in your PATH.
6566
To get help for either, call it with the -h option.

docs/refman/netthroughput.html

Lines changed: 14 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/man2rwl/netthroughput.2rwl

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,24 +117,20 @@ In that case, make a new run with the suggested rampup time.
117117
.SH EXAMPLE
118118
.P
119119
.nf
120-
rwloadsim -ul username/{password}@//host/db --period=20 --concurrency=2 netthroughput.rwl
120+
rwloadsim --concurrency=10 -ul username/{password}@//host/db --period=20 netthroughput.rwl
121121

122-
RWP*Load Simulator Release 3.0.2.11 Development on Wed, 14 Sep 2022 09:36:56 UTC
122+
RWP*Load Simulator Release 3.0.2.20 Development on Mon, 19 Sep 2022 08:44:52 UTC
123123
Connected default database to:
124124
Oracle Database 21c Enterprise Edition Release 21.0.0.0.0 - Production
125-
126-
Preparations taking up to 15 s
127-
Pure database time per throughput query: mean 1.42 ms, stddev 0.00
128-
Network and database time for throughput query: mean 7.81 ms, stddev 0.14
129125
Connecting sessions
130126
All threads connected
131-
Actual throughput test now running 20 s
132-
Throughput estimate 0.248 GB/s logical, 0.248 GB/s physical
127+
Throughput test now running 20 s
128+
Throughput estimate 1.574 GB/s logical, 1.574 GB/s physical
133129
.fi
134130
.PP
135131
The example shows the
136132
estimated throughput from the database to the client
137-
using 2 concurrent streams is 0.248 logical (and physical) Gigabytes per second.
133+
using 2 concurrent streams is 1.574 logical (and physical) Gigabytes per second.
138134
.P
139135
The following example:
140136
.P
@@ -146,7 +142,10 @@ do
146142
done
147143
.fi
148144
.P
149-
will create the file tp.csv with five lines for 1 until 5 concurrent streams.
145+
will create the file tp.csv with five lines for 1 until 5 concurrent streams; it can
146+
be used as input to gnuplot.
147+
If you alternatively want to use typical office software on a laptop, use the --csvexcel option
148+
and copy the csv file to your laptop.
150149
.SH COPYRIGHT
151150
Copyright \(co 2022 Oracle Corporation
152151
.br

0 commit comments

Comments
 (0)