DIRAC: A Software-based Wireless Router System Petros Zerfos, Gary - - PowerPoint PPT Presentation

dirac a software based wireless router system
SMART_READER_LITE
LIVE PREVIEW

DIRAC: A Software-based Wireless Router System Petros Zerfos, Gary - - PowerPoint PPT Presentation

DIRAC: A Software-based Wireless Router System Petros Zerfos, Gary Zhong, Jerry Cheng, Haiyun Luo, Songwu Lu, Jefferey Jia-Ru Li Presented by: Stephen Kazmierczak Overview Background Issues Motivation Design Implementation


slide-1
SLIDE 1

DIRAC: A Software-based Wireless Router System

Presented by: Stephen Kazmierczak

Petros Zerfos, Gary Zhong, Jerry Cheng, Haiyun Luo, Songwu Lu, Jefferey Jia-Ru Li

slide-2
SLIDE 2

Worcester Polytechnic Institute 2

Overview

  • Background
  • Issues
  • Motivation
  • Design
  • Implementation
  • System Evaluation
  • Conclusions
slide-3
SLIDE 3

Worcester Polytechnic Institute 3

Background – Topology

  • Typical 802.3/802.11

mixed network – Wireless “last hop”

  • Multiple mobile

hosts/AP, multiple APs/AR

  • Hosts roam between

APs

  • Moderate Load/Traffic
  • Wireless link is the

bottleneck

Access Router Access Point

The Internet

slide-4
SLIDE 4

Worcester Polytechnic Institute 4

Issues

  • New Internet services, such as packet

filtering, intrusion detection, level-n switching, and packet tagging

– But current routers do not work well in a wireless network

  • Protocols have been proposed to achieve

above goals

– Use link-layer information feedback, such as channel errors and link handoff events – Work in simulation, not in practice – Why? System framework missing

slide-5
SLIDE 5

Worcester Polytechnic Institute 5

Motivation

  • Significant increase in demand for

wireless services

– Carrier-grade data delivery, security, QoS, VoIP, interactive multiplayer gaming, multimedia IM

  • Protocol solutions devised, but a

system support framework is needed

slide-6
SLIDE 6

Worcester Polytechnic Institute 6

Motivation (cont.)

  • Some services require inter-cell coordination

across multiple APs – Roaming users use resources in both the time and spatial domains – Wireless resource management schemes must coordinate decisions among neighboring cells

  • DIRAC seeks to enable inter-cell

coordination, to enable seamless services and minimize inter-cell channel interferences

slide-7
SLIDE 7

Worcester Polytechnic Institute 7

Motivation (cont.)

  • Typical wireless network has a large

number of APs, posing the challenge of minimizing software and hardware costs and configuration management

  • Must intelligently partition software

between APs and AR, with most complexity at centralized router

  • Software-based frameworks provide

extensibility and flexibility, accelerates implementation, experimentation, and deployment

slide-8
SLIDE 8

Worcester Polytechnic Institute 8

Design – Alts

  • Alternative Architectures

– AP delivers 802.11 MAC functionality

  • nly (current practice)

– Intelligent AP: adaptive link-layer services implemented at each network- layer oblivious access point – Ubiquitous router: turns each AP into a router

slide-9
SLIDE 9

Worcester Polytechnic Institute 9

Design – DIRAC

Oblivious Approach Integrated Approach DIstributed Router ArChitecture

  • Convert every AP to AR
  • Collapse L2 and L3 layers
  • Increased Cost
  • Complicated Management
  • Current practice
  • No interaction between AR APs
  • Difficult to implement wireless

router services

slide-10
SLIDE 10

Worcester Polytechnic Institute 10

Design – RC & RAs

  • Central Router

Core (RC)

  • Multiple Router

Agents (RAs)

  • Interaction

constrained:

– Events – Statistics – Actions

RC

RA RA RA

slide-11
SLIDE 11

Worcester Polytechnic Institute 11

Design – RA

  • RA is link-layer specific and light-

weight

– Serves as a messenger between the RC and the link-layer device driver – Communication between RC and RA via standard UDP sockets

slide-12
SLIDE 12

Worcester Polytechnic Institute 12

Design – RC

  • RC carries out regular router
  • perations for each wireless subnet
  • Forwarding engine addresses

wireless link issues

– Accepts link-layer info and performs adaptive forwarding operations – Can request actions of RAs – Accepts events from RAs

  • RC contains a DIRAC control engine
slide-13
SLIDE 13

Worcester Polytechnic Institute 13

Design – RC/RA Interaction

  • Events denote occurrences of

asynchronous link-layer activity

– Use: mobility-aware decisions

  • Statistics report latest channel

quality information

– Use: channel-adaptive packet delivery

  • Actions enforce RC policies
slide-14
SLIDE 14

Worcester Polytechnic Institute 14

Design – Router Core

Adapted control-plane management protocols and data-plane forwarding engine to be wireless and mobility aware

slide-15
SLIDE 15

Worcester Polytechnic Institute 15

Design – RC Ctrl Plane

  • Routing and management protocols
  • Control engine

– OS support to enable cross-layer interactions – Four components: EventProcessor, StatisticsMonitor, ActionProcessor, and RegistrationDB

slide-16
SLIDE 16

Worcester Polytechnic Institute 16

Design – RC Data Plane

  • Allows components to implement

channel-adaptive protocols, based

  • n link-layer feedback

– DIRAC does not stipulate the specific choice of protocol

  • Forwarding engine provides

asymmetric operations for uplink and downlink

– Downlink proactive, uplink reactive

slide-17
SLIDE 17

Worcester Polytechnic Institute 17

Design – Router Agent

  • Bridges interaction between RC and

