Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Generation of Realistic 802.11 Interferences in the
Omnet++ INET Framework Based on Real Traffic
Measurements
Juan-Carlos Maureira1 and Diego Dujovne2 and Olivier Dalle1
1
INRIA, I3S, CNRS, Univ. Nice Sophia, France.
{jcmaurei|odalle}@sophia.inria.fr
2
INRIA Sophia Antipolis Méediterrannée
dujovne@sophia.inria.fr
March, 6th 2009 / OMNeT++ 2009 Workshop (SIMUTools 2009)
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Agenda
1 Motivation and Goals
2 Method Description
Sampling
Distance Estimation
Localization of the Sources
Virtual Position
3 Integration into the Simulation
4 Method Validation
5 Simulation Results
Simulation Testbed
ICMP: Ping
TCP: File Transfer Protocol
UDP: Streaming
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Motivation and Goals
Motivation and Goals
Motivation: Provide an OMNeT++ interference model based on
real measurements.
Goal: A method to include interference scenarios into OMNeT++
simulations in a non-intrusive way.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Motivation and Goals
Motivation and Goals
Motivation: Provide an OMNeT++ interference model based on
real measurements.
Goal: A method to include interference scenarios into OMNeT++
simulations in a non-intrusive way.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Description
Sampling
Sampling
Based on a set of Probes to
capture traffic.
Captured traffic trace
content:
Source Address (MAC)
Reception Timestamp
Received Signal Power
Transmission Datarate
Figure: The Probe Packet Size
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Description
Distance Estimation
Distance Estimation
Probe - Source distance
estimation based on Reception
Source Signal Power sampling and
calculation by using
Free-Space Pathloss
Propagation Model.
Probe
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Description
Localization of the Sources
Localization of the Sources
Based on:
Triangulation by using Probes
positions and the Distance
between the Detected Sources
from each Probe.
Sparse-Matrix Clusterization
Analysis.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Description
Virtual Position
Virtual Position
Position required to measure the same signal strength without
obstacles in the line-of-sight.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Description
Virtual Position
Sparse-Matrix Cluster Analysis
The estimations of the Detected Sources Position’s are clusterized
according how close they are (euclidean distance).
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Integration into the Simulation
Integration into the Simulation
Traffic Generation:
From recorded traces.
Injected from the estimated source’s
positions.
INET Framework:
Traffic Generation.
Shadow Sources (light or complete)
Channel Controller Module.
Wifi World Compound Module.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Validation
Method Validation
Figure: Experimental Scenario
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Validation
Method Validation
200
Number of Samples
500
1000
2000
−50 −55 −60 −65 −70
Reception Power (dBm)
Figure: Multiple Range Test for Reception Power Estimation
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Method Validation
Method Validation
100.0
90.0
80.0
62.5%
70.0 under 10%
Difference (%)
60.0
error.
50.0
40.0 13.5%
30.0 between
20.0
10.0
10% and
0.0 20% error.
Source 1 Source 2 Source 3 Source 4 Source 5 Source 6 Source 7 Source 8 Source 9 Source 10
Detected Sources
P1 P2 P3 P4
5% was
100%
Figure: Differences Between Measured and Simulated wrong.
Values
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Simulation Results
Simulation Testbed
Simulation Testbed
Figure: Simulation Scenario: The Hidden Station Problem
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Simulation Results
ICMP: Ping
Simulation Results
0.008 Ping RTT without Interference
Ping RTT with Interference P1
Ping RTT with Interference P2
Ping RTT with Interference P3
0.007
Ping RTT with Interference P4
Ping RTT (sec)
0.006
0.005
0.004
200 400 600 800
Simulation Time (sec)
Figure: Ping Round Trip Time contrast.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Simulation Results
TCP: File Transfer Protocol
Simulation Results
30000000
TCP Packet Sequence number without Interference
TCP Packet Sequence number with Interference P1
TCP Packet Sequence number with Interference P2
TCP Packet Sequence number with Interference P3
TCP Packet Sequence number with Interference P4
TCP Packet Sequence Number
20000000
10000000
200 400 600 800 890 980
Simulation Time (sec)
Figure: FTP TCP sequence number (downloading time) contrast.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Simulation Results
UDP: Streaming
Simulation Results
0.6
UDP Traveling Time without Interference
UDP Traveling Time with Interference P1
UDP Traveling Time with Interference P2
UDP Traveling Time with Interference P3
UDP Traveling Time with Interference P4
UDP Traveling Time (sec)
0.4
0.2
0.0094
0.00935
0.0093
0 10 20
200 400 600 800
Simulation Time (sec)
Figure: UDP Streaming delivery time contrast.
Generation of Realistic 802.11 Interferences in the Omnet++ INET Framework Based on Real Traffic Measurements
Conclusions
Summary
We presented a method to introduce interference scenarios in
studied systems based on observations.
Interfering traffic characterizations come from a real scenario
(recorded scene).
The method is easily repeatable with commodity hardware.
Permits to evaluate two types of interaction between the Studied
System and the interfering background traffic
How the system reacts in front of the interferiring traffic. (one way
interaction).
How the interferiring traffic and the system affect each other. (two
way interaction)
Further Work
Improve precision of the location estimation.
Validate with more scenes and measure differences.