1 Portable Networks: Prototype and Performance Carey Williamson Guangwei Bai and Kehinde Oladosu Dept of Computer Science University of Calgary.

Slides:



Advertisements
Similar presentations
Web Server Benchmarking Using the Internet Protocol Traffic and Network Emulator Carey Williamson, Rob Simmonds, Martin Arlitt et al. University of Calgary.
Advertisements

Lecture 5: IEEE Wireless LANs (Cont.). Mobile Communication Technology according to IEEE (examples) Local wireless networks WLAN a.
Network Certification Preparation. Module - 1 Communication methods OSI reference model and layered communication TCP/IP model TCP and UDP IP addressing.
CSE534 – Fundamentals of Computer Networks Lecture 11: HTTP/Web (The Internet’s first killer app) Based on slides from Kurose + Ross, and Carey Williamson.
November 26, 2002TeleSim Research Group1 Performance and Robustness Testing of Wireless Web Servers Guangwei Bai Kehinde Oladosu Carey Williamson.
University of Calgary – CPSC 441
September 9, Wireless Internet Performance Research Carey Williamson iCORE Professor Department of Computer Science University of Calgary.
IEEE b Wireless LANs Carey Williamson Department of Computer Science University of Calgary.
Multi-Layer Analysis of Web Browsing Performance for Wireless PDAs Adesola Omotayo & Carey Williamson June 1, 2015.
1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.
1 Wireless Internet Performance Research Carey Williamson iCORE Professor Department of Computer Science University of Calgary
Media Streaming Performance in a Portable Wireless Classroom Network Presenter: Jean Cao Supervisor: Carey Williamson TRLabs & Dept. of Computer Science.
Wireless Local Area Networks By Edmund Gean August 2, 2000.
Diagnosing Wireless TCP Performance Problems: A Case Study Tianbo Kuang, Fang Xiao, and Carey Williamson University of Calgary.
Performance of DS-CDMA Protocols in Wireless LANS M.Parikh, P.Sharma, R.Garg, K. Chandra, C. Thompson Center for Advanced Computation and Telecommunications.
Fair Sharing of MAC under TCP in Wireless Ad Hoc Networks Mario Gerla Computer Science Department University of California, Los Angeles Los Angeles, CA.
Signal-Strength-Aware Routing in Ad hoc Networks Abhinav Gupta Ian Wormsbecker Carey Williamson Dept. of Computer Science University of Calgary.
1 Introduction to Wireless Networks Michalis Faloutsos.
1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may be stationary (non- mobile) or.
IEEE b Wireless LANs Carey Williamson Department of Computer Science University of Calgary.
HTTP and TCP: A Review Carey Williamson iCORE Chair and Professor Department of Computer Science University of Calgary.
Network Layer4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side,
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Copyright © 2005 Department of Computer Science CPSC 641 Winter Tutorial: TCP 101 The Transmission Control Protocol (TCP) is the protocol that sends.
1 WAN Measurements Carey Williamson Department of Computer Science University of Calgary.
TCP Behavior across Multihop Wireless Networks and the Wired Internet Kaixin Xu, Sang Bae, Mario Gerla, Sungwook Lee Computer Science Department University.
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
Chapter 5 outline 5.1 Introduction and services
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
CS640: Introduction to Computer Networks Aditya Akella Lecture 22 - Wireless Networking.
Unwanted Link Layer Traffic in Large IEEE Wireless Network By Naga V K Akkineni.
Local Area Network By Bhupendra Ratha, Lecturer
Maintaining Performance while Saving Energy on Wireless LANs Ronny Krashinsky Term Project
Protocol(TCP/IP, HTTP) 송준화 조경민 2001/03/13. Network Computing Lab.2 Layering of TCP/IP-based protocols.
IEEE b Wireless LANs Ruiting Zhou Department of Computer Science University of Calgary Slides are from CPSC 641 by Prof. Carey Williamson.
K. Salah 1 Chapter 15 Wireless LANs. K. Salah 2 Figure 15.1 BSSs IEEE Specification for Wireless LAN: IEEE , which covers the physical and data.
TCP1 Transmission Control Protocol (TCP). TCP2 Outline Transmission Control Protocol.
Performance of HTTP Application in Mobile Ad Hoc Networks Asifuddin Mohammad.
Effects of Multi-Rate in Ad Hoc Wireless Networks
A Measurement Based Memory Performance Evaluation of High Throughput Servers Garba Isa Yau Department of Computer Engineering King Fahd University of Petroleum.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Ethernet Network Fundamentals – Chapter 9.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
CSC 581 Communication Networks II Chapter 6c: Local Area Network (Wireless LAN – ) Dr. Cheer-Sun Yang.
Chapter 6 Medium Access Control Protocols and Local Area Networks Wireless LAN.
Measuring the Capacity of a Web Server USENIX Sympo. on Internet Tech. and Sys. ‘ Koo-Min Ahn.
WIRELESS COMMUNICATION Husnain Sherazi Lecture 1.
CPSC 4411 CPSC 441: Computer Communications Carey Williamson Department of Computer Science University of Calgary.
Wireless Protocols. 2 Outline MACA 3 ISM: Industry, Science, Medicine unlicensed frequency spectrum: 900Mhz, 2.4Ghz, 5.1Ghz, 5.7Ghz.
CPSC TCP Plots r Slides originally from Williamson at Calgary r Minor modifications are made.
Distributed-Queue Access for Wireless Ad Hoc Networks Authors: V. Baiamonte, C. Casetti, C.-F. Chiasserini Dipartimento di Elettronica, Politecnico di.
Wireless LAN Requirements (1) Same as any LAN – High capacity, short distances, full connectivity, broadcast capability Throughput: – efficient use wireless.
COMP2322 Lab 1 Introduction to Wireless LAN Weichao Li Apr. 8, 2016.
IEEE Wireless LAN. Wireless LANs: Characteristics Types –Infrastructure based –Ad-hoc Advantages –Flexible deployment –Minimal wiring difficulties.
Ad Hoc – Wireless connection between two devices Backbone – The hardware used in networking Bandwidth – The speed at which the network is capable of sending.
Fundamentals of Information Systems, Sixth Edition
Computer Communication Networks
CS 457 – Lecture 7 Wireless Networks
WiFi Networks: IEEE b Wireless LANs
Computer Communication & Networks
IEEE Wireless LAN wireless LANs: untethered (often mobile) networking
TCP Sequence Number Plots
CPSC 641: WAN Measurement Carey Williamson
Chapter 6 Medium Access Control Protocols and Local Area Networks
HTTP and TCP Carey Williamson Department of Computer Science
Enhanced MAC proposal for high throughput.
Introduction to Wireless Networks
Is the MAC sufficient for wireless high speed mesh LANs?
Carey Williamson Department of Computer Science University of Calgary
Carey Williamson Department of Computer Science University of Calgary
WiFi Networks: IEEE b Wireless LANs
Presentation transcript:

