Professional Documents
Culture Documents
Chapter 1:Introduction
Computer Networking: A Top Down Approach ,
4th edition. Jim Kurose, Keith Ross
applications: Involve multiple end system that exchange data with each other. Web, VoIP, email, games, ecommerce, file sharing Applications do not run on the routers Communication services provided to applications: reliable data delivery from source to destination (connection oriented) best effort (unreliable) data delivery (connection less)
Whats a protocol?
Human Protocols: whats the time? I have a question Interview Network Protocols: machines rather than humans all communication activity in Internet governed by protocols
specific msgs sent specific actions taken when msgs received, or other events
protocols define format, order of msgs sent and received among network entities, and actions taken on msg transmission, receipt
client/server model
peer-peer
Peer-Peer model:
client host requests, receives service from always-on server client/server e.g. Web browser/server; email client/server minimal (or no) use of dedicated servers e.g. Skype, BitTorrent, Kazaa
More
in Chapter 2
Network Access
Access Networks:
The physical link that connects an end system to its edge router.
edge router? Access Networks can be loosely classified into three categories
Residential access networks
Dial up, DSL etc Institutional access networks (school, company) Ethernet mobile access networks
routers the fundamental question: how is data transferred through net? circuit switching: dedicated circuit per call: telephone networks packet-switching: data sent through network in discrete chunks called packets
Hotel reservation analogy
Todays internet is a packet switched network Each end-end data stream divided into packets Each packet contains a portion of user data plus some control info. Each packet has to find its own route to the destination No predetermined path Decision as to which node to hop to in the next step is taken only when a node is reached. Resources used as needed Congestion : packets queue, wait for link use Reliability Less reliable Store and forward switching Routers receives complete packet before forwarding Question: What is Cut through Switching?
Throughput
The rate (bits/sec) at which bits are transferred
between sender/receiver Difference between Bandwidth and Throughput? ISPs sell bandwidth In computer networks, the throughput is less than the bandwidth for several reasons The channel may be shared by other users Packet loss due to congestion Packet loss due to bit errors Noise in the channel Transmission rates of the link over which the data flows. What is Goodput?
Throughput
Rs
Rs
Throughput
10 clients/servers pairs,
Common link R traversed by
all 10. Rate of the link R is very large then the throughput is min {Rs , Rc} Rs=2Mbps, Rc=1Mbps, R=5Mbps Common link divides transmission rate equally among the 10 downloads
Rs
Rs
R Rc Rc
Rs
Rc
bottleneck.
B packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers
Time waiting at output link for transmission depends on congestion level of router If queue empty no delay Microseconds to milliseconds
propagation
B processing
queueing
4. Propagation Delay: Time to propagate from the beginning of the link to the other router (node) propagation delay = d/s d = length of physical link s = propagation speed in medium (~3x108 m/sec)
propagation B
nodal processing
queueing
Nodal delay
d nodal d proc d queue d trans d prop
dproc = processing delay
typically a few microsecs or less dqueue = queuing delay depends on congestion dtrans = transmission delay = L/R dprop = propagation delay microsecs or msecs
Queuing Delay
When is Queuing Delay large and
when it is insignificant?
L=packet length(bits)
rate(packets/sec) Traffic Intensity = (Average rate at which bits arrive at the queue) =La Transmission Rate R La/R ~ 0: average queuing delay small La/R -> 1: delays become large (queue begins to get larger) La/R > 1: average rate at which bits arrive at the queue exceeds the rate at which the bits can be transmitted from the queue. more work arriving than can be serviced Packet Loss will occur
Queuing Delay
Consider the case La/R1 Nature of arriving traffic impacts queuing delay in such a case
In reality the arrival process to a queue is random and arrivals do not follow any pattern.
(Find about Queuing Theory?)
Protocol Layers
Networks are complex! many pieces: hosts routers links of various media applications protocols hardware, software
Question:
Is there any way of organizing network architecture?
Answer:
baggage (check)
gates (load) runway takeoff airplane routing
airplane routing
airplane routing
A series of steps(actions)
ticket (complain) baggage (claim gates (unload) runway (land) airplane routing airplane routing airplane routing
arrival airport
Airline functionality can be divided into layers, providing a frame work in which we can discuss air travel. At the ticketing layer and below Airline-counter-to-airline-counter transfer of a person. At the gate layer Departure-gate to-arrival-gate transfer of a person is accomplished Layers: each layer implements a service via its own internal-layer actions Combined with the services directly below it
Why layering?
Dealing with complex systems: Discuss a well defined, specific part of a large and complex system Modularization eases maintenance, updating of system Change of implementation of layers service transparent to rest of system e.g. change in gate procedure doesnt affect rest of system