WQM: Practical, Adaptive, and Lightweight Wireless Queue Management System

Similar documents
An Empirical Evaluation of Bufferbloat in IEEE n Wireless Networks

MAC-layer Protocol for TCP Fairness in Wireless Mesh Networks

The Efficacy of Centralized Flow Rate Control in based Wireless Mesh Networks

Mobile Crowd-Sensing for E-Health Monitoring and Hot-Spot Detection. Basem Shihada Assistant Professor of Computer Science and Electrical Engineering

The Controlled Delay (CoDel) AQM Approach to fighting bufferbloat

A CDCA-TRACE MAC PROTOCOL FRAMEWORK IN MOBILE AD-HOC NETWORK

A link layer adaptive pacing scheme for improving throughput of transport protocols in wireless mesh networks

Improving the Data Scheduling Efficiency of the IEEE (d) Mesh Network

Novel Techniques for Fair Rate Control in Wireless Mesh Networks

Qos Parameters Estimation in MANET Using Position Based Opportunistic Routing Protocol

VoIP over wireless networks: a packet scheduling approach to provide QoS using Linux

(INTERFERENCE AND CONGESTION AWARE ROUTING PROTOCOL)

TCP challenges in multi-hop wireless networks. Why multi-hop?

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

CS268: Beyond TCP Congestion Control

CSMA based Medium Access Control for Wireless Sensor Network

Interference avoidance in wireless multi-hop networks 1

Kathie Nichols CoDel. present by Van Jacobson to the IETF-84 Transport Area Open Meeting 30 July 2012 Vancouver, Canada

End-to-End Mechanisms for QoS Support in Wireless Networks

Congestion Control For Coded TCP. Doug Leith

Quality of Service Mechanism for MANET using Linux Semra Gulder, Mathieu Déziel

Architecture and Evaluation of an Unplanned b Mesh Network

Data Center TCP (DCTCP)

AN ANALYSIS OF THE MODIFIED BACKOFF MECHANISM FOR IEEE NETWORKS

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

Multiple Network Coded TCP Sessions in Disruptive Wireless Scenarios

Improving TCP Performance over Wireless Networks using Loss Predictors

Performance of Multihop Communications Using Logical Topologies on Optical Torus Networks

Dynamic Power Control MAC Protocol in Mobile Adhoc Networks

Tuning RED for Web Traffic

Journal of Electronics and Communication Engineering & Technology (JECET)

Design of Link and Routing Protocols for Cache-and- Forward Networks. Shweta Jain, Ayesha Saleem, Hongbo Liu, Yanyong Zhang, Dipankar Raychaudhuri

XORs in the Air: Practical Wireless Network Coding

TCP and UDP Fairness in Vehicular Ad hoc Networks

Applications and Performance Analysis of Bridging with Layer-3 Forwarding on Wireless LANs

Data Center TCP (DCTCP)

Impact of IEEE MAC Packet Size on Performance of Wireless Sensor Networks

Implementation Experiments on HighSpeed and Parallel TCP

TO DESIGN ENERGY EFFICIENT PROTOCOL BY FINDING BEST NEIGHBOUR FOR ZIGBEE PROTOCOL

The Effects of Asymmetry on TCP Performance

Implementation and Evaluation of Proportional Integral controller Enhanced Algorithm in ns-3

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Evaluation of a for Streaming Data in Ad-hoc Networks

FPOC: A Channel Assignment Strategy Using Four Partially Overlapping Channels in WMNs

On the Deployment of AQM Algorithms in the Internet

There are 10 questions in total. Please write your SID on each page.

TCP LoLa Toward Low Latency and High Throughput Congestion Control

Wireless Networks (CSC-7602) Lecture 8 (22 Oct. 2007) Seung-Jong Park (Jay) Fair Queueing

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

Enhancing TCP Throughput over Lossy Links Using ECN-capable RED Gateways

Appendix B. Standards-Track TCP Evaluation

Cross-layer TCP Performance Analysis in IEEE Vehicular Environments

