wireless mesh networking - ieee long island section

52
Wireless Mesh Networking Samir R. Das Stony Brook University, SUNY Stony Brook, New York 11747, U.S.A. [email protected] http://www.cs.sunysb.edu/~samir

Upload: others

Post on 12-Sep-2021

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wireless Mesh Networking - IEEE Long Island Section

Wireless Mesh Networking

Samir R. Das

Stony Brook University, SUNY

Stony Brook, New York 11747, U.S.A.

[email protected]

http://www.cs.sunysb.edu/~samir

Page 2: Wireless Mesh Networking - IEEE Long Island Section

1

The Wireless Paradox

Page 3: Wireless Mesh Networking - IEEE Long Island Section

2

What is a Mesh Network?

• “Wireless Paradox” : WLAN Access Points are typically wired.

Wired Backbone

WLAN Access

Points

Clients

Page 4: Wireless Mesh Networking - IEEE Long Island Section

3

What is a Mesh Network?

• Get rid of the wires from wireless LAN.• Access Points double as “wireless routers.”• Wireless routers form a backbone network.

WLAN Access

Points/ Routers

Clients

Wired Backbone

Page 5: Wireless Mesh Networking - IEEE Long Island Section

4

Mesh Networking Advantage• Very low installation and maintenance cost.– No wiring! Wiring is always expensive/labor intensive, time consuming, inflexible.

• Easy to provide coverage in outdoors and hard-to-wire areas. – Ubiquitous access.

• Rapid deployment.

• Self-healing, resilient, extensible.

Page 6: Wireless Mesh Networking - IEEE Long Island Section

5

Community Mesh Network

• Grass-roots wireless network for communities.

• Share Internet connections via gateway.

• Peer-to-peer neighborhood applications.

• Serious opportunities in developing countries, rural areas.

Page 7: Wireless Mesh Networking - IEEE Long Island Section

6

Wi-Fi Cluster

Gateway

Node

Wi-Fi Nodes

LaptopUser

WiMAX

Base Station

Roof Top

InternetBusiness and/or

Government FacilityResidential

Communications

Tower

Fiber or

Leased Line

VoIP

HandheldTelemetry

Gateway

Node

Wi-Fi Nodes

T-1

Replacement

Wireless Philadelphia

[Source: City of Philadelphia, Mayor’s Office of Information Services

www.wirelessphiladelphia.org]

Page 8: Wireless Mesh Networking - IEEE Long Island Section

7

Page 9: Wireless Mesh Networking - IEEE Long Island Section

8

Metro-Scale Mesh Network

• Covers an entire metropolitan area.

Photo Credit:

Mesh Dynamics

