Table Of Contents
Table Of Contents

Measuring Packet Delay Variation

Goals

In this example we explore the various packet delay variation (also known as packet jitter) statistics of application modules.

INET version: 4.4
Source files location: inet/showcases/measurement/jitter

The Model

The packet delay variation is measured in several different forms:

  • Instantaneous packet delay variation: the difference between the packet delay of successive packets (packetJitter statistic)

  • Variance of packet delay (packetDelayVariation statistic)

  • Packet delay difference compared to the mean value (packetDelayDifferenceToMean statistic)

Here is the network:

../../../../_images/Network4.png

Here is the configuration:

[General]
network = JitterMeasurementShowcase
sim-time-limit = 5s

# source application ~96Mbps throughput
*.source.numApps = 1
*.source.app[0].typename = "UdpSourceApp"
*.source.app[0].source.packetLength = 1200B
*.source.app[0].source.productionInterval = exponential(100us)
*.source.app[0].io.destAddress = "destination"
*.source.app[0].io.destPort = 1000

# destination application
*.destination.numApps = 1
*.destination.app[0].typename = "UdpSinkApp"
*.destination.app[0].io.localPort = 1000

Results

Here are the results:

../../../../_images/PacketJitterHistogram.png
../../../../_images/PacketJitterVector.png
../../../../_images/PacketDelayDifferenceToMeanHistogram.png
../../../../_images/PacketDelayDifferenceToMeanVector.png
../../../../_images/PacketDelayVariationHistogram.png
../../../../_images/PacketDelayVariationVector.png

Sources: omnetpp.ini, JitterMeasurementShowcase.ned

Discussion

Use this page in the GitHub issue tracker for commenting on this showcase.