DOC PREVIEW
UMD CMSC 412 - Communication Management and Distributed Processing

This preview shows page 1-2-3-18-19-36-37-38 out of 38 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 38 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Slide 1Slide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17Slide 18Slide 19Slide 20Slide 21Slide 22Slide 23Slide 24Slide 25Slide 26Slide 27Slide 28Slide 29Slide 30Slide 31Slide 32Slide 33Slide 34Slide 35Slide 36Slide 37Slide 38Communication Management and Distributed Processing, Chapter 13Communication componentsnetwork: a set of computers connected by communication links Intranet : local area networks (LAN), in the same administrative domainInternet: wide area networks (WAN), collection of interconnected networks across administrative domainsSystem area networks (SAN): distributed systemsCommunication rules: protocolsCircuit vs. Packet switchingCircuit switchingexample: telephonyresources are reserved and dedicated during the connectionPacket switchingexample: internetentering data divided into packetspackets in network share resourcesVirtual circuit: cross between circuit switching and packet switchingConnection vs. Connectionlessconnection-oriented services: sender and receiver maintains a connection (using circuit switching for example)connectionless protocols: sender transmits each message when it is ready (similar to the mail system)a connection-oriented service can be implemented on top of a packet-switch networkProtocol Architecturein the network, computers must agree on the syntax (data format) and the semantics (data interpretation) of communicationcommon approach: protocol functionality is distributed in multiple modules (layers) which are stackedlayer N provides services to layer N+1, and relies on services of layer N-1communication is achieved by having similar layers at both end-points which understand each otherISO/OSI protocol stack“officially”: seven layersin practice four: application, transport, network, data link / physicalapplicationtransportnetworkdata link/physicalapplicationtransportnetworkdata link/physicalpacket formatdatadata link hdr nethdrtransphdrapplhdrApplication Layerprocess-to-process communicationsupports application functionalityexamplesfile transfer protocol (FTP)simple mail transfer protocol (SMTP)hypertext transfer protocol (HTTP)user can add other protocols, for example a distributed shared memory protocolTransport Layertransmission control protocol (TCP)provides reliable byte stream service using retransmissionflow controlcongestion controluser datagram protocol (UDP)provides unreliable unordered datagram serviceNetwork LayerInternet protocol (IP)understands the host addressresponsible for packet deliveryprovides routing function across the networkbut can lose or misorder packetsData Link/Physical Layercomes from the underlying networkphysical layer: transmits 0s and 1s in the wiredata link layer: groups bits into frames and does error control using checksum + retransmission examplesEthernet ATMMyrinetphone/modemInternet hierarchyEthernet ATMmodemIPTCP UDPFTPHTTPFingerSVMdata link layernetwork layertransport layerapplication layerThe Network Layer: IPaddressing: how hosts are namedservice model: how hosts interact with the network, what is the packet formatrouting: how a route from source to destination is chosenIP AddressingAddressesunique 32-bit address for each host (128-bit in IPv6)dotted-decimal notation: 128.112.102.65three address formats: class A, class B and class CIP to physical address translationnetwork hardware recognizes physical addressesAddress Resolution Protocol (ARP) to obtain the translationeach host caches a list of IP-to-physical translation which expires after a whileARP hosts broadcast a query packet asking for a translation for some IP addresshosts which know the translation reply each host knows its own IP and physical translationreverse ARP (RARP) translates physical to IP and it is used to assign IP addresses dynamicallyIP packetIP transmits data in variable size chunks: datagramsmay drop, reorder or duplicate datagramseach network has a Maximum Transmission Unit (MTU): which is the largest packet it can carryif packet is bigger than MTU it is broken into fragments which are reassembled at destination IP packet format: source and destination addresses (128-bit in IPv6)time to live: decremented on each hop, packet dropped when TTL=0fragment information, checksum, other fieldsIP routingeach host has a routing table which says where to forward packets for each network, including a default routerhow the routing table is maintained: two-level approach: intra-domain and inter-domainintra-domain : many approaches, ultimately call ARPinter-domain: Boundary Gateway Protocol (BGP):each domain designates a “BGP speaker” to represent itspeakers advertise which domain they can reachrouting cycles avoidedTransport LayerUser Datagram Protocol (UDP): connectionlessunreliable, unordered datagramsthe main difference from IP: IP sends datagrams between hosts, UDP sends datagrams between processes identified as (host, port) pairsTransmission Control Protocol: connection-orientedreliable; acknowledgment, timeout and retransmissionbyte stream delivered in order (datagrams are hidden)flow control: slows down sender if receiver overwhelmedcongestion control: slows down sender if network overwhelmedTCP: Reliable communicationeach packet carries a sequence numbersequence number: last byte of data sent before this packeteach packet also carries an acknowledge sequence number: first byte of data not yet receivedno distinction between data and ack packetsTCP keeps an average round-trip transmission time (RTT)timeout if no ack received after twice the estimated RRT and resend data starting from the last ackpossible improvements:ignore retransmitted packets when estimate RTTdouble timeout on retransmissionTCP: Connection SetupTCP is a connection-oriented protocolthree-way handshake:client sends a SYN packet: “I want to connect”server sends back its SYN + ACK: “I accept”client acks the server’s SYN: “OK”TCP: Sliding Window optimum transmission performance requires keeping the pipe fullnetwork capacity is equal to latency-bandwidth productsliding window: how much data to send without ackoptimum window size is the network capacitysliding


View Full Document

UMD CMSC 412 - Communication Management and Distributed Processing

Documents in this Course
Security

Security

65 pages

Deadlocks

Deadlocks

22 pages

Set 2

Set 2

70 pages

Project 2

Project 2

21 pages

Load more
Download Communication Management and Distributed Processing
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Communication Management and Distributed Processing and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Communication Management and Distributed Processing 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?