Networks and Distributed Systems Mark Stanovich Operating Systems COP 4610.

Slides:



Advertisements
Similar presentations
Networking Some of the basics. What is a Network Simply put, its two or more computer connected together through a communication medium. A communication.
Advertisements

Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
Network Protocols Mark Stanovich Operating Systems COP 4610.
COSC 3407: Operating Systems Lecture 20: Networks and Distributed Systems.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Network Protocols Sarah Diesburg Operating Systems CS 3430.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
IP: The Internet Protocol
Networks Types. Spring 2002Computer Network Applications Data Transfer During the ’70s: Minicomputers became affordable; Need to communicate information;
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Wide Area Networks School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 11, Thursday 3/22/2007)
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
Internetworking Fundamentals (Lecture #4) Andres Rengifo Copyright 2008.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
EE 4272Spring, 2003 Chapter 14 LAN Systems Ethernet (CSMA/CD)  ALOHA  Slotted ALOHA  CSMA  CSMA/CD Token Ring /FDDI Fiber Channel  Fiber Channel Protocol.
5-1 Data Link Layer r Today, we will study the data link layer… r This is the last layer in the network protocol stack we will study in this class…
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
CS335 Networking & Network Administration Tuesday, April 20, 2010.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
Term 2, 2011 Week 1. CONTENTS Network communications standards – Ethernet – TCP/IP Other network protocols – The standard – Wireless application.
Connecting LANs, Backbone Networks, and Virtual LANs
Switching Techniques Student: Blidaru Catalina Elena.
Computer Networks. Today’s Goals: (Computer Networks) We will become able to appreciate the role of networks in computing We will look at several different.
Common Devices Used In Computer Networks
Networks for Distributed Systems n network types n Connection-oriented and connectionless communication n switching technologies l circuit l packet.
Dale & Lewis Chapter 15 Networks. What is a computer network? A collection of computing devices that are connected in various ways in order to communicate.
LECTURE9 NET301. DYNAMIC MAC PROTOCOL: CONTENTION PROTOCOL Carrier Sense Multiple Access (CSMA): A protocol in which a node verifies the absence of other.
جلسه دهم شبکه های کامپیوتری به نــــــــــــام خدا.
Communication Networks Fourth Meeting. Types of Networks  What is a circuit network?  Two people are connected and allocated them their own physical.
26-TCP Dr. John P. Abraham Professor UTPA. TCP  Transmission control protocol, another transport layer protocol.  Reliable delivery  Tcp must compensate.
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
William Stallings Data and Computer Communications 7 th Edition Chapter 1 Data Communications and Networks Overview.
COP 4930 Computer Network Projects Summer C 2004 Prof. Roy B. Levow Lecture 3.
Networking Fundamentals. Basics Network – collection of nodes and links that cooperate for communication Nodes – computer systems –Internal (routers,
Network Technologies Definitions –Network: physical connection that allows two computers to communicate –Packet: a unit of transfer »A sequence of bits.
Chapter 24 Transport Control Protocol (TCP) Layer 4 protocol Responsible for reliable end-to-end transmission Provides illusion of reliable network to.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
Lecture Topics: 11/27 Networks Layered Model Ethernet IP.
Cisco Network Devices Chapter 6 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Identify and explain various Cisco.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
Networks. Ethernet  Invented by Dr. Robert Metcalfe in 1970 at Xerox Palo Alto Research Center  Allows group of computers to communicate in a Local.
5: DataLink Layer 5a-1 Multiple Access protocol. 5: DataLink Layer 5a-2 Multiple Access Links and Protocols Three types of “links”: r point-to-point (single.
Review of key networking techniques: –Reliable communication over unreliable channels –Error detection and correction –Medium access control –routing –Congestion.
1 Chapter 4. Protocols and the TCP/IP Suite Wen-Shyang Hwang KUAS EE.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
Review. Layers Physical layer – sending bits from one place to another, ensuring an okay BER Data link layer – encapsulate information bits into frames,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 CH. 8: SWITCHING & DATAGRAM NETWORKS 7.1.
Networks and Distributed Systems Sarah Diesburg Operating Systems COP 4610.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
Networking Components Assignment 3 Corbin Watkins.
Computer Communication and Networking Lecture # 4 by Zainab Malik 1.
CS162 Operating Systems and Systems Programming Lecture 20 Distributed Systems, Networking April 14, 2008 Prof. Anthony D. Joseph
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
Day 13 Intro to MANs and WANs. MANs Cover a larger distance than LANs –Typically multiple buildings, office park Usually in the shape of a ring –Typically.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
Instructor & Todd Lammle
MAC Addresses and ARP 32-bit IP address:
CS 457 – Lecture 6 Ethernet Spring 2012.
Network Components.
Sarah Diesburg Operating Systems COP 4610
Chapter 6 Networks Communicating and Sharing Resources
The Medium Access Control Sublayer
PRESENTATION COMPUTER NETWORKS
Andy Wang Operating Systems COP 4610 / CGS 5765
Business Data Communications, 4e
Distributed Systems CS
CS 6290 Many-core & Interconnect
Multiple Access Control (MAC) Protocols
Distributed Systems CS
Presentation transcript:

Networks and Distributed Systems Mark Stanovich Operating Systems COP 4610

Technology Trends DecadeTechnology$ per machine Sales volume Users per machine 50s$10M s 60sMainframe$1M10K100s 70sMini computers $100K1M10s 80sPC$10K100M1 90s – 00s Portables<$1K>10B1/10

Distributed Systems Allow physically separate computers to work together + Easier and cheaper to mass-produce simple computers  Off-the-shelf components + A company can incrementally increase the computing power

Promises of Distributed Systems Higher availability  If one machine goes down, use another Better reliability  A user is able to store data in multiple locations More security  Each simple component is easier to make secure

Reality of Distributed Systems Worse availability  A system may depend on many or all machines being up Worse reliability  One can lose data if any machine crashes Worse security  Security is as strong as the weakest component Coordination is difficult because machines can only use the network medium

Network Technologies Definitions  Network: physical connection that allows two computers to communicate  Packet: a unit of transfer A sequence of bits carried over the network  Protocol: An agreement between two parties as to how information is to be transmitted

Broadcast Networks A broadcast network uses a shared communication medium  e.g. wireless, Ethernet, cellular phone network  The sender needs to specify the destination in the packet header So the receiver knows which packet to receive  If a machine were not the intended destination Discard the packet

Arbitration Concerns the way to share a given resource In Aloha network (1970s)  Packets were sent through radios on Hawaiian Islands

Blind Broadcast Receiver: If a packet is garbled discard else sends an acknowledgment Sender: If the acknowledgment does not arrive resend the packet

Ethernet (introduced in the early ‘80s) By Xerox First practical local area network  Uses wire (as opposed to radio)  Broadcast network  Key advance: a new way for arbitration

Ethernet’s Arbitration Techniques Carrier sensing: Ethernet does not send unless the network is idle Collision detection: sender checks if packet is trampled  If so, abort, wait, and retry Adaptive randomized waiting: a sender picks a bigger wait time (plus some random duration) after a collision

The Internet A generalization of interconnected local area networks Uses machines to interconnect various networks  Routers, gateways, bridges, repeaters  Act like switches  Packets are copied as they transmitted across different networks LAN 1 LAN 2

Routing Concerns how a packet can reach its destination Typically, a packet has to go through multiple hops before getting to a destination  Each hop is a router, which directs a packet to the next hop  Routing is achieved through routing tables

Routing Table Updates 1.Each routing entry contains a cost  2.Neighbors periodically exchange routing table entries 3.If the neighbor has a cheaper route, use that one instead

Point-to-Point Networks Instead of sharing a common network medium, all nodes in the network can be connected directly to a router/switch

Point-to-Point Networks + Higher link performance (no collisions) + Greater aggregate bandwidth than a single link

Point-to-Point Networks + Network capacity can be upgraded incrementally + Lower latency (no arbitration)

Issues in Point-to-Point Networks Congestion occurs when everyone sends to the same output link on a switch buffers Crossbar

Solutions 1. No flow control: Packets get dropped when the receiving buffer is full  Downloading large files across the Internet can make many people unhappy buffers Crossbar

Solutions 2.Flow control between switches: a switch does not send until the buffer space is available in the next switch  Problem: cross traffic buffers Crossbar

Solutions 3. Per-flow flow control: a separate set of buffers is allocated for each end-to-end stream  Problem: fairness AAAA BBBBCCCC ABAB ACBC