PERFORMANCE ANALYSIS OF AF IN CONSIDERING LINK UTILISATION BY SIMULATION WITH DROP-TAIL

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

Receiver-initiated Sending-rate Control based on Data Receive Rate for Ad Hoc Networks connected to Internet

Towards a Robust Protocol Stack for Diverse Wireless Networks Arun Venkataramani

TCP Congestion Control

A cluster based interference mitigation scheme for performance enhancement in IEEE

AR-TP: An Adaptive and Responsive Transport Protocol for Wireless Mesh Networks

Which Service for TCP/IP Traffic on ATM: ABR or UBR?

Lecture 15: TCP over wireless networks. Mythili Vutukuru CS 653 Spring 2014 March 13, Thursday

Linux Plumbers Conference TCP-NV Congestion Avoidance for Data Centers

Granting Silence to Avoid Wireless Collisions

Resource Allocation in Contention-Based WiFi Networks

Performance Enhancement Of TCP For Wireless Network

Experimental Analysis and Demonstration of the NS2 Implementation of Dynamic Buffer Sizing Strategies for Based Wireless Networks

Wireless TCP Performance Issues

RED behavior with different packet sizes

A Large Scale Simulation Study: Impact of Unresponsive Malicious Flows

Multi-Channel MAC for Ad Hoc Networks: Handling Multi-Channel Hidden Terminals Using A Single Transceiver

Cloud e Datacenter Networking

On the Effectiveness of CoDel for Active Queue Management

Medium Access Control Protocols: scheduled schemes

Research Directions in Low-Power Wireless Networks

TFRC and RTT Thresholds Interdependence in a Selective Retransmission Scheme

Final Exam for ECE374 05/03/12 Solution!!

COMP3331/9331 XXXX Computer Networks and Applications Final Examination (SAMPLE SOLUTIONS)

Dr Markus Hagenbuchner CSCI319 SIM. Distributed Systems Chapter 4 - Communication

The War Between Mice and Elephants

Capacity of Grid-Oriented Wireless Mesh Networks

End-to-End Adaptive Packet Aggregation for High-Throughput I/O Bus Network Using Ethernet

A Measurement Study of Path Capacity in b based Wireless Networks

Lecture 15: Datacenter TCP"

Improving the Robustness of TCP to Non-Congestion Events

Two-Tier WBAN/WLAN Healthcare Networks; Priority Considerations

RealMedia Streaming Performance on an IEEE b Wireless LAN

CIS 632 / EEC 687 Mobile Computing

Investigating the Use of Synchronized Clocks in TCP Congestion Control

WITH the evolution and popularity of wireless devices,

BIGAP. Seamless Handover in High Performance Enterprise IEEE Networks. Anatolij Zubow, S. Zehl, A. Wolisz Technical University Berlin, Germany

Chapter 7 CONCLUSION

On the Scalability of Hierarchical Ad Hoc Wireless Networks

The War Between Mice and Elephants

Empirical Study of Mobility effect on IEEE MAC protocol for Mobile Ad- Hoc Networks

Wireless Local Area Networks (WLANs) and Wireless Sensor Networks (WSNs) Primer. Computer Networks: Wireless LANs

The Comparative Analysis of RED, GF-RED and MGF-RED for Congestion Avoidance in MANETs

An Approach for Enhanced Performance of Packet Transmission over Packet Switched Network

CHAPTER 3 ENHANCEMENTS IN DATA LINK LAYER

Transcription:

WQM: Practical, Adaptive, and Lightweight Wireless Queue Management System Basem Shihada Computer Science & Electrical Engineering CEMSE, KAUST University of Waterloo Seminar December 8 th, 2014

2

3

How Bad are the Delays? Pan, Rong, et al. "PIE: A Lightweight Control Scheme to Address the Bufferbloat Problem.". In Proceedings of the 2013 IEEE Conference on High Performance Switching and Routing, July 2013 4

