1 / 50

Communication Network

Communication Network. Steven Low CS & EE Depts, Caltech Oct 1, 2001. Outline. Information revolution 3 circles of impact Network growth 4 driving forces. Technological Revolutions. 1780s - 1840s Steam power 1840s - 1890s Railway 1890s - 1930s Electricity 1930s - 1980s Car

sagira
Download Presentation

Communication Network

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Communication Network Steven Low CS & EE Depts, Caltech Oct 1, 2001

  2. Outline • Information revolution • 3 circles of impact • Network growth • 4 driving forces

  3. Technological Revolutions 1780s - 1840s Steam power 1840s - 1890s Railway 1890s - 1930s Electricity 1930s - 1980s Car 1980s - Information Technology (IT) IT : processing, storage & communication of info (flight reservation, ID database, telephone, ...)

  4. Core IT IT-using Industries Economic & Social life Circles of Impact Core IT: computer, communication technologies IT-using Industries: corporations, governments, institutions Economic & Social life: how we live, work, play & interact

  5. 1st Circle: Core IT Moore’s Law Computing power doubles every 18 months Computing power 1972 - 97: 1,000 times log scale Computing cost: -30%/yr 1995 cost = 0.01% of 1970s time

  6. Advances in Computer 1945 Computer (US) 1947 Transister (Bell Labs) 1971 Microprocessor (Intel) 1982 PC (IBM) 1970s: 5,000 computers worldwide 1996: 140M (US: 35 comp / 100 people AU: 27 comp / 100 people) 28,000 times / 25 years

  7. Advances in Communication 1876 Telephone (Alexander G. Bell) 1890 Telephone network 1920s Fax, movie transmission (BL) 1940s Mobile phone (1983 cellular, BL) 1958 Laser (BL) 1969 Internet 1980s Digital transmission, optical fiber 1990s WWW

  8. Advances in Communication Telephone Network: 1960s Undersea cable carries 138 calls 1996 Fiber optic cable carries 1.5M calls 10,000 times / 35 yreas Data Network: 1969 4 hosts on Internet 1983 500 hosts 1995 4.5M hosts, 30M users 10,000 times / 12 years

  9. Analogy: Car If car technology has been advancing as fast: • US$ 5 /car [US$ 25,000 /car] • 100 km / lt [8 km / lt]

  10. 2nd Circle: IT-using • Diffusion of IT technology in industry • US investment in computers rising at 20-30%/year • 1970: 7%, 1996: 40% • Before early 1980s, AT&T has little presence outside US By late 1990s, Bell Labs in Netherland, China, etc • Networking allows organizations to coordinate their decisions & activities globally. Fig. 5, Economist, survey 28/9/1996

  11. Trade & Investment • Globalization 1986 - 96 Int’l trade grew twice as fast as output Foreign direct investment 3 times 1996 Foreign exchange trading US$1.3 tr/day Global cross-border transactions in bond & equity: 1970: 3% US GDP 1995: 136% US GDP

  12. “Little Productivity Gain” • Productivity gain (output/worker, big-7 avg) • 1960 - 73 : 4.5% • 1973 - 95 : 1.5% • Two reasons: • measurement error • time to learn and change

  13. Measurement Error • Service industry exceeds agricultural & mining industries • US workers in agriculture • 1820: 75% • 1996: 3% • Easy to measure agriculture & manufacturing outputs • Productivity gain has been quite significant • Difficult to measure service “output”

  14. Learning & Diffusion Time • Time to learn to use technology • Time to reorganize economic & societal activities • Time for technology to mature & diffuse Example: Car 1877 Internal-combustion engine patented 1925 Different city planning conceptualized 1960s Large shopping malls along highway 50 yrs of learning & diffusion 40 yrs of reorganizing

  15. Learning & Diffusion Time Example : Electricity 1880s Electro dynamo 1899 Electricity < 5% of power in US 1919 Electricity ~50% of power in US 40 yrs to mature and diffuse Before: machines around water wheels & steam engines After: assembly lines to optimize work flow

  16. 3rd Circle: Social Life • Social & Economic Life • Globalization of culture • More intrusive government • Breakdown of monopoly of propaganda • Cultural islands • 30M users on Internet in 1995 • USENET: 10M news articles/month • 3M Web pages in 18 months to 7/95 • March 97: of 220M people >16 in US & Canada 23% (50M) use Internet 17% (37M) on Web

  17. Summary • IT : processing, storage & communication of information • Information Revolution • Core IT industries • IT-using industries • Social & economic life • Communication networks : key sector of IT

  18. Outline • Information revolution • 3 circles of impact • Network growth • 4 driving forces

  19. Networks Industry US Communications Industry (1994) Telephone US$ 200 B/yr Computer 80 Newspaper 60 Broadcasting 50 Books 15 US$ 400 B/yr Networks : 70% of communications industry

  20. Communication Services Voice Telephone (wired & mobile), Pager, Radio Image Fax, WWW Data Fax, Email, WWW Multimedia TV, Tele-conferencing, Video-conferencing, VoD

  21. Network Growth Factors promoting network growth Digitization Economy of scale Network externalities Service integration

  22. S -> E E -> S t t Transmitted signal Received signal Analog Transmission Telephone

  23. 11 10 01 00 00 10 11 10 01 01 10 11 A/D D/A t t Digital Transmission • Digitization (Analog -> Digital) • Digital transmission • Reconstruction (Digital -> Analog) 10111001011011

  24. Digitization Nyquist’s Samplilng Theorem Sampling rate > 2 x max frequency e.g. Sinusoidal signal of freq w ==> sampling rate = 2w samples/sec Voice max freq = 4 kHz ==> sampling rate = 8 samples/sec

  25. Digitization Quantization Error SNR due to quantization ~ 6N dB (SNR = 100.6N, N = bits/sample) e.g. Telephone voice 48 dB Low quality cassette 55 High quality cassette 68 CD 96

  26. Digital Data Voice Max freq = 4 kHz ==> sample @ 8000 sample/sec Req SNR = 48 dB ==> N = 48/6 = 8 bits/sample Uncompressed digital voice: 8k x 8 = 64 kbps CD Max freq = 20 kHz ==> sample @ 40,000 samples/sec Req SNR = 96 dB ==> N = 96/6 = 16 bits/sample Uncompressed stereo CD: 40k x 16 x 2 = 1.3 Mbps 70-min CD stores 1.3M x 70 x 60 / 8 = 682.5 MB NTSC TV Max freq = 4.5 MHz ==> sample @ 9 M sample/sec Req SNR = 48 dB ==> N = 48/6 = 8 bits/sample Uncompressed NTSC TV: 9M x 8 = 72 Mbps

  27. t t 1 0 1 1 0 1 1 0 1 1 0 1 Advantages of Digitization • Low transmission error (esp long distance) • Compression, error correction, signal processing UncompressedCompressed Voice 64 kbps 16 kbps (GSM IS54), 8 kbps NTSC TV 72 Mbps 1.5 Mbps • Same fidelity over time • Ease of storage, manipulation, and distribution

  28. “Large is Good” • Economy of scale • Cost increases more slowly than computing or communication capacity ==> multiplexing decreases per-user cost • Fixed costs, e.g. network administration, operation, and maintenance • Network externalities e.g. Telephone network, Internet (137 countries reachable by Email), inter-networking,

  29. Benefit Unit cost Number of users Critical size Critical Size • Below critical size: cost > benefit • Above critical size: cost < benefit Positive feedback fuels growth • Subsidy needed before critical size is reached e.g. Internet, French Minitel Network, AT&T’s Picturephone

  30. Economy of Scope • Service integration • Cheaper to have one integrated-services network than multiple single-service networks • Internet • telephone, data, broadcast TV & radio and CATV, news, magazines, books, digital library • tele-commuting, tele-banking, tele-education • Restructuring of industry • Alliances of communications & media giants e.g. US West - Time Warner, Bell Atlantic - Telecommunications, South West Bell - Cox

  31. Outline • Information revolution • 3 circles of impact • Network growth • 4 driving forces • Network basics

  32. Network Basics • Applications Traffic characterization, quality requirement • Network types Switched, broadcast • Network elements Switches, links • Network mechanisms Multiplexing, switching, switches, routing, flow control, error control, medium access control, protocol layering

  33. Applications • Applications • Telephone, Email, WWW, Video-conferencing, ... • Traffic characterization • Constant bit rate (Telephone, Video-conferencing) • Variable bit rate (Video-conferencing) • Messages (Email, WWW) • Quality requirement • Small delay (Telephone, Video-conferencing) • Small loss (Email, WWW)

  34. Examples Applications Traffic Quality Telephone CBR Small delay, moderate loss Email Message Large delay, no loss WWW Message Small delay, small loss Video (uncomp) CBR Small delay, moderate loss Video (comp) VBR Small delay, small loss

  35. Communication Networks Switched Networks Broadcast Networks Wireless (radio, satellite, optical) Wired (LAN) Circuit Switching Packet Switching Virtual Circuit Datagram Network Types

  36. User Switch Link Network Elements • User : telephone, computer, fax, camera, display, ... • Link : transfers bit stream at a certain rate with a given bit error rate & propagation delay e.g., optical fiber, copper coaxial cable, radio • Switch : directs incoming bits to appropriate outgoing link

  37. Network Mechanisms • Multiplexing & switching • Sharing a link by many users • Switches • Space division, time division • Routing • Selecting a path end-to-end • Flow control • Avoiding congestion • Error control • Recovery from error or loss • Medium access control • Sharing a broadcast medium

  38. collision Total spectrum time ... ... n n 1 1 2 2 frequency time Multiplexing • Allows many bit streams to share same transmission link • Frequency division multiplexing (FDM) • Time division multiplexing (TDM) • Code division multiplexing (CDM) Radio, TV, cellular Telephone, internet, cellular Mobile network

  39. Switching • Three modes • Circuit Swiching : digital & analog transmission • Virtual Circuit : digital transmission (packet switching) only • Datagram : digital transmission (packet switching) only • Increasing simplicity and flexibility • Decreasing service quality

  40. Switching • Circuit Switching • 3 Phases: Connection setup, Data transmission, Connection clearing • Packets arrive in order • Dedicated resources, e.g., synchronous TDM slot • No queueing delay, only propagation delay

  41. 1 2 3 Switching • Virtual Circuit • 3 Phases: Connection setup, Data transmission, Connection clearing • Packets arrive in order • NO dedicated resources, e.g., statistical multiplexing • Queueing delay, in addition to propagation delay

  42. 1 3 2 Switching • Datagram • No connection setup • Packets may arrive out of order • No dedicated resources, e.g., statistical multiplexing • Queueing delay, in addition to propagation delay • Advantage : simplicity & robustness against network failure

  43. TCP/IP Protocol Stack Applications (e.g. Telnet, HTTP) TCP UDP ICMP IP ARP Link Layer (e.g. Ethernet, ATM) Physical Layer (e.g. Ethernet, SONET)

  44. Packet Terminology Application Message MSS TCP Segment TCP hdr TCP data 20 bytes IP Packet IP hdr IP data 20 bytes Ethernet Frame Ethernet Ethernet data 4 bytes MTU 1500 bytes 14 bytes

  45. IP Header 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Vers(4) Total Length (16 bits) H len Type of Service Identification Fragment Offset Flags Protocol (TCP=6) Time to Live Header Checksum Source IP Address Destination IP Address Options Padding IP data

  46. TCP Header 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 Source Port Destination Port Sequence Number (32 bits) Acknowledgement Number (32 bits) Data Offset ACK URG FIN SYN RST PSH Receive Window (16 bits) Reserved Checksum Urgent Pointer Options Padding TCP data

  47. RTT 1 2 W 1 2 W data ACKs 1 2 W 1 2 W Window Flow Control • ~ W packets per RTT • Lost packet detected by missing ACK Source time Destination time

  48. Challenges • Distributed control and optimization … • Routing • Flow control • Medium access control • … over an uncertain unreliable network • Error control • Fault detection and recovery • Real time control using networks • Sensor networks

  49. User Switch Link Outline of Course • Switch design (0.5 wk) • Error control: error detection, ARQ (1 wk) • Delay analysis: queueing models (1.5 wk) • Medium access control (1 wk) • Routing (1.5 wk) • Flow control (1.5 wk)

  50. CS/145 b: Flow Control • Basic tools • Optimization theory • Linear control theory • Lyapunov stability • Internet congestion control • TCP • Queue management

More Related