wireless link layer, a light-weight messenger between layer-2 of the AP and layer-3 of the RC

– Monitors state and channel quality – Sends event messages to RC – Intercepts action commands from RC

slide-18
SLIDE 18

Worcester Polytechnic Institute 18

Implementation – Router Core

  • IPv6
  • Set of Click Elements within the Click

Router framework under Linux

– Developed 13 new Click elements

slide-19
SLIDE 19

Worcester Polytechnic Institute 19

Implementation – Router Agent

  • OpenAP platform
  • WL11000 SA-N board

– Wired Ethernet controller (NE2000) – AMD ELAN SC400 @ 33MHz – 1MB of Flash RAM – RS-232 serial interface

  • Wireless PCMCIA 802.11b
  • Embedded Linux 2.4.17
slide-20
SLIDE 20

Worcester Polytechnic Institute 20

Implementation – RA (cont)

  • Wireless Linux Extensions for monitoring
  • 802.11 frame snooping for events
  • Customized 802.11 management frames to

enforce actions

Linux Kernel Wi-Fi Driver Userspace Daemon Router Agent

slide-21
SLIDE 21

Worcester Polytechnic Institute 21

Implementation – RC/RA Comm

  • Simple UDP protocol for exchanging

information

– Packet format: Type, Subtype, Len, Data

  • Type: Statistic, Event, Action, Registration
  • Subtype: Specific instance of type
  • Length: in bytes of Data field
  • Data: “Value” - actual information
slide-22
SLIDE 22

Worcester Polytechnic Institute 22

Implementation – Prototype Wireless Services

  • Link-Layer Informed Fast Handover

– Reduced latency and minimized loss when roaming between subnets

  • Channel-Adaptive FEC-Based Downlink

Forwarder

– Addresses wireless Head-of-Line blocking problem

  • Link-Layer Assisted Uplink Policing

– Temporarily squelches aggressive uplink flows

slide-23
SLIDE 23

Worcester Polytechnic Institute 23

System Evaluation – Overhead

RC:

  • Intel Pentium III @

900MHz

  • 256 MB RAM
  • Intel Ethernet Express

10/100

  • Performance scaled

linearly based on # of APs and # of mobile clients 1299 Basic Forwarding 32 Statistics Report 1712 Event 498 Action

Time (ns) Operation

slide-24
SLIDE 24

Worcester Polytechnic Institute 24

System Eval – Fast Handover

Mobile node-initiated No movement prediction 802.11 ReAssociation event as “trigger”

Old AR New AR

AP

(1)ReAssoc (2)Roam. Host!

(3)Tunnel Req (4)Tunnel Est.

(5)Accept! (6)ReAssoc Reply (7)Change IP/GW

slide-25
SLIDE 25

Worcester Polytechnic Institute 25

System Eval – Fast Handover Performance

6 6 8.1 Time for MN to change IP/GW 3 18.8 18.6 Time to send new IP/GW 1.8 7.4 7.9 Additional latency to complete L2 assoc. 1.5 3.6 4.2 Tunnel Establishment

stdv Median Mean

latencies are in milliseconds

slide-26
SLIDE 26

Worcester Polytechnic Institute 26

System Eval – FEC-based Downlink Forwarding

  • RA reports channel quality to RC

– RC determines that channel quality is not acceptable; requests disabling of retransmissions

  • FEC implemented on RC

– FEC compensates for unreliability – Strength of FEC adaptive to transmission rate and quality of the channel

  • Nodes with a good channel do not

experience packet loss

slide-27
SLIDE 27

Worcester Polytechnic Institute 27

System Eval – DL Forwarding Results

9985 9903 9943 1.54 20.17 9581 9978 9980 2.01 15.02 7450 9940 9980 1.46 12.38 2647 9830 9903 1.53 10.38

MN3 MN1 MN1 Stdv Ave. Quality

9988 9999 9999 1.98 20.44 9822 9999 9999 1.76 14.81 6558 7554 7559 1.81 12.21 3038 4807 4808 2.17 9.47

MN3 MN2 MN1 Stdv Ave. Quality

#packets received by each node, out of the 10,000 sent

FEC-Based Approach Link-Layer Retransmissions

slide-28
SLIDE 28

Worcester Polytechnic Institute 28

System Eval – Policing

  • Two mobile nodes, MN1 and MN2,

competing for wireless channel

– MN1 running a 128kbp streaming MP3 server over TCP – MN2 sourcing 3.6Mbps of UDP traffic

  • Without policing, MN2 occupies the

majority of the channel

– So much so that TCP cannot maintain connection

slide-29
SLIDE 29

Worcester Polytechnic Institute 29

System Eval – Policing

  • With policing MN1 is protected from

MN2

– RC can instruct the AP to limit MN2’s access – MN2 is constantly being limited, but MN1 is now able to run to completion

slide-30
SLIDE 30

Worcester Polytechnic Institute 30

Conclusions – RC

  • Scales well

– Consumes processing power less than 2.5% of standard packet forwarding cost – Takes less than 1us to process channel states for 50 clients per AP – Supports a large number of APs

  • Less than 140us required to process

statistics from 50 APs, each which transmits 20 reports per second

slide-31
SLIDE 31

Worcester Polytechnic Institute 31

Conclusions – Services

  • Enables deploying of critical wireless

network services

– Fast handover service creates a tunnel for packet forwarding in under 10ms – FEC-based forwarding solves HoL blocking problem – Policing service protects flows

slide-32
SLIDE 32

Worcester Polytechnic Institute 32

Conclusions – Summary

  • Motivated by wireless-adaptive and

mobility-aware service

  • Two-way interaction between Access

Routers & Access Points

  • Enable implementation of wireless

router services

  • Low cost of

deployment/management