using a history-based approach to predict topology control information in mobile ad hoc networks 7...

36
Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing Systems, IDCS 2014 September 24 th , 2014. Calabria, Italy Pere Millán 1 , C. Molina 1 , R. Meseguer 2 , S. F. Ochoa 3 , R. Santos 4 1 Universitat Rovira i Virgili, Tarragona, Spain 2 Universitat Politècnica de Catalunya, Barcelona, Spain 3 Universidad de Chile, Santiago, Chile 4 Universidad Nacional del Sur, Bahia Blanca, Argentina

Upload: moris-wells

Post on 17-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Using a History-Based Approach to Predict Topology Control Information

in Mobile Ad Hoc Networks

7th Int. Conf. on Internet and Distributed Computing Systems, IDCS 2014

September 24th, 2014. Calabria, Italy

Pere Millán1, C. Molina1, R. Meseguer2, S. F. Ochoa3, R. Santos4

 1Universitat Rovira i Virgili, Tarragona, Spain

2Universitat Politècnica de Catalunya, Barcelona, Spain3Universidad de Chile, Santiago, Chile

4Universidad Nacional del Sur, Bahia Blanca, Argentina

Page 2: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Motivation

• Predicting Topology Control Information (TCI)

• Experimental Framework & Results

• Conclusions & Future Work

OLSROutlineOutline

2

Page 3: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Motivation3

Page 4: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

MotivationMotivation

Several social computing participation strategies use mobile ad hoc or opportunistic networks

Several social computing participation strategies use mobile ad hoc or opportunistic networks

4

Page 5: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Routing protocols in mobile collaboration scenarios– Must be simple, efficient, reliable and

quickly adapt to changes in the network topology– Should minimize delivery of topology control information

(TCI) to avoid consuming too much devices’ energy

• Link-state proactive-routing protocols: – Low latency (using an optimized and known data-path )– Cost: periodically flooding the network with TCI

MotivationMotivation

… and when the number of nodes is high …… and when the number of nodes is high …

5

Page 6: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

… can overload the network!!!… can overload the network!!!

6

Page 7: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

… can we address the problem of delivering much control information through the network?

… can we address the problem of delivering much control information through the network?

7

Page 8: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

– Extends the previous work on TCI prediction [6-8].

– Uses a time window with historical node TCI info …… to predict next TCI.

– Named “History-Based Prediction” (HBP).

– HBP Performance: determined by simulationsin several mobile scenarios.

We present and evaluate a new strategy for predicting TCI

in mobile ad hoc and opportunistic networks

8

Page 9: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Predicting TCI

9

Page 10: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Idea:– Use historical Topology Control Information (TCI)

to make predictions of the next control packets (CP).

• Questions to answer:– What performance and limits has this approach?– In which mobile computing scenarios

this proposal can provide a real benefit?

Predicting TCI using Past InformationPredicting TCI using Past Information

10

Page 11: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Each node keeps updated locally (in a table) the recent TCI history received from its neighbors.

• Prediction at each node:– Input: recent TCI history.– Output: a prediction of TCI for each neighbor

(guess network topology without delivering control info).

• Prediction can be done when previous TCI received matches TCI previously stored.

• HBP predicts a state already appeared in the past.

HBP AssumptionsHBP Assumptions

11

Page 12: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Control Packets sequence:

AAAABABAACBAABBAB• Table contents

(patterns with 2 control packets):

HBP table exampleHBP table example

Pattern Next Count Last

AAABC

221

#

ABAB

21

#

AC B 1 #

BAAB

22 #

BB A 1 #CB A 1 #

12

Page 13: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Unbounded – More flexibility to identify movement patterns.

• One table per node.• Movement pattern (stored in the table):

– Sequence of 1+ TCI packets seen in the past.

• Attached to every pattern stored in the table:– A list of all packets appeared after each pattern.– Statistical information: last packet, most frequent.

HBP tables with historic informationHBP tables with historic information

13

