330 likes | 452 Views
Fat Virtual Access Points. Srikanth Kandula. Kate Lin, Tural Badirkhanli and Dina Katabi. State-of-the-art (802.11):. Connect to the AP with the highest RSSI. In Homes, Hotspots…. Problem 1:. AP Uplink ~ 2Mbps (DSL/Cable Modems). Wireless Link ~ 54Mbps (Theoretical Max) . 2+2+2+….
E N D
Fat Virtual Access Points Srikanth Kandula Kate Lin, Tural Badirkhanli and Dina Katabi
State-of-the-art (802.11): Connect to the AP with the highest RSSI
In Homes, Hotspots… Problem 1: AP Uplink ~ 2Mbps (DSL/Cable Modems) Wireless Link ~ 54Mbps (Theoretical Max) 2+2+2+… Uplink Bottleneck Can Aggregate Bandwidth from nearby APs!
At Work … 7Mbps Problem 2: 20Mbps Unnecessary congestion; nearby APs are idle Spread load Individual changes help globally 15Mbps 4Mbps Load Imbalance Divide Total Bandwidth Among Users
2 Problems, 1 Solution State-of-the-art: Abstraction: Join closest AP Join a Virtual AP, that is the sum of nearby APs User can aggregate bandwidth from all APs Compete for total balance load across APs
Basic Operation 2Mbps 2Mbps 20Mbps But, what about receive?
Basic Operation 2Mbps 2Mbps Drop Power-Save Q 20Mbps Pretend in power-save, so AP buffers when disconnected (similar to Chandra et. al. VirtualWiFi) Divide Time and Data Across APs to get “Fat Virtual AP”
Realizing a Fat Virtual AP is Hard • Sustain TCP flows through each AP • Cannot lose packets yet Switch quickly • Which APs to connect to and for how long? • Some APs are more valuable than others • How to divide traffic across the APs? • FatVAP, an 802.11 driver design • divides time across APs to maximize throughput • is transparent to APs and remote ends
FatVAP Overview Scan for available APs Compute a schedule to divide time across APs Switch APs as per schedule Spread traffic by pinning flows to APs Channel 6 Channel 6 Channel 1 Channel 36
How much time to spend at an AP? Useful fraction of time Achievable Bandwidths– end-to-end e, wireless w Subsumes Wireless Link Quality, Contention at AP, APs uplink capacity
How to Divide Time Across APs? Optimal = 7 Mbps 5 Mbps, 100% busy Pick APs Greedily, on End-to-end rate ! more bang for the buck if wireless b/w is large
How to Divide Time Across APs? 5 Mbps, 100% busy Pick APs Greedily, on End-to-end rate Pick APs Greedily, on Wireless rate ! cost to switch is ≈ 5 ms ! can’t linger too long (100ms period) Only 75% usable No Greedy Solution!
Say, fi is fraction of time at APi Let s be switching time and D be the period Value (Bandwidth) Usefulness Constraint Cost (Time) Like Bin Packing, maximize value with bounded cost! (pseudo)-polynomial solution
Wireless Achievable But, How to Estimate Bandwidths? Naively– send-rate of probe burst, APs report load Idea: Use synchronous acks Client TX Queue AP Buffers Time from head of tx queue to end of transmission (ack)
Wireless Achievable End-to-end But, How to Estimate Bandwidths? Naively, send-rate of probe burst or APs report load t Count bytes rcvd in a window Idea: Use synchronous acks Client TX Queue AP Buffers Time from head of tx queue to end of transmission (ack)
Wireless Achievable End-to-end But, How to Estimate Bandwidths? Naively, send-rate of probe burst or APs report load t Count bytes rcvd in a window Idea: Use synchronous acks May not receive data always Idea: only count back-to-back large packets! Client TX Queue AP Buffers Time from head of tx queue to end of transmission (ack)
How to Spread Traffic Across APs? Put flows through all APs virtualize 802.11 state an IP for each interface toggle APs (and channels) By default, kernel sends all traffic to one AP AP1 AP2 MIT 128.30.79.0/24 T-Mobile 192.168.3.0/24 Toggler Hardware (Wireless Card) 802.11 State AP1 State AP2 State Two Interfaces
How to Spread Traffic Across APs? Put flows through all APs virtualize 802.11 state an IP for each interface toggle APs (and channels) By default, kernel sends all traffic to one AP Spread flows to APs Fast header re-writing AP1 AP2 Hardware (Wireless Card) Toggler AP1 State AP2 State Two Interfaces Spreader Distribute load w/o changing APs and applications
Switching Quickly Without Drops A Driver For Each Interface? • warm-up cost on switch • one instance + soft-switch AP1 AP2 One Driver
Switching Quickly Without Drops A Driver For Each Interface? • warm-up cost on switch • one instance + soft-switch 802.11 Control Packets • Isolate Transitions AP1 AP2 Hardware (Wireless Card) AP1 State AP2 State Re-send AUTH Send AUTH
Switching Quickly Without Drops A Driver For Each Interface? • warm-up cost on switch • one instance + soft-switch 802.11 Control Packets • Isolate Transitions Pkts stuck in driver at switch • Private Queues AP1 AP2 • Delay Switch till pkts drain • Drop Packets (madwifi)
Switching Quickly Without Drops A Driver For Each Interface? • warm-up cost on switch • one instance + soft-switch 802.11 Control Packets • Isolate Transitions Pkts stuck in driver at switch • Private Queues AP1 AP2 Attach/Detach Queue = Pointer Swap Enables high-rate TCPs through multiple APs
FatVAP Realizes a Fat Virtual AP • Which APs to connect to and for how long? • Estimate Bandwidths, Solve Optimization • How to divide traffic across the APs? • Virtualize, Pin Flows to APs, rewrite headers • Switch quickly but without losing packets • In-driver, Private Queues, Isolation And, with only client-side changes
Related Work VirtualWiFi (Microsoft Research) AP Selection (Intel Research, U Michigan) SyncScan (UCSD) MadWifi (open-source) • Divide Time across APs to maximize throughput • Sustain TCP flows through multiple APs • Transparently spread traffic across APs
Experimental Setup Compare FatVAP driver with unmodified MadWifi • Scenarios • Testbed built from Cisco, NetGear and MadWifi APs • Residential deployments • Commercial hotspots • Traffic • Long-lived TCP flows • BitTorrent (Azureus client, Planetlab peers) • Mimic Web Browsing (modified WebStone)
Can FatVAP Aggregate Bandwidth? Throughput (Mb/s) Number of APs 6Mbps ~22 Mbps Aggregates end-to-end up to the wireless bottleneck
Can FatVAP Balance Load? 2Mbps 12Mbps C1 C2 C3 C4 C5
Can FatVAP Balance Load? 2Mbps 12Mbps Unmodified MadWifi FatVAP 5 4 3 2 1 0 4.4 3.8 3.5 3.3 3.1 2.9 2.8 2.7 Throughput (Mb/s) .9 .9 C1 C2 C3 C4 C5 C1 C2 C3 C4 C5 C1 C2 C3 C4 C5 Simplifies Network Deployment!
Can FatVAP Adapt to Changes? 5Mbps 15Mbps Throughput (Mb/s) Re-adjusts time@AP as necessary
Contributions A new model for managed 802.11 LANs • Aggregate uplink, Balance load First to realize a fat virtual AP • Divide time and traffic across APs Transparent to APs, applications, servers