How Bad are the Delays (Bufferbloat)? Measurements in a wired access network with system backup to a remote server. Consistent delays of over 1 sec. 5

Where are the Bloated Buffers? Buffers exist at multiple layers in the stack Application layer buffers TCP socket buffers Txqueue buffers Device driver ring buffers Hardware buffers K. Jamshaid, B. Shihada, A. Showail, and P. Levis, Deflating link buffers in Wireless Mesh Networks", Elsevier Journal of Ad-Hoc Networks, Vol. 16, pp. 266-280, 2014. 6

Txqueue buffers are Bloated Large FTP 1000 packets (packetà1500b) 7

Problem Statement low utilization, low delays high throughput, high delays Determine buffer size to balance throughput and delay tradeoff 8

Buffer Sizing Rule of Thumb Sender Router C Receiver RTT Router needs a buffer size of B = RTT X C RTT is the two-way propagation delay C is the bottleneck link capacity 9

Rule of Thump Exception in Wireless Networks Wireless link: abstraction for shared spectrum Variable Frame Aggregation Variable Packet Inter-Service Rate Adaptive link rates

Challenges in Wireless Networks Wireless link: abstraction for shared spectrum Bottleneck spread over multiple nodes Gateway to Internet 11

Challenges in Wireless Networks Wireless link: abstraction for shared spectrum Bottleneck spread over multiple nodes Variable Frame Aggregation Impact of large aggregates with multiple sub-frames 12

A-MPDU Aggregate Size 64KB 1 MB N/A

Challenges in Wireless Networks Wireless link: abstraction for shared spectrum Bottleneck spread over multiple nodes Variable Frame Aggregation Impact of large aggregates with multiple sub-frames Variable Packet Inter-Service Rate Random MAC scheduling Random noise and interference 14

Challenges in Wireless Networks Wireless link: abstraction for shared spectrum Bottleneck spread over multiple nodes Variable Frame Aggregation Impact of large aggregates with multiple sub-frames Variable Packet Inter-Service Rate Random MAC scheduling Sporadic noise and interference Adaptive link rates With the default Linux buffer size, the time to empty a full buffer: 600 Mb/s 6.5 Mb/s 2 orders of magnitude A. Showail, K. Jamshaid, B. Shihada, Buffer sizing in wireless networks: Challenges and Opportunities", IEEE Communication Magazine, Accepted, 2014. 15

What about Wireless Multi-Hop? Wireless link: abstraction for shared spectrum Variable Frame Aggregation Variable Packet Inter-Service Rate Adaptive link rates Severe performance degradation on throughput, delay, dropping 16

Solution Framework Wireless link: abstraction for shared spectrum Variable Frame Aggregation Variable Packet Inter-Service Rate Adaptive link rates Severe performance degradation on throughput, delay, dropping B. Shihada and K. Jamshaid, "Buffer Sizing for Multi-hop Wireless Networks," U.S. Patent No.: 8,638,686. 2014. 17

Collision Domains Set of interfering links that contend for channel access 2-hop interference model: approximates RTS/CTS use in 802.11 l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 18

Bottleneck Collision Domain Set of links that contend with max. no. of links Limits the end-to-end rate of a flow l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 19

Bottleneck Collision Domain Set of links that contend with max. no. of links Limits the end-to-end rate of a flow l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 20

Bottleneck Collision Domain Set of links that contend with max. no. of links Limits the end-to-end rate of a flow l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 21

Bottleneck Collision Domain Set of links that contend with max. no. of links Limits the end-to-end rate of a flow l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 22

Neighborhood Buffer Instead of having big local buffers at each node consider the combined effect of interfering nodes when sizing the buffer: l 6 l 5 l 4 l 3 l 2 l 1 6 5 4 3 2 1 0 Neighborhood buffer size is sum of buffers of nodes in the bottleneck collision domain (0 through 5) Note: Node 6 does not interfere 23

DNB Distributed Neighborhood Buffer 1) Determine bottleneck buffer B B = R *RTT 1) Assign b i to nodes s. t. B = # b % % )*++,-.-/0 24