[Source: http://muniwireless.com]

Page 10: Wireless Mesh Networking - IEEE Long Island Section

9

Public Safety

[Source: www.meshdynamics.com]

Page 11: Wireless Mesh Networking - IEEE Long Island Section

10

Real Time Information

Bus Stops

I+ Information

Kiosk

Intelligent Transportation System

[Source: Intelligent

Transport Systems

City of Portsmouth,

IPQC Mesh

Networking Forum

presentation, 2005]

Page 12: Wireless Mesh Networking - IEEE Long Island Section

11

“Broadband Divide” in Wireless Space

• 13,707 unique nodes within Manhattan (Fall 2002)

• 91% below 96th Street

Sourc

e:

Sourc

e: h

ttp://p

ublic

inte

rnetp

roje

ct.o

rghttp

://pu

blic

inte

rnetp

roje

ct.o

rg

[Acknowledgment: Victor Bahl, Microsoft Research]

Page 13: Wireless Mesh Networking - IEEE Long Island Section

12

Addressing the Digital Divide

• Internet penetration positively correlated with per capita GNP.

• Need affordable and fast last mile connectivity.

• Tremendous opportunities in developing countries.

Source: ITU Source: ITU

Page 14: Wireless Mesh Networking - IEEE Long Island Section

13

Many Service Models

• Private ISP (paid service)• City/county/municipality efforts• Grassroots community efforts

• May be shared infrastructure for multiple uses– Internet access– Government, public safety, law enforcement– Education, community peer-to-peer

Page 15: Wireless Mesh Networking - IEEE Long Island Section

14

Municipalities,

Public Safety

23%

Education

15%

Warehousing

and Industrial

25%

Hospitality

25%

Healthcare

12%

Market Opportunities

Estimated $1B market by 2009 [source: IDC, ABI]

Hotels, malls,

conventions

Hospitals,

Nursing homes

Access, security,

surveillance

Access, campus,

mobile classroom

Asset tracking, RFID,

sensor nets, dispatch

Page 16: Wireless Mesh Networking - IEEE Long Island Section

15

Several Industry Players• Firetide

• Intel

• Kiyon

• Locust World

• Mesh Dynamics

• Microsoft

• Motorola /Mesh Networks

• Nokia Rooftop

• Nortel Networks

• Packet Hop

• SkyPilot Networks

• Strix Systems

• Tropos Networks

• Not a comprehensive list.

• Technical details usually proprietary.

• Solutions typically based on standard 802.11, single or multiple radios, standard routing solutions.

Page 17: Wireless Mesh Networking - IEEE Long Island Section

16

Is the Current 802.11 Standard Sufficient?

• Current IEEE 802.11 standard provides a 4-address frame format to exchange packets between APs.

• Inter-AP communication possible– WDS (Wireless distribution system).

• However, standard does not specify or define how to configure or use WDS. – Multihop forwarding/routing is now a higher layer issue.

• 802.11 MAC itself not suitable for multihop.

Page 18: Wireless Mesh Networking - IEEE Long Island Section

17

IEEE 802.11s ESS Mesh Networking

• Goal: Produce an amendment to the 802.11 standard to create a wireless distribution system – Support for unicast and broadcast/multicast.

– Self-configuring multihop topology

– Radio aware metrics; possible alternative path selection; supporting protocols based on application requirements.

– Functionally equivalent to wired ESS.

• Target no of packet forwarding nodes: ~32.

Page 19: Wireless Mesh Networking - IEEE Long Island Section

18

IEEE 802.11s ESS Mesh Networking

• Use 802.11i security or an extension.

• Use 802.11 4-address scheme or an extension.

• Interface with higher layers.

Page 20: Wireless Mesh Networking - IEEE Long Island Section

19

Similar Ideas in History• Packet Radio and Mobile Ad Hoc Networks

1972: Packet Radio NETwork (PRNET)1980s: SURvivable Adaptive Radio Network (SURAN)Early 1990s: GLObal MObile Information System (& NTDR)

Research agenda mostly set by DoD. Applications mostly military.

Mid 1990s: IETF MANET. Applications military/tactical, emergency response, disaster recovery, explorations, etc. Goal: standardize a set of IP-based routing protocols.

• Scenarios too specific. Little commercial impact in spite of 30 years of research.

Page 21: Wireless Mesh Networking - IEEE Long Island Section

20

History (contd.)

• However, great strides in several fronts in ad hoc networking research– Understanding routing in dynamic networks.

– Understanding MAC protocols for wireless multihop networks.

Page 22: Wireless Mesh Networking - IEEE Long Island Section

21

How Much We can Borrow from History?

• A lot .. But issues are different now.– In MANET design for mobility.

– In mesh network design for capacity.

• Advantage: can afford more power and bigger size.

Page 23: Wireless Mesh Networking - IEEE Long Island Section

22

Research Challenges• Wireless is not like wired networks. – Wireless links interfere.

– Intra-flow and inter-flow interference.

• Theoretical models show significant capacity degradation because of the wireless interference.

Page 24: Wireless Mesh Networking - IEEE Long Island Section

23

This Talk

• How to improve capacity using multiple channels?

• How to model interference in real networks?

• Focus on deployable practical approaches.

Page 25: Wireless Mesh Networking - IEEE Long Island Section

24

Single Radio Approach

• Single radio interface poses two challenges:– Channel switching latency (in order of ms in commodity 802.11 cards).

– Coordination between sender-receiver.

• Responses:– Ignore latency issue. Or, use multiple transmissions per switch to amortize cost.

– Use separate control channel, or tight timing synch and rendezvous, or slot assignments.

Page 26: Wireless Mesh Networking - IEEE Long Island Section

25

Channel Assignment Problem

• Channel assignment can control topology.

• Two nodes can communicate when they have at least one interface in common channel.

1 channel

1 interface

4 channels,

2 interfaces

A

B

C

D

A

B

C

D

Page 27: Wireless Mesh Networking - IEEE Long Island Section

26

Channel Assignment Problem

• Channel assignment can control topology.

• Two nodes can communicate when they have at least one interface in common channel.

1 channel

1 interface

4 channels,

2 interfaces

A

B

C

D

A

B

C

D

Page 28: Wireless Mesh Networking - IEEE Long Island Section

27

iMesh: Stony Brook’s Mesh Router

Small embedded platform running Linux with 2-3 WiFi interfaces. Runs routing and mobility management software.

Page 29: Wireless Mesh Networking - IEEE Long Island Section

28

iMesh: A Multiradio, MultichannelMesh

Access Point/

Mesh router

3 radio interfaces

4 channels

Page 30: Wireless Mesh Networking - IEEE Long Island Section

29

Topology Preserving Channel Assignment

• Preserve all links.

• Modeled as constrained k-coloring problem. NP-Complete Problem.

• Developed efficient heuristic algorithms. Algorithm can run on a central network controller.

• With 4 radios per router, 75%-90% of interferences removed for a 12 channel scenario. Means 75%x12 – 90%x12 times capacity improvement over single channel.

Page 31: Wireless Mesh Networking - IEEE Long Island Section

30

iMesh: Experimental Testbed

Access Point/

Mesh router

Mobile station

Page 32: Wireless Mesh Networking - IEEE Long Island Section

31

Handoff and Routing on iMesh

• Layer 2 handoff triggers routing updates in the mesh backbone (Layer 3 handoff).

• 10-20ms additional latency in Layer 3 for upto 5 hop route changes.

• Fine for interactive voice and video.

Mesh network cloud of APs

Page 33: Wireless Mesh Networking - IEEE Long Island Section

32

Capacity in Presence of Interference

S R

ISender side

Interference

(reduces transmission

opportunity)

Receiver side

Interference

(causes collisions)

• Assume, sender S and Interferer I always backlogged.

• Capacity of SR link = normalized transmission rate* delivery ratio * (1- Prob. of collision).

Page 34: Wireless Mesh Networking - IEEE Long Island Section

33

Modeling Sender Side Interference

S R

ISender side

Interference

(reduces transmission

opportunity)

• Carrier Sense Factor, CSF(S,I) = Normalized transmission rate of S in presence of I.

• Hypothesis: The quality of I to S link is a good predictor of CSF(S,I).

• Challenge: How to measure link quality?

Page 35: Wireless Mesh Networking - IEEE Long Island Section

34

Experimental Setup

• Determine quality of the link from interferer to sender.

Measure

delivery ratioBroadcast

as fast as possible

Measure sending

rate via snooping

Measure signal

strength

Interferer Sender

Atheros-based

interface

Prism-based

interface

Page 36: Wireless Mesh Networking - IEEE Long Island Section

35

Experimental Setup

• Determine Carrier Sense Factor (CSF). • Repeat experiments by changing positions. • Over 600 positions measured in indoor environment (robot assisted).

Broadcast

as fast as

possible

Interferer

Measure

CSF

Measure

CSF

Sender

Broadcast

as fast as

possible

Atheros-based

interface

Prism-based

interface

Page 37: Wireless Mesh Networking - IEEE Long Island Section

36

Relationship between CSF and DR with Signal Strength

0

0.2

0.4

0.6

0.8

1

-10 0 10 20 30 40 50

Average Sampled Signal Strength (ssig) in dB

Carrier Sense FactorDelivery Ratio

Page 38: Wireless Mesh Networking - IEEE Long Island Section

37

Predict CSF with Delivery Ratio

0

0.2

0.4

0.6

0.8

1

0 0.2 0.4 0.6 0.8 1

Ca

rrie

r S

en

se

Fa

cto

r

Delivery Ratio

Measured CSFFitted CSF

Quadratic fit with R^2 = 0.75

Page 39: Wireless Mesh Networking - IEEE Long Island Section

38

Recall

S R

ISender side

Interference

(reduces transmission

opportunity)

Receiver side

Interference

(causes collisions)

• Assume, sender S and Interferer I always backlogged.

• Capacity of SR link = normalized transmission rate* delivery ratio * (1- Prob. of collision).

Page 40: Wireless Mesh Networking - IEEE Long Island Section

39

Modeling Receiver-side Interference

S R

IReceiver side

Interference

(causes collisions)

• No collision if signal strength from S –signal strength I > threshold (dB).

• Else, Prob. of collision = delivery ratio * (CSF(I,S)+CSF(S,I)-1)/CSF(S,I)

Page 41: Wireless Mesh Networking - IEEE Long Island Section

40

Putting Both Sides Together

• 600 experiments with different link qualities between sender, receiver, interferer.

• Both sender and interferer transmit at the max possible rate.

Sender Receiver

Interferer

Page 42: Wireless Mesh Networking - IEEE Long Island Section

41

Putting Both Sides Together

Sender

Receiver

Interferer

• 600 experiments with different link qualities between sender, receiver, interferer.

• Both sender and interferer transmit at the max possible rate.

Page 43: Wireless Mesh Networking - IEEE Long Island Section

42

Putting Both Sides Together

Sender Receiver

Interferer

• 600 experiments with different link qualities between sender, receiver, interferer.

• Both sender and interferer are always backlogged.

Page 44: Wireless Mesh Networking - IEEE Long Island Section

43

-0.2

0

0.2

0.4

0.6

0.8

1

1.2

0 100 200 300 400 500 600

Observation Numbers

Actual Delivery RatioEstimated Delivery Ratio

Putting Both Sides Together

• Less than 10% error in 90% of cases.

• Less than 20% error in 95% of cases.

Page 45: Wireless Mesh Networking - IEEE Long Island Section

44

What is the value?

• We can determine the capacity of any link in presence of interference from any node– Only need to know delivery ratio and signal strengths between every node pair (without interference).

– Can be measured using the radio interfaces themselves.

• Capacity model can be used for capacity planning, channel assignment, VoIP admission control. – Also can be used in simulations.

Page 46: Wireless Mesh Networking - IEEE Long Island Section

45

Summary

• WiFi Mesh is here.• But interference limits capacity.

• Multi-radio channel assignment– Single radio solution not compatible with commodity hardware.

• Measurement-based interference modeling.– Can be used to model and predict network capacity.

Page 47: Wireless Mesh Networking - IEEE Long Island Section

46

Using Directional Antennas

• Directional antenna reduces interference.

• However, effective use requires smart antenna as well as new MAC protocols.

• iMesh solution: inexpensive antennas and legacy 802.11 MAC.

Page 48: Wireless Mesh Networking - IEEE Long Island Section

47

Using Directional Antenna

Page 49: Wireless Mesh Networking - IEEE Long Island Section

48

Topology Control with Directional Antennas

Page 50: Wireless Mesh Networking - IEEE Long Island Section

49

• Use antennas on stepper motors.

• Or, use multiple antennas covering a circle, selected via a switch.

Topology Control with Directional Antennas

Page 51: Wireless Mesh Networking - IEEE Long Island Section

50

• How to orient antennas so that enough connectivity is retained, but overall interference is reduced?

• New algorithms achieve major improvement in end-to-end throughput.

• Simulation results for a 100 node network: 3-4 times improvement in throughputs with single channel, 3 antennas per node (300 beamwidth).

Topology Control with Directional Antennas

Page 52: Wireless Mesh Networking - IEEE Long Island Section

51

Final Thoughts

• “Performance transparency” is important.

• Possible even with COTS hardware.

• Key techniques: fast handoff, multi-radio/multichannel, directional antennas.

• Thanks to our sponsors: NSF, CEWIT (NY State), Computer Associates, NEC Labs.