FastClick

Elements / Research

FlowRandLoad

Artificial CPU load, randomly selected per-flow

SYNOPSIS§

FlowRandLoad([MIN, MAX])

Ports: 1 input, 1 output
Processing: push

DESCRIPTION§

For each new flow (using the flow subsystem) this element will select a random number between MIN and MAX, that designates how many PRNG should be done per-packet. Hence, some flow will appear heavy, and some light. One PRNG is around 8 CPU cycles.

Keyword arguments are:

  • MIN — Integer. Minimal number of PRNG to run for each packets. Default is 1.
  • MAX — Integer. Maximal number of PRNG to run for each packets. Default is 100.

EXAMPLES§

 FlowIPManager->FlowRandLoad(MIN 1, MAX 100).

SEE ALSO§

RandLoad, WorkPackage

Generated by click-elem2man from ../elements/research/flowrandload.hh:20 on 2026/11/02.