On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research &...

37
On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2 University of North Carolina at Chapel Hill culty Award, EU Marie Curie IRG, GSRT “Cooperation with non-EU countries” grants Merkouris Karaliopoulos 2 Haipeng Shen 2 Elias Raftopoulos 1 Maria Papadopouli 1,2

Transcript of On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research &...

Page 1: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs

1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete2 University of North Carolina at Chapel Hill

1IBM Faculty Award, EU Marie Curie IRG, GSRT “Cooperation with non-EU countries” grants

Merkouris Karaliopoulos2 Haipeng Shen2 Elias Raftopoulos1

Maria Papadopouli 1,2

Page 2: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Wireless landscape

Growing demand for wireless access Mechanisms for better than best-effort service provision Performance analysis of these mechanisms Majority of studies make high-level observations about traffic

dynamics in tempo-spatial domain Models of network & user activity in various spatio-temporal

scales are required

Page 3: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Wireless infrastructure

Wired Network

Wireless Network

Router

Internet

User A AP 1AP 2

AP3Switch

User B

disconnection

Page 4: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Wireless infrastructure

Wired Network

Wireless Network

Router

Internet

User A

User B

AP 1 AP 2

AP3Switch

roaming

roaming

disconnection

1 2 3 0

Flows

Associations

Packets

Page 5: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Modelling objectives

Important dimensions on wireless network modelling user demand (access & traffic) topology (network, infrastructure, radio propagation)

Structures that are well-behaved, robust, scalable & reusable

Publicly available analysis tools, traces, & models

Page 6: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

1 2 3 0Association

Session

Wired Network

Wireless Network

Router

Internet

User A

User B

AP 1 AP 2

AP3Switch

disconnection

Flow

time

Events

Arrivals

t1 t2 t3 t7t6t5t4

Page 7: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Wireless infrastructure & acquisition

26,000 students, 3,000 faculty, 9,000 staff in over 729-acre campus 488 APs (April 2005), 741 APs (April 2006) SNMP data collected every 5 minutes Packet-header traces:

175GB (April 2005), 365GB (April 2006) captured on the link between UNC & rest of Internet via a high-

precision monitoring card

Page 8: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Our models Session

arrival process starting AP

Flow within session arrival process number of flows size

Captures interaction between clients & network

Above packet level for traffic analysis & closed-loop traffic generation

Page 9: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Our parameters and models

Parameter Model Probability Density FunctionRelated Papers

Association, session duration BiPareto                                                                                     EW' 06

Session arrival Time-varying Poisson with rate λ(t)

N: # of sessions between t1 and t2

                                                                                   WICON '06

Client arrival Time-varying Poisson with rate λ(t) Same as above LANMAN '05

AP of first association/session Lognormal                                                                                    WICON '06

Flow interarrival/session Lognormal Same as above WICON '06

Flow number/session BiPareto                                                                                     WICON '06

Flow size BiPareto Same as above WICON '06

Client roaming between APs Markov-chain 

INFOCOM'04

Spatio-temporal phenomena in wireless Web access INFOCOM'04

Page 10: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Related modeling approaches

Hierarchical modeling by Papadopouli [wicon ‘06] Parameters: Session & in-session flow:

Time-varying Poisson process for session arrivals biPareto for in-session flow numbers & flow sizes Lognormal for in-session flow interarrivals

Flow-level modeling by Meng [mobicom ‘04] No session concept, flow interarrivals follow Weibull AP-level over hourly intervals

Larger deviation from real traces than our models

Page 11: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Number of Flows Per Session

Page 12: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Related modeling approaches (cont’d)

Sufficient spatial detail Scalable Amenable to analysis

Hourly period @ AP

Network-wide

ObjectiveScales

Page 13: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Main research issues

Hierarchical modeling traffic workload

AP-level vs. network-wide

Other spatio-temporal levels ?

Model validation @ different spatial scales using data from different periods

Scalability, reusability, accuracy tradeoffs

Page 14: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Hourly session arrival rates

Page 15: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Session-level flow variation

Number of flows in a session (k)

Broad variation of the in-session number of flows per building-type distribution

More activeweb browsingbehavior

Page 16: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Session-level flow size variation

Mean flow size f (bytes)

Page 17: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Session-level flow related variation

Mean in-session flow interarrival f

In-session flow interarrival can be modeled with same distribution for all building types but with different parameters

Page 18: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Starting building & “roaming”

Number of visited bldgs x

Small % of building-roaming flowsLittle dependence on what kind of building a session is initiated

Page 19: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Model validation

Simulations: synthetic data vs. original trace

Metrics: variables not explicitly addressed by our models aggregate flow arrival count process aggregate flow interarrival (1st & 2nd order statistics)

Increasing order of spatial aggregation AP-level, building-level (bldg), building-type-level (bldg-type),

network-wide

Different tracing periods (April 2005 & 2006)

Page 20: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Simulations

Produce synthetic data based on aforementioned models Synthesize sessions & flows for simulations Session arrivals are modeled after hourly bldg-specific data Flow-related data: bldg (day, trace), bldg-type, network-wide

Page 21: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Number of flows per session

Simplicity at the cost of higher loss of information

Page 22: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Number of aggregate flow arrivals

Page 23: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Autocorrelation of flow interarrivals

Page 24: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Flow interarrivals time

Aggregation in time-dimensionmay cancel out the benefit of getting higher spatial resolution

Page 25: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Conclusions

Multi-level parametric modelling of wireless demand Network-wide models:

o Time-varying Poisson process for session arrivalso biPareto for in-session flow numbers & flow sizeso Lognormal for in-session flow interarrivals

Validation of models over two different periods

Same distributions apply for modeling at finer spatial scales building-level, groups of buildings with similar usage

Evaluation of scalability-accuracy tradeoff

Page 26: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

UNC/FORTH web archive

Online repository of models, tools, and traces Packet header, SNMP, SYSLOG, signal quality

http://netserver.ics.forth.gr/datatraces/

Free login/ password to access it

Joint effort of Mobile Computing Groups @ FORTH & UNC

[email protected]

Page 27: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Appendix

Page 28: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Related research

Modeling traffic in wired networks Flow-level

several protocols (mainly TCP) Session-level

FTP, web traffic session borders heuristically defined by intervals of inactivity

Modeling traffic in wireless networks Flow-level modeling by Meng [mobicom04]

No session concept, flow interarrivals follow Weibull Modelling flows to specific APs over one-hour intervals Does not scale well Larger deviation from real traces than our models

Page 29: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Flow interarrival time

[Hinton-James

Page 30: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Hourly number of flow arrivals

[Hinton-James

Page 31: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Autocorrelation of flow interarrivals

[Hinton-James

Page 32: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.
Page 33: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

HT James

Page 34: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

McColl

Page 35: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.
Page 36: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Our models 2/2

Modeled variable Model Probability Density Function (PDF) Parameters

Session arrival Time-varying Poisson with rate

Hourly rate: 44(min),

1132(max), 294(median)

AP of first association/session

Lognormal

Flow interarrival/session

Lognormal Same as above

Flow number/session BiPareto

Flow size BiPareto Same as above

,...1,0,!

)Pr(,)(2

1

nn

enNdtt

t

t

n

2t1t

2

2

2

)(lnexp

2

1)(

x

xxp 4408.1,0855.4

785.2,3674.1

kxkcx

kcxxckxp

),(

)()1()( 1)1(

1,79.284

,72.1,06.0

kc

179,20.5

,91.0,00.0

kc

N: #sessions betweenand

Page 37: On Scalable Measurement-driven Modeling of Traffic Demand in Large WLANs 1 Foundation for Research & Technology-Hellas (FORTH) & University of Crete 2.

Related work in wireless traffic modeling

Over hourly intervals at AP-level Captures finer spatial detail required for evaluating network functions

with focus on AP-level (e.g., load-balancing, admission control) Does not scale for large infrastructures Data do not always amenable to statistical analysis

Infrastructure-wide Models amenable to statistical analysis Concise summary of traffic demand at system-level Fails to capture finer spatial detail required for evaluating network

functions with focus on AP-level