lec1
lec1
Vivek Pai
Outline
Statistical Multiplexing
Inter-Process Communication
Network Architecture
Performance Metrics
Implementation Issues
– multiple access
…
L1 R1
L2 R2
Switch 1 Switch 2
L3 R3
Host
Channel
Application
Host Host
Application programs
Request/reply Message stream
channel channel
Host-to-host connectivity
Hardware
Service
High-level High-level
object interface object
Protocol Protocol
Peer-to-peer
interface
HHP HHP
Data Data
RRP RRP
HHP HHP
TCP UDP
IP
Application Application
Presentation Presentation
Session Session
Transport Transport
• Infinite bandwidth
– RTT dominates
• Throughput = TransferSize / TransferTime
• TransferTime = RTT + 1/Bandwidth x TransferSize
– 1-MB file to 1-Gbps link as 1-KB packet to 1-Mbps link
Bandwidth
• Sending/Receiving Messages
int send(int socket, char *msg, int mlen, int flags)
int recv(int socket, char *buf, int blen, int flags)
• Process Model
– avoid context switches
• Buffer Model
– avoid data copies