Assigning Per-node Buffer Drops close to source are preferable Introduces a generic cost function cost of drop increases with hop count C min # Drop probability cost function %DE subject to C %DE b i = B and b i 0, i M M is the # of nodes in the bottleneck collision domain 25

Solution Framework Wireless link: abstraction for shared spectrum Variable Frame Aggregation Variable Packet Inter-Service Rate Adaptive link rates Severe performance degradation on throughput, delay, dropping A. Showail, K. Jamshaid, B. Shihada, "An Empirical Evaluation of Bufferbloat in IEEE 802.11n Wireless Networks", IEEE Wireless Communications and Networking Conference (WCNC), pp. 3088-3093, 2014 26

Wireless Queue Management (WQM) force maxmin limits on queue size queuing delay vs. queue size account for channel busy time Frame Aggregation Link Rate Channel Utilization adaptively set buffer size based on network measurements A. Showail, K. Jamshaid, and B. Shihada, "WQM: An Aggregation-aware Queue Management Scheme for IEEE 802.11n based Networks", in Proc. ACM Sigcomm Capacity Sharing Workshop (CSWS), pp. 15-20, 2014

WQM Operations 1. Initial Phase B initial = R ARTT ( BL R) 2. Adjustment Phase T drain = B max > B > B min F(N) N R Buffer BL 28

Testbed Topology Node setup: 10 Distributed Shuttle Nodes at Building 1, Level 4. Software setup: Customized Linux kernel for statistics collection Network traffic setup: Large file transfers 29

DNB with Single-Flow Goodput normalized to results with default buffer sizes Delays normalized to results with proposed buffer sizes Normalized goodput 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 2-hop 3-hop 4-hop Normalized delay 140 120 100 80 60 40 20 0 2-hop 3-hop 4-hop Topology Topology Two-orders of magnitude improvement in delay while achieving 90% goodput 30

DNB with Multi-Flows Intersecting 3-hop & 4-hop flows in our 10-nodes testbed Scheme Avg. goodput Mean RTT Default buffer size 786 1653 Proposed buffer sizing 712 91 Average RTT is reduced by a factor of 20 at the cost of 9% drop in goodput 31

WQM Single Flow Multi-Hop Latency Avg. 224.4ms 90.43ms 49.47ms 1 hop 2 hops 3 hops 32

WQM Single Flow Multi-Hop Goodput 33

WQM Multi Flow Single-Hop Latency WQM reduces RTT by 5x compared to default buffers and 2x compared to CoDel 1 flow 3 flows 5 flows 34

WQM Multi Flow Single-Hop Goodput JFI for the default buffer size is 0.77 compared to 0.99 for both WQM and CoDel 35

WQM Multi Flow over a Single-Hop Num. of Flows Default Buffer Size Throughput (Mb/s) RTT (ms) Throughput (Mb/s) w/o WQM RTT (ms) 1 155.7 61.51 134.35 13.1 2 78.43 65.8 69.21 13.47 3 51.96 420.66 45.77 14.19 4 39.22 213.19 33.96 14.91 5 31.38 937.56 27.41 14.93 Latency improvement of > 5x with around10% throughput drop WQM prevents flows from filling up the buffers quickly while starving others Num. of Flows Jain s fairness index (JFI) Default Buffer Size WQM 2 0.99 0.99 3 0.7 0.99 4 0.89 0.99 5 0.69 0.99 36

WQM Multi Flow Multi Hop Results Flow # 3 Flow # 2 Flow # 1 Source 1 st Hop 2 nd Hop 3 rd Hop 37

WQM Multi Flow over Multi-hops Num. of Flows Default Buffer Size Throughput (Mb/s) RTT (ms) Throughput (Mb/s) WQM RTT (ms) 1 68.32 169.44 61.08 33.76 2 34.52 165.3 32.1 35.32 3 22.89 177.09 20.4 38.83 4 17.06 186.29 15.94 38.55 5 13.76 193.47 12.54 38.2 WQM reduces RTT by 5 with the cost of 10% drop in throughput in the worst case 38