1 Portable Networks: Prototype and Performance Carey Williamson Guangwei Bai and Kehinde Oladosu Dept of Computer Science University of Calgary

2 Introduction Wireless technologies are prevalent today; continued growth in popularity Example: IEEE b WLAN (“WiFi”) Economical, convenient, flexible solution for tetherless network access (11 Mbps) Enabler for mobile computing Two possible modes of usage: Infrastructure mode Ad hoc mode 2/36

3 Example: Infrastructure Mode Carey Internet Access Point (AP) cnn.com

4 Example: Ad Hoc Mode Multi-hop “ad hoc” networking Carey Mike

5 Example: Ad Hoc Mode Multi-hop “ad hoc” networking Carey Mike

6 Example: Ad Hoc Mode Multi-hop “ad hoc” networking Carey Mike

7 Example: Ad Hoc Mode Multi-hop “ad hoc” networking Carey Mike

8 Motivation Observation: The same wireless technology that allows clients to be mobile also allows servers to be mobile Hybrid networking paradigm, combining client-server and ad hoc networking, without general Internet infrastructure Portable, short-lived, ad hoc networks “Portable networks” Is this useful? How well does it work? 8/36

9 Portable Network (1 of 2) Carey Access Point (AP) mystuff.com

10 Portable Network (2 of 2) Carey mystuff.com

11 Portable Networks Concept Set up when needed, tear down after Typically needed for minutes or hours When and where not known a priori No existing network infrastructure General Internet access not available, but not required either Pre-defined content; target audience Modest number of users; mobile too

12 Example Usage Scenarios #1 Classroom area network (e.g. “legacy classroom”) Press conferences, media events Conventions and trade shows Disaster recovery sites Recruiting events Schools Voting...

13 #2 Wireless Media Servers

14 #3 Wireless Gaming Multi-player gaming over an ad hoc wireless network

15 #4 Home Networking Even for homes without Internet access, wireless media servers and ad hoc networks could be quite useful Possible usage scenarios: use PDA to read recipe while in the kitchen page your kids for supper time work while on your back porch (backups) music in any room of the house portable media player for parties family gaming fun

16 Research Objectives Assess feasibility of portable networks Benchmark the capabilities and limitations of wireless Web servers in an IEEE b Wireless LAN Identify performance bottlenecks Understand sensitivity of performance to different workload assumptions Understand impacts of wireless network channel quality and error rates 16/36

