next up previous contents
Next: 4.3 Logger Usage Up: 4 Module Usage Previous: 4.1 Router Usage   Contents

Subsections

4.2 Receiver Usage

The Receiver module is provided as a Netfilter module (unlike the Router module). Once loaded, it automatically activates itself until it is unloaded.

4.2.1 Module Loading and Options

The Receiver module is named rami_receiver, and hence can be loaded with the command: modprobe rami_receiver. However there are options which it can be passed, but none of these are required. The options are:

ps_thresh
- The value of PS_THRESH used to the determine the ending of the prime start phase. The default value is 0.
alpha
- The smoothing factor used to calculate the received rate. Values between 1 and 100 are valid. A higher value gives a smoother and more consistent receiver rate, however it may lag behind the actual rate. The default value is 250.
tau
- Determines the rate at which the window size tries to increase. The default value is 1.

The format of these options is the same as described in Section 4.1.1 for the Router module. However, the following example loads it with a value of 0 for ps_thresh and a value of 87 for alpha:

insmod rami_receiver.o ps_thresh=0 tau=87

4.2.2 Module Unloading

To stop using the Receiver module, it must be unloaded from memory. This is done with the following command:

rmmod rami_receiver


next up previous contents
Next: 4.3 Logger Usage Up: 4 Module Usage Previous: 4.1 Router Usage   Contents