Beruflich Dokumente
Kultur Dokumente
Recitation: Towne 307, Friday 5pm-6pm Project presentations: Towne 309, Thursday 5pm-6pm (after 11/03/11)
Course grading
Homeworks (5%) Low weight, but dont do them at your own risk
On average one new homework every week Due at beginning of class (no late homework unless agreed upon in advance)
Gradually increasing penalty (-0pts, -5pts, -10pts, -10pts, )
More on Policies
Please review Penns Code of Academic Integrity at http://www.vpul.upenn.edu/osl/acadint.html Collaboration
Permitted on homeworks, but what you turn in must be yours No verbatim copies!
Grade of zero for first homework violation; course grade of F for repeat offense
Exams
Obviously, no collaboration is allowed during exams! They are open-book and brand new every year Access to soft copies during exams is allowed, but Internet access is prohibited
Violations of the courses collaboration policy will be punished by an F in the class and immediate referral to the Office of Students Conduct for further action 4
Courses Goals
To give you an understanding of the various components involved in realizing modern communication systems and the trade-off they embody
Generating and receiving bits, and protecting them from errors or malicious users Connecting devices and allowing them to deliver bits to an increasingly large number of systems Quantifying the performance of different system and technologies, and the associated trade-offs
5
This being said, this is only an introduction to Networks and Protocols, so we will only be able to scratch the surface
Important: In order to maximize the odds that these objectives can be successfully met, please ASK QUESTIONS
Reading Assignment
Textbook: Chapter 1
Sections 1.1-1.3 Section 1.5 Section 1.4 (optional)
Marsic online book: Section 1.1 (optional) Bonaventure online book: Chapter 2 (optional)
7
What are the core technologies behind the Internets content delivery abilities?
How does data get delivered back and forth to ensure smooth video delivery?
The Internet
Jane
R1
9
R2
The Internet
Jane
R1
10
Local Delivery
From Jane to R1 MAC layer forwarding (IP packet in MAC layer frame) R2
The Internet
Jane
R1
11
The Internet
Jane
R1
12
Local Delivery
From R2 to CNN server MAC layer forwarding (IP packet in MAC layer frame) R2
The Internet
Jane
R1
13
Our Scope
Well look at both the protocols involved in realizing content delivery, and the factors that influence the performance of this delivery As a preview: Two examples of issues associated with the latter
Downloading large files Streaming real-time data, e.g., audio/video
14
File
1Gbps 1s
R1 10Gbps 3ms
R2 10Gbps 3ms
R3
5Mbps
1s
Download time calculation 1st packet: Starts at t=0 and arrives at R3 at t1=12,000/109+1s+12,000/1010+3ms+12,000/1010+3ms=6.0154ms later From this point onward R3 transmits non-stop until the whole file has been sent (subsequent packets arrive faster than they are transmitted at 5Mbps) Last (85,000th) packet: - Departs R3 at tL=6.0154ms+85,000x12,000/5x1061.026sec - Arrives at destination 1s later Note: - No lost or erroneous packets - Bottleneck link (5Mbps) dominates the delay - Assumes R3 can store most of 1GB file - No TCP like congestion/flow control (non-stop transmissions by sender)
15
1s
8kbps and 120Bytes pkts (100B payload +20B header)
1s
Delay time calculation Packetization delay (time to generate one packet worth of bits) - 800bits/8kbps = 100ms Transmission delay - t = 960/108+1s+960/1010+3ms+960/1010+3ms+960/5x106+1s6.2ms Playback delay (data not played immediately when received to avoid gaps in case the next packet is late, e.g., because of network congestion) - (k-1)x100ms, where k is number of packets at received before playback Note: - Delay dominated by packetization/playback delay - And (possibly) bottleneck link (5Mbps)
16
Why Layers?
Application Presentation Session
Avoid duplication of functionality Facilitate evolution (modular) Shield upper layers from details and differences of lower layers
Application
Presentation Session
Transport
Network Network Data Link Physical
Network
Network Data Link Physical
Data Link
Physical
Our Focus
End-System End-System
Application Presentation Session Transport Network Data Link Network Data Link Physical Application
Presentation Session
Network
Network Data Link Physical
Physical
18
The Internet
R1
Jane
19
Host Interfaces
Host 1 Host 2
High-lev el object
High-lev el object
Protocol
Protocol
20
Protocol Machinery
Applications select services based on their needs
Services are invoked through well-defined interfaces Services provide specific functionality, e.g., reliability, timing, etc.
Services can invoke other services (a nested set of interactions)
Internet
21
The Internet
Jane
R1
22
23
24
? ?
25
Course Coverage
The local view
Dealing with bits (phy. layer)
Generating and receiving bits Detecting and correcting errors Framing bits into packets
Securing information
Encryption and authentication Protecting access to information (firewalls)
26