17 Experimental Setup wireless sniffer clientsserver... SnifferPro 4.6 Apache httperf  Empirical measurement methodology Network: In-building 11 Mbps IEEE b wireless LAN, operating in ad hoc mode (single hop; no mobility) Hardware: Compaq Evo N600c notebooks (1.2 GHz Pentium III, 128 MB RAM, 512 KB L2 Cache, Cisco Aironet 350 network cards Software: Redhat Linux 7.3 (kernel ), Apache, SnifferPro, httperf for Web workload generation

18 Tutorial: HTTP and TCP TCP is a connection-oriented protocol SYN SYN/ACK ACK GET URL YOUR DATA HERE FIN FIN/ACK ACK Web ClientWeb Server

Example Web Page Harry Potter Movies As you all know, the new HP book will be out in June and then there will be a new movie shortly after that… “Harry Potter and the Bathtub Ring” page.html hpface.jpg castle.gif

Client Server The “classic” approach in HTTP/1.0 is to use one HTTP request per TCP connection, serially. TCP SYN TCP FIN page.html Get TCP SYN TCP FIN hpface.jpg Get TCP SYN TCP FIN castle.gif Get

Client Server Concurrent (parallel) TCP connections can be used to make things faster. TCP SYN TCP FIN page.html Get castle.gif Get F S hpface.jpg S F C S C S

Client Server The “persistent HTTP” approach can re-use the same TCP connection for Multiple HTTP transfers, one after another, serially. Amortizes TCP overhead, but maintains TCP state longer at server. TCP FIN Timeout TCP SYN page.html Get hpface.jpg Get castle.gif Get

23 Benchmarking Experiments Factor Levels Number of Clients 1, 2, 4 HTTP Transaction Rate (per-client)10, 20, 30, …, 160 HTTP Transfer Size (KB)1, 2, 4, 8, …, 100 Persistent Connectionsno, yes HTTP Requests per Connection1, 5, 10, 15, …, 60 Transmit Power (mW)1, 5, 20, 30, 50, 100 Client-Server Distance (m)1, 10, 100 Experimental Factors and Levels Performance Metrics: HTTP response time, network throughput 23/36

24 What is the range of sustainable load? Design: Number of Client: 1 HTTP request rate (req/sec): 10, 20, …, 160 HTTP transfer size: 1 KB Non-persistent HTTP Client-server distance: 1 meter (same desk) Research Question

25 Request Rate Results Transmit Queue Length Transmitted Packet ID (b) Client Transmit Queue Transaction Rate (req/sec) Request Rate (req/sec) (a) Successful HTTP Transaction Rate - Maximum sustainable 1 KB HTTP transaction rate for 1 client is about 85 reqs/sec (throughput about 0.9 Mbps) - Beyond this request rate, the client link-layer transmit queue builds up and overflows, losing packets even before they get onto the wireless LAN! - Wireless LAN is bottleneck (802.11b channel access protocol)

CSMA-CA + Acknowledgement Carrier Sense Multiple Access with Collision Avoidance * SIFS - Short Inter-Frame Space (approx 28 µs) Every frame is ack’ed - except broadcast and multicast! “Air” is free for DIFS time period (128 usec) Receive ACK back that frame was received intact! send frame source destination others DIFS SIFS All other devices must defer while “air” is busy data ack NAV: defer access

IEEE b Frame Format Long Preamble = 144 bits Interoperable with older devices Entire Preamble and 48 bit PLCP Header sent at 1 Mbps 128-bit Preamble (Long) 16 bit Start of Frame Delimiter Signal Speed 1,2,5.5,11 Mbps Length of Payload 16 bit CRC Payload bytes Transmitted at 1 MbpsTransmitted at X Mbps DLL HDR (IP TCP HTTP Data)

28 Research Question Does persistent HTTP help? Design: Number of Clients: 1, 2 HTTP request rate: 10 req/sec HTTP transfer size: 1 KB Persistent HTTP Client-server distance: 1 m (same desk)

29 Results for Persistent Connections  Peak throughput: 3.2 Mbps, 3.5x improvement over non- persistent connection case (0.9 Mbps) for 1 KB transfers  Typically 2 TCP packets per HTTP transaction (vs 10) Throughput (Mbps) HTTP Req/Connection YES!

30 Research Question What is maximum throughput achievable? Design Number of Client: 1 HTTP request rate: 10 req/sec HTTP transfer size (KB): 1, 2, 4, 8, … Non-persistent HTTP Client-server distance: 1 m (same desk)

31 Transfer Size Results TCP Connection Duration (sec) Connection ID Frequency (%) Duration (Sec) 48 KB: Mean Duration: 97 ms Throughput: 4.1 Mbps  bottleneck shifts to the server’s link layer transmit queue 8 KB: Mean Duration: 24 ms Throughput: 2.9 Mbps 1 KB: Mean Duration: 9.7 ms Throughput: 0.9 Mbps

32 Classroom Experiments (Feb’03) /36

34 Summary of Results Wireless Web servers can work! Wireless LAN is the bottleneck Bottleneck manifests itself differently, depending on the Web workload client side, for small HTTP transfers server side, for large HTTP transfers unfairness amongst clients if TCP SYN losses network thrashing in some scenarios Persistent HTTP helps a lot!

35 Conclusions Portable networks: a novel paradigm for the use of ad hoc networks Reasonable performance with existing off-the-shelf hardware and software Performance bottleneck at the WLAN manifests itself in interesting ways IEEE a (55 Mbps) may help Need to explore novel scenarios for the use of this networking paradigm

36 The End Thanks for your attention! Credits: Guangwei Bai Kehinde (Kenny) Oladosu More info: Questions?