Top Banner
1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary
27

1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

Dec 18, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

1

Network Measurements of a Wireless Classroom Network

Carey Williamson Nuha Kamaluddeen

Department of Computer ScienceUniversity of Calgary

Page 2: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

2

Introduction Wireless technologies are prevalent

today; continued growth in popularity Example: IEEE 802.11b 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

Page 3: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

3

Infrastructure Mode

Carey

Internet

Access Point (AP)

cnn.com

Page 4: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

4

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?

Page 5: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

5

Portable Network (1 of 2)

CareyAccess Point (AP)

mystuff.com

Page 6: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

6

Portable Network (2 of 2)

Carey

mystuff.com

Page 7: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

7

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

Page 8: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

8

Example Usage Scenarios

Classroom area network (e.g. “legacy classroom”)

Press conferences, media events Conventions and trade shows Disaster recovery sites Recruiting events Schools Voting...

Page 9: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

9

Classroom Experiment

Winter 2003 CPSC 641 graduate course at U of C

(Performance Issues in High Speed Networks) Course content available online Mirrored copy of Web site provided in

classroom using wireless Web server Students download desired content Review lecture notes Begin work on assignment (large trace file)

Page 10: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

10

Experimental Setup

IEEE 802.11b wireless LAN Ad hoc mode Web server (Apache) 13 students, sharing

6 laptops and 2 PDAs Wireless network analyzer

Web Server Sniffer

Page 11: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

11

Results Analysis Overview

Aggregate traffic profile Per-client traffic profile

TCP-level analysis TCP connection-level statistics Throughput analysis

HTTP-level analysis Web user behaviour Persistent HTTP connections

Page 12: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

12

Aggregate Traffic Profile (Feb’03)

Aggregate Packets Transmitted on WLAN

0

100

200

300

400

500

600

700

800

Time in Seconds

Pa

cke

ts p

er

1 se

c In

terv

al

0 1400

Page 13: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

Packets Transmitted by Client IP 200

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Packets Transmitted by Client IP 204

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Packets Transmitted by Client IP 207

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Packets Transmitted by Client IP 212

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Packets Transmitted by Client IP 220

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Packets Transmitted by Client IP 208

0

100

200

300

400

500

600

700

Time in Seconds

Pa

cke

ts p

er

1 s

ec I

nte

rva

l

Per-Client Traffic Profiles

Page 14: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

14

TCP-level Analysis

Trace file Info about each TCP/IP packet

exchanged 1400 seconds (~ 23 minutes) 262 TCP connections observed

Page 15: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

15

Tutorial: HTTP and TCP

TCP is a connection-oriented protocol

SYN

SYN/ACK

ACKGET URL

YOUR DATA HERE

FINFIN/ACK

ACK

Web Client Web Server

Page 16: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

Example Web Page

Harry Potter Movies

As you all know,the new HP moviecame out in Juneand then there willbe a new bookshortly after that…

“Harry Potter andthe Bathtub Ring”

page.html

hpface.jpg

castle.gif

Page 17: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

Client Server

The “classic” approachin HTTP/1.0 is to use oneHTTP request per TCPconnection, serially.

TCP SYN

TCP FIN

page.htmlGet

TCP SYN

TCP FIN

hpface.jpgGet

TCP SYN

TCP FIN

castle.gifGet

Page 18: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

Client Server

The “persistent HTTP”approach can re-use thesame TCP connection forMultiple HTTP transfers,one after another, serially.Amortizes TCP overhead,but maintains TCP statelonger at server.

TCP FIN

Timeout

TCP SYN

page.html

Get

hpface.jpg

Get

castle.gif

Get

Page 19: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

19

TCP – Connection Duration

56% lasted < 10 seconds

Some lasted > 3 minutes

Page 20: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

20

TCP – Number of Packets

Page 21: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

21

TCP – Number of Bytes

92% transferred less than 2 MB

One connection transferred 50 MB Contributed 20%

of total traffic! Heavy-tailed

behaviour

Page 22: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

22

TCP – Connection Throughput

Page 23: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

23

HTTP Requests per TCP Conn.

Persistent connection Download multiple

HTTP objects in one TCP connection

Most TCP connections are non-persistent, but most HTTP transfers are on persistent connections

Heavy-tailed or power-law behaviours

Page 24: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

24

HTTP – Number of Packets

Page 25: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

25

HTTP – Number of Bytes

Up to 24 MB

Majority transferred < 2 KB

Page 26: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

26

HTTP Transfer Throughput

Higher average than TCP connection throughput

Page 27: 1 Network Measurements of a Wireless Classroom Network Carey Williamson Nuha Kamaluddeen Department of Computer Science University of Calgary.

27

Summary and Conclusions

Portable networks: a novel paradigm for the use of wireless ad hoc networks

Adequate performance for small WLAN classroom area network environment

Works well even for wireless media streaming of audio and video with up to 8 clients (French 217, March 2004)

Future work: exploring other scenarios using this networking paradigm