WQM Testbed Results WQM adaptively sets queue size in response to changing network conditions 39

Data Traffic Network traffic setup: 1 file transfer in the background + real-time communication Default Scheme Proposed Scheme Latency: 12x improvement Average/Expectation: 10x improvement Jitter: 17x improvement Average/Expectation: 10x improvement

Audio demo Network traffic setup: 1 file transfer in the background + 1 real-time audio stream Wireless - Default Wireless - Proposed Wired 41

Video demo Network traffic setup: 1 file transfer in background + real-time video streaming 42

WQM for KAUST New Energy Oases (NEO) WQM has been applied in practical scenarios in collaboration with KAUST Economic Development (Innovation Cluster). Testbed that consists of ten nodes has been configured to be integrated with the solar panels in order to replace the 3G modems provided by Mobily. Our solution was to forward all packets that come from the wired interface to the wireless interface within the hop itself without reconfiguring the solar panels itself. We configured the next hop based on a predefined routing table in a multi-hop fashion till the network gateway using our WQM technology.

Fairness in Wireless Multi-Hop The objective is to fairly allocate channel resources among WMN nodes 1,2,3. Proposed a distributed MAC layer protocol, called T-MAC, which extends Lamport s mutual exclusion algorithm to frame scheduling in WMN. Using analytical modeling of TCP streams, we derive a closed-form solution for throughput 2 T-MAC implemented in ns-3. Our results achieve fairness while maintaining high network utilization 3 1 F. Nawab, K. Jamshaid, B. Shihada, and P-H. Ho, "TMAC: Timestamp-ordered MAC for CSMA/CA Wireless Mesh Networks", In Proc. IEEE ICCCN 2011. 2 F. Nawab, K. Jamshaid, B. Shihada, and P-H. Ho, "MAC-Layer Protocol for TCP Fairness in Wireless Mesh Networks", In Proc. IEEE ICCC 2012. 3 F. Nawab, K. Jamshaid, B. Shihada, and P-H. Ho, " Fair Packet Scheduling in Wireless Mesh Networks", Elsevier Journal of Ad-Hoc Networks, Vol. 13, Part B, pp. 414-427, 2014.

Energy in Multi-Hop Networks The objective is to minimize the energy consumption at the energycritical nodes and the overall network transmission delay 1,3. The transmission rates of energycritical nodes are adjusted according to its local packet queue size. We proved that there exists a threshold type control which is optimal 1. We implemented a decentralized algorithm to control the packets scheduling of these energy-critical nodes 2,4. 1 L. Xia and B. Shihada, Decentralized Transmission Scheduling in Energy-Critical Multi-Hop Wireless Networks" in Proc. American Control Conference pp. 113-118, 2013. 2 L. Xia and B. Shihada, Max-Min Optimality of Service Rate Control in Closed Queueing Networks," IEEE Transactions on Automatic Control, Vol. 58, No. 4, pp. 1051-1056, 2013. 3 Li Xia and B. Shihada, "Power and Delay Optimization for Multi-Hop Wireless Networks," International Journal of Control, Vol. 87, No. 6, pp. 1252-1265, 2014. 4 L. Xia and B. Shihada, "A Jackson Network Model and Threshold Policy for Joint Optimization of Energy and Delay in Multi-Hop Wireless Networks", European Journal of Operational Research, Accepted, 2014

KAUST NetLab Members

Collaborators Prof. Kang Shin Prof. Pin-Han Ho Prof. Philip Levis Prof. Radu Stoleru

Concluding Remarks Challenge: Choosing the optimal queue size in wireless networks Proposed Solutions: DNB: sizing bottleneck buffers and distributing it among nodes WQM: chooses the queue size based on network load and channel condition Performance: Improvements in latency by at least 5x over default Linux buffers Feature: Improvements in network fairness by limiting the ability of a single flow to saturate the buffers 48

Questions/Comments/Feedback 49