LANs, Aloha Net
- LANs
- LAN Technologies
- Performance
- Other characteristics
- Aloha Net
- History
- Performance
- Current Applications
LANs
- Local Area Networks
- Ethernet:
- 10 Mb/s
- 100 Mb/s
- 1 Gb/s
- Shared
- Switched
- Token Ring
- FDDI
- (ATM)
Local Area Networks
- Same building
- Up to a few 100 m (Ethernet) or km (FDDI)
- Up to a few hundred hosts
- Different LANs interconnected by switches or hosts
- Physical Layer: Fiber, twisted pair (CAT5?), coaxial
- Generally, logically shared medium: every computer sees
every message.
- MAC (Media Access Control): provide point-to-point connection
functions over shared medium (discards packets not for us)
- LLC (Logical Link Control) may provide reliability or error checking
LAN Performance
- Throughput: B b/s
- Latency: d s
- Total delay to transfer b bits is d + b/B.
- Example: B = 10 Mb/s, d = 40ms, transfer time for
10 MB = 80 Mb is
t = 40 ms + 80,000,000 b/10,000 b/ms = 8,040 ms.
- Example: B = 10 Mb/s, d = 40ms, transfer time for
10 KB = 80 Kb is
t = 40 ms + 80,000 b/10,000 b/ms = 48 ms.
- Examples assume delay due to computers is either negligible,
or included in d.
- Note: throughput shared (assume equally) by all active hosts
on a network.
Typical LAN Performance
- 10 Mb/s shared Ethernet: B = 8 Mb/s, d = 0.1-40 ms
- 10 Mb/s switched Ethernet, n hosts: B = 10n Mb/s,
d = 0.1-10 ms
- 100 Mb/s shared Ethernet: B = 60 Mb/s, d = 0.01-4 ms
- 100 Mb/s switched Ethernet, n hosts: B = 100n Mb/s,
d = 0.01-.4 ms
- FDDI: B = 100 Mb/s, d = 0.01-50 ms
Other LAN characteristics
- What wires/fibers does it use?
- Security: shared media are easy to snoop, switched is harder,
fiber is harder.
- Reliability: what happens if a link goes down? FDDI works well,
Ethernet may work well.
- Manageability: how hard is it to find a problem? Ethernet
works well, FDDI may be harder.
Aloha Net
- Precursor to Ethernet
- University of Hawaii at Manoa
- Norm Abrahmson
- Connection to stations on other islands
- Radio based
- Base station and other stations
- Different frequencies for transmission from outlying to base station
and from base station to other stations
Aloha Net
Figure 4.17
Aloha collisions
- No collision between incoming and outgoing (different frequencies)
- Possible collision between incoming packets
- No collision detection possible:
- transmitter has finished sending before it can get the colliding
packet
- transmitter isn't even listening on that frequency
- Base station detects collision by garbled packets
- Senders eventually time out and retransmit
Aloha protocols
- Slotted: transmission can only begin at time nT, where T is the
slot duration (requires transmitter synchronization)
- Pure Aloha: transmission can begin any time
- Distinction: pure Aloha offers more possibility for collision,
achieves lower throughput
- Aloha performance is great when only one outlying station is
transmitting
- Aloha performance is terrible if many stations are trying to
transmit at once.
- Aloha with reservations: use a separate channel or a distinct
time slot to "reserve" slots
Aloha performance
- Note no collision and 100% utilization on the channel from
the base to the outlying stations.
- Book states Pure Aloha throughput is at most 18% of bandwidth,
Slotted Aloha throughput is at most 36% of bandwidth,
- Assumptions:
- very large number n of stations
- at any time t, each station transmits independently with
identical probability p
- adjust p to obtain maximum performance
Aloha uses
- Voice over satellite transmissions
- Satellite is base station
- Ground stations are outlying stations
- Ground stations may transmit at the same time, packets may collide
- No possibility of collision detection
- Aloha used for control channel (used to allocate/manage voice channels)
Project 1 Submission
- run ~sunx/public_html/ics/ics451/Project_1/client
- enter your ID number (last 4 digits only)
- enter the names of your source files
- files must be publicly readable
- automatic testing not implemented yet (Friday?)