Page 14: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• NS-3 (4 hours) + BonnMotion.• Mobility: Random Walk, Nomadic, SLAW.• OLSR protocol (HELLO: 2 s / TC: 3 s).

• 300x300 m open area (beach, park). Free to move/interact.• Node devices:

• All similar (capabilities ≈ iPhone 4). • Wi-Fi (detect others & Exchange CI). Range: 80 m / BW ≥ 50 kbps.• 10, 20, 30, 40 nodes, randomly deployed.• 1 m/s (walking), 2 m/s (trotting), 4 m/s (running), and 6 m/s (bicycling).

Experimental FrameworkExperimental Framework

14

Page 15: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Results

15

Page 16: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• To help us understand predictability and prediction opportunity limits of our proposal.

• Maximum reachable prediction accuracy: – Count if a certain TCI packet has ever appeared in the past.– If it appeared once, we assume it could be predicted.

We quantify TCI repetition over timeWe quantify TCI repetition over time

16

Page 17: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Results: Predictability LimitsResults: Predictability Limits

%TCI packets appeared in the past•3 mobility models (1 m/s)•10-40 nodes density

%TCI packets appeared in the past•3 mobility models (1 m/s)•10-40 nodes density

About 80% for 10 nodes

High prediction potential

About 80% for 10 nodes

High prediction potential

Prediction capability does not depend on mobility model

Prediction capability does not depend on mobility model

Prediction limits decrease when node density increases.

Prediction limits decrease when node density increases.

17

Page 18: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• We also analyze the representativeness of the most-frequent packets, with respect to the whole set of packets received by a node over time.

• This will give us:– A first understanding about

how difficult is to make right predictions.– And which is the amount of historical data

that must be tracked to make these predictions.

Packet representativenessPacket representativeness

18

Page 19: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Frequency of Observed Control PacketsFrequency of Observed Control Packets

What control packets appear most frequently?What control packets

appear most frequently?

30% of control packetsrepresent 70% total observed

A small subset of packets

represent the most delivered

A small subset of packets

represent the most delivered

Does not depend on node density

nor mobility models

Does not depend on node density

nor mobility models

Many opportunities to predictwith a small subset of packets.Many opportunities to predictwith a small subset of packets.

19

Page 20: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• In case of wrong predictions (miss), classification:– It could be correctly predicted, if the right control packet

was in the list of this pattern (missPred).– If not, it could not be predicted (missNoPred).

• This identifies the limits of HBP and how far an approach is from the best.

Types of wrong predictionsTypes of wrong predictions

20

Page 21: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• History Depth (HD) metric:– Number of TCI packets in the movement patterns.

• HD range considered:– 0 to 5 TCI packets.

• High HD values (long sequences):– More accurate predictions, few opportunities to predict.

• Low HD values (short sequences):– Less accurate predictions, more opportunities to predict.

History DepthHistory Depth

21

Page 22: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

History-based prediction (varying HD)History-based prediction (varying HD)

22

HD

HD=0: largest %hits

HD=0: largest %hits

But important %misses too

But important %misses too Large HD:

- Predictions

+ Accurate.

Large HD:

- Predictions

+ Accurate.

noPred increases with number of nodes (predictability limits)

noPred increases with number of nodes (predictability limits)

Page 23: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Last value last packet seen after this pattern.• Most-frequent highest count packet.• History-based Random any past packet

seen after this pattern.• Previous example:

AAAABABAACBAABBAB

HBP flavorsHBP flavors

Pattern Next Count Last

AAABC

221

#

ABAB

21

#

AC B 1 #

BAAB

22 #

BB A 1 #CB A 1 #

Last value: BLast value: B

Most frequent: AMost frequent: A

History-based random: any of A/BHistory-based random: any of A/B

Pure random: any of A/B/CPure random: any of A/B/C

23

?

Page 24: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

History-based prediction (different policies)History-based prediction (different policies)

24

Always predicts (wrongly)

Always predicts (wrongly)

Much better results when using history

(even random)

Much better results when using history

(even random)

History information provides more accurate predictions.

History information provides more accurate predictions.

Page 25: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

History-based prediction (different mobility)History-based prediction (different mobility)

25

Similar behavior (difference <10%)Similar behavior

(difference <10%)

Mobility models do not present significant differences in prediction capability.

Mobility models do not present significant differences in prediction capability.

Page 26: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• HBP flavors must succeed in the predictions but also not predict when success is not guaranteed.– Success reduces network traffic and saves energy.– Wrong predictions can skew the network topology map

and decrease the reliability of the process.

• We include a confidence mechanism to determine the likelihood that a prediction is correct.– Aim: maximize right and minimize wrong predictions.

Prediction confidencePrediction confidence

26

Page 27: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Simple confidence mechanism for HBP:– Saturated counter for each pattern in history table.– 2-bit counter (values range: 0 to 3).– Counter incremented when the prediction is right.– Counter decremented when the prediction is wrong.– Prediction is confident when counter ≥ 2.– Counter initialized as 1 (no confidence).

Implementing confidenceImplementing confidence

27

Page 28: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

History-based prediction (2-bit confidence)History-based prediction (2-bit confidence)

28

Our goal:Maximize noConf/missMinimize noConf/hit

Our goal:Maximize noConf/missMinimize noConf/hit

Using confidence:

Less predictions (mainly hits, few misses)

Using confidence:

Less predictions (mainly hits, few misses)

Using a confidence mechanismwe can minimize prediction errors.

Using a confidence mechanismwe can minimize prediction errors.

Page 29: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• Previous HBP flavors use fixed History Depth (HD).• We analyze an additional HBP flavor

where History Depth is dynamic (prediction tree):– Start the prediction with the largest HD.– If prediction is not possible

(not confident or missing movement pattern), decrease HD value (shorter pattern), and repeat.

– Repeat until prediction is possible or HD reaches 0.

Dynamic history depth (tree)Dynamic history depth (tree)

29

Page 30: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Fixed History-Depth vs. Dynamic (tree)Fixed History-Depth vs. Dynamic (tree)

30

Tree minimizes noPred

Tree minimizes noPred

But increases significantly

total hits

But increases significantly

total hits

… decreases hits+misses

… decreases hits+misses

Confidence mechanism + tree = Better results: total hits maximized, few misses.

Confidence mechanism + tree = Better results: total hits maximized, few misses.

Page 31: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

31

ConclusionsFuture Work

Page 32: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Reduces network traffic and saves energy

50%-80% of packets appeared in the past,HBP upper limits are high for many scenarios

Few packets contribute to total packets(high opportunity to predict TCI)

At least 30% of correct predictions in a worst-case scenario (many nodes)

OLSRHistory-based Prediction: ConclusionsHistory-based Prediction: Conclusions

32

Page 33: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

• OLSR with prediction [6]• Assume the last TCI send by a node

will probably be repeated during the next round of information delivery (Last value, HD=0)– Less amount of control packets transmitted– Saves computational processing and energy– Independent of the OLSR configuration– Self-adapts to network changes

– Medium density scenario: 57% control packets reduction, 60% energy reduction, with same OLSR performance

OLSRpOLSRp

33

Page 34: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

OLSRFuture WorkFuture Work

1) Analyze in detail all combinations of work scenarios- Considering node density, speed, and mobility patterns

2) Develop more complex confidence mechanisms-and combine prediction approaches-Their benefits can be accumulated?

3) Analyze prediction performance in opp networks involving heterogeneous environments- To address IoT-based solutions.

34

Page 35: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Questions?

Thanks for Your Attention

7th Int. Conf. on Internet and Distributed Computing Systems, IDCS 2014

September 24th, 2014. Calabria, Italy

Page 36: Using a History-Based Approach to Predict Topology Control Information in Mobile Ad Hoc Networks 7 th Int. Conf. on Internet and Distributed Computing

Questions?

7th Int. Conf. on Internet and Distributed Computing Systems, IDCS 2014

September 24th, 2014. Calabria, Italy