Specifications

CHAPTER 5. TRAFFIC GENERATION 21
Programmable Network Cards
Hardware
91 1 8 5.000 0 23 1 10 82 308
98 1 23 5.000 0 1 2 5 45 100
101 1 0 5.000 0 3 3 10 32 106
116 1 9 5.000 0 22 1 10 8 294
94 1 3 5.000 0 5 2 1 57 285
101 1 3 5.000 0 1 3 10 83 286
115 1 26 5.000 0 25 1 1 13 317
88 1 4 5.000 0 20 2 5 46 295
86 1 2 5.000 0 23 3 10 85 305
Traffic Generator
Software
<TrafficGeneratorConfiguration>
<FunctionDefinition name = "linear" parameters = "slope" >
slope * x
</FunctionDefinition>
<Pattern name = "sample1" number_of_descriptors = "4096" packet_type="1" >
<Source>
1:5, 10, 20:23
</Source>
<Destination>
round_robin(5, 10, 15 : 25)
</Destination>
<PacketSize>
RandomVar("gauss(x,900,10) + 2*gauss(x,1200,10)",800,1400)
</PacketSize>
rand_negexp(10)
</InterpacketTime>
</TrafficGeneratorConfiguration>
<InterpacketTime>
</Pattern>
Figure 5.1: Block diagram for the traffic generator
Field name Description
Source Specifies the source of the packets - an in-
dex in a table with real network addresses
(MAC or IP).
Destination The index of the destination of the packet.
Can be a random variable with any distri-
bution.
Packet Size Size of the packet in bytes
Inter-packet Time The time between two consecutive pack-
ets. Usually it is a random variable with
a negative exponential distribution or a
”burst type” sequence.
VLAN Id The packets can belong to some Virtual
LANs. This field sets the distribution of
the IDs of those VLANs.
VLAN Priority Sets the priority of the packet inside the
VLAN
IP ToS Sets the IP Type of Service field.
Packet Type The type of the packet: Ethernet or IP
The distributions that can be used for the fields are the following: