Skip to content

Commit 03874fc

Browse files
committed
Documentation improvements.
1 parent 36cc165 commit 03874fc

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,28 @@ kldstat | grep sctp
271271
- NetPerfMeter ≥2.0 is required! Older versions <2.0 only support the expermental Linux MTCP with incompatible API!
272272

273273

274+
## Variable Bitrate Flows
275+
276+
NetPerfMeter supports randomised frame rate and frame size, to create variable bitrate (VBR) flows. The following distributions are currently available:
277+
278+
* const<value>: Constant, i.e. always the same. Example: a frame rate const1000 for means all frames have a size of 1000&nbsp;bytes.
279+
* uniform&lt;a&gt;,&lt;b&gt;: Uniformly distributed from the interval [a,b). Example: uniform900,1100.
280+
* exp&lt;p&gt;: Exponential distribution with average. Example: exp1000.
281+
* pareto&lt;location&gt;,&lt;shape&gt;: Pareto distribution with location &lt;location&gt; and shape &lt;shape&gt;. Example: pareto0.166667,1.5.
282+
283+
Some examples:
284+
285+
* A unidirectional TCP flow with constant 2&nbsp;frames;/s and uniformly distributed frame sizes between 100&nbsp;bytes and 20000&nbsp;bytes:
286+
<pre>
287+
<span style="color:green;">user@client</span><span style="color:blue;">:~</span><span style="color:gray;">$</span> netperfmeter <em>&lt;SERVER&gt;</em>:9000 -tcp const2:uniform100,20000
288+
</pre>
289+
290+
* A bidirectional SCTP flow with constant 2&nbsp;frames;/s and uniformly distributed frame sizes between 100&nbsp;bytes and 1000&nbsp;bytes outgoing, and an uniform frame rate of [2, 10) frames/s and frame sizes with an average of 1000&nbsp;bytes using exponential distribution:
291+
<pre>
292+
<span style="color:green;">user@client</span><span style="color:blue;">:~</span><span style="color:gray;">$</span> netperfmeter <em>&lt;SERVER&gt;</em>:9000 -sctp const2:uniform100,1000:uniform2,10:exp1000
293+
</pre>
294+
295+
274296
## Multiple Flows and Measurement Results Recording
275297

276298
* Run an active instance (i.e.&nbsp;client side), with 7&nbsp;flows, stopping the measurement after 60&nbsp;s:

0 commit comments

Comments
 (0)