Professional Documents
Culture Documents
250CT • Review:
Networked System Architecture – Layered software architecture
– Services and protocols
• Services vs. protocols
OSI model & Internet • ISO/OSI
• TCP/IP-the Internet
Xiang Fei • Performance
AS118
307cr 307cr
307cr 307cr
Hi, Hanna
Alice is available
5:00-6:00 pm
307cr 307cr
Network Layer Transport layer
• Transmission between • Congestion control and • End-to-end /process-to-process
devices not directly QoS provision protocol application
connected – Accept data from the upper layer transport
packets are routed from – Different address space needed network physical
data link
source to destination – Different Maximum – Pass them to the network layer physical
Transmission Unit (MTU) – Ensure that the pieces all arrive network
– Based on static tables correctly at the other end
data link
network
– Different protocols physical
data link
– Determined at the start of • Isolate the upper layer from the physical
each conversation inevitable changes in the network
data link
– Dynamically determined hardware technology physical
14
307cr 307cr
307cr 307cr
Application layer TCP/IP model
• A variety of protocols that are commonly • A suites of protocols: not a general model
used by users • ARPANET
– FTP: File Transfer Protocol – A research network sponsored by the DoD (U.S.
– HTTP: HyperText Transfer Protocol Dept. of Defence):
– DNS: Domain Name System (Service) Protocol • universities and governments
– H.323: Packet-Based Multimedia Communications – Leased telephone lines, satellite & radio
System networks connect multiple networks ?
– NTP: Network Time Protocol – Survive if some network devices get blown
– SNMP: Simple Network Management Protocol down
– SSH: Secure Shell – Flexible: various applications
–… – TCP/IP
307cr 307cr
Internet layer
TCP/IP model • Packet-switching
– Based on a connectionless internetwork layer
– Not Circuit switching
Not present in
Application Application the model – Router: store-and-forward
Presentation • entire packet must arrive at router before it can be
transmitted on next link
Session
Transport TCP/UDP • Linchpin that holds the whole architecture together
Network Internet • IP protocol
Host-to- Applications
Data Link Data Link – Official format of the IP packets
network TCP UDP
Physical Physical • Routing protocol
Data Link
L
Physical
R R R
307cr 307cr The Hourglass model
TCP/UDP The Internet
• Transport layer: end-to-end conversation
• TCP: Transmission Control Protocol • Network edge:
– A reliable connection-oriented protocol – applications and hosts
– Delivery of a byte-stream • Access networks,
• Fragmentation and reassembly physical media:
– Flow control – connects subscribers to
their immediate service
• UDP: User Datagram Protocol provider
– An unreliable connectionless protocol • Network core (back-
– Prompt delivery is more important than bone):
accurate delivery – interconnected routers
– network of networks
307cr 307cr
server,
server sendswith link
bits pipe capacity
that can carry link that
pipe capacity
can carry B
file of F bits
(fluid) into pipe R
fluid
s bits/sec
at rate c bits/sec
Rfluid at rate packets queueing
307cr
Rs bits/sec)
307cr
to send to client Rc bits/sec) free (available) buffers:
Performance – packet delay Performance – packet delay
• Four sources of packet delay
• Four sources of packet delay
transmission
A propagation
A
B
B nodal
nodal processing queueing
processing queueing
ddelay = dproc + dqueue + dtrans + dprop
ddelay = dproc + dqueue + dtrans + dprop
dtrans: transmission delay: dprop: propagation delay:
dqueue: queueing delay L: packet length (bits)
dproc: nodal processing d: length of physical link
time waiting at output link R: link bandwidth (bps)
check bit errors s: propagation speed in
for transmission
determine output link dtrans = L/R medium (~2x108 m/sec)
depends on congestion level dtrans and dprop
typically < msec dprop = d/s
of router very different
307cr 307cr
Introduction 1-25 Introduction 1-26
Summary
References
• Network system: enabling technology of the
Information Age • Peterson L. (2007) Computer Networks, A
• Network system: System Approach , Elsevier
– Complicated => layered software architecture • Tanenbaum A. S. (2004): Computer
• Services vs. protocols Networks, Prentice Hall
• OSI & TCP/IP • James F. K. and Keith W. R. (2010),
– Reference model Computer Networking: A Top-down
– Basic functionality of each layer Approach, Addison Wesley Longman
• Performance
– Bandwidth/throughput, packet loss, packet delay
307cr 307cr
Circuit Switching Circuit Switching
network resources (e.g., dividing link bandwidth
end-end resources bandwidth) divided into
reserved for “call” into “pieces”
“pieces” frequency division
link bandwidth, switch
pieces allocated to calls time division
capacity
resource piece idle if not
dedicated resources: no
used by owning call (no
sharing
sharing)
circuit-like (guaranteed)
performance
call setup required
307cr 307cr
Introduction 1-29 Introduction 1-30