© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networks zNetwork-based design. yCommunication analysis. ySystem performance analysis.

Slides:



Advertisements
Similar presentations
Data Communications System By Ajarn Preecha Pangsuban.
Advertisements

Answers of Exercise 7 1. Explain what are the connection-oriented communication and the connectionless communication. Give some examples for each of the.
1 Fall 2005 Internetworking: Concepts, Architecture and TCP/IP Layering Qutaibah Malluhi CSE Department Qatar University.
Internet -- network of networks –network delivers packets (& locates nodes) –router (gateway) moves packets between networks –IP interoperability on top.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Semester Copyright USM EEE442 Computer Networks Introduction: Protocols En. Mohd Nazri Mahmud MPhil (Cambridge, UK) BEng (Essex, UK)
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Introduction To Networking
EE 4272Spring, 2003 Protocols & Architecture A Protocol Architecture is the layered structure of hardware & software that supports the exchange of data.
© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample.
Understanding Networks. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Review on Networking Technologies Linda Wu (CMPT )
Network Architectures Week 3 – OSI and The Internet.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
1 Review of Important Networking Concepts Introductory material. This slide uses the example from the previous module to review important networking concepts:
Data Communications and Networks
Midterm Review - Network Layers. Computer 1Computer 2 2.
Chapter 9.
Presentation on Osi & TCP/IP MODEL
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Protocols and the TCP/IP Suite
Jaringan Komputer Dasar OSI Transport Layer Aurelio Rahmadian.
Chapter 1: Introduction to Web Applications. This chapter gives an overview of the Internet, and where the World Wide Web fits in. It then outlines the.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
ECE 354 Copyright ECE Department, some slides modified from W. Wolf, Computers as Components, Morgan Kaufmann, 2005 Big Picture: Lab 3 Networks (OSI-view)
Computer Communication & Networks Lecture # 02 Nadeem Majeed Choudhary
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Introduction to Networks CS587x Lecture 1 Department of Computer Science Iowa State University.
Data and Computer Communications Chapter 2 – Protocol Architecture, TCP/IP, and Internet-Based Applications.
1 Figure 3-2: TCP/IP Standards (Study Figure) Origins  Defense Advanced Research Projects Agency (DARPA) created the ARPANET  An internet connects multiple.
The Inter-network is a big network of networks.. The five-layer networking model for the internet.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_b Protocol Layering Instructor: Dr. Li-Chuan Chen Date: 09/15/2003 Based in part upon slides of Prof.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
© 2000 Morgan Kaufman Overheads for Computers as Components Networks zNetwork-based design. yCommunication analysis. ySystem performance analysis. zInternet-enabled.
OS Services And Networking Support Juan Wang Qi Pan Department of Computer Science Southeastern University August 1999.
CSE 6590 Department of Computer Science & Engineering York University 111/9/ :26 AM.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
TCP/IP Protocol Architecture CSE 3213 – Fall
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
TCP/IP (Transmission Control Protocol / Internet Protocol)
Network Structure Elements of communication message source the channel message destination Network data or information networks capable of carrying many.
1 OSI and TCP/IP Models. 2 TCP/IP Encapsulation (Packet) (Frame)
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
 2004 Deitel & Associates, Inc. All rights reserved. Chapter 16 – Networking Outline 16.1Introduction 16.2Network Topology 16.3Network Types 16.4TCP/IP.
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني.
1 12-Jan-16 OSI network layer CCNA Exploration Semester 1 Chapter 5.
Net 221D:Computer Networks Fundamentals
8/28/ Network Models - Lin 1 CPET/ECET Network Models Data Communications and Networking Fall 2004 Professor Paul I-Hai Lin Electrical and.
© 2000 Morgan Kaufman Overheads for Computers as Components Networking for Embedded Systems zWhy we use networks. zNetwork abstractions. zExample networks.
Data Communication Network Models
The OSI Model. Understanding the OSI Model In early 1980s, manufacturers began to standardize networking so that networks from different manufacturers.
COMPUTER NETWORKS Hwajung Lee. Image Source:
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Roadmap  Introduction to Basics  Computer Network – Components | Classification  Internet  Clients and Servers  Network Models  Protocol Layers.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Lecture (2).
A quick intro to networking
Distributed Embedded Systems
Layered Architectures
Network Architecture Introductory material
Net 431: ADVANCED COMPUTER NETWORKS
Data and Computer Communications by William Stallings Eighth Edition
Review of Important Networking Concepts
Lecture 2: Overview of TCP/IP protocol
Network Basics and Architectures Neil Tang 09/05/2008
Presentation transcript:

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Networks zNetwork-based design. yCommunication analysis. ySystem performance analysis. zInternet. zInternet-enabled systems. zVehicles as networks. zSensor networks

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Communication analysis zFirst, understand delay for single message. zDelay for multiple messages depends on: ynetwork protocol; ydevices on network.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Message delay zAssume: ysingle message; yno contention. zDelay: yt m = t x + t n + t r y = xmtr overhead + network xmit time + rcvr overhead

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Example: I 2 C message delay zNetwork transmission time dominates. zAssume 100 kbits/sec, one 8-bit byte. zNumber of bits in packet: yn packet = start + address + data + stop y = = 18 bits zTime required to transmit: 1.8 x sec. z20 instructions on 8 MHz controller adds 2.5 x delay on xmtr, rcvr.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Multiple messages zIf messages can interfere with each other, analysis is more complex. zModel total message delay: yt y = t d + t m y = wait time for network + message delay

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Arbitration and delay zFixed-priority arbitration introduces unbounded delay for all but highest- priority device. yUnless higher-priority devices are known to have limited rates that allow lower devices to transmit. zRound-robin arbitration introduces bounded delay proportional to N.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Further complications zAcknowledgment time. zTransmission errors.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Priority inversion in networks zIn many networks, a packet cannot be interrupted. zResult is priority inversion: ylow-priority message holds up higher-priority message. zDoesn’t cause deadlock, but can slow down important communications.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Multihop networks zIn multihop networks, one node receives message, then retransmits to destination (or intermediate). ABC hop 1 hop 2 Network 1Network 2

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. System performance analysis zSystem analysis is difficult in general. ymultiprocessor performance analysis is hard; ycommunication performance analysis is hard. zSimple example: uncertainty in P1 finish time -> uncertainty in P2 start time. P1P2

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Analysis challenges zP2 and P3 can delay each other, even though they are in separate tasks. zDelays in P1 propagate to P2, then P3, then to P4. P2 P3 P1 P4

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Lower bounds on system zComputational requirements: ysum up process requirements over least-common multiple of periods, average over one period. z Communication requirements: yCount all transmissions in one period.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Hardware platform design zNeed to choose: ynumber and types of PEs; ynumber and types of networks. zEvaluate a platform by allocating processes, scheduling processes and communication.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. I/O-intensive systems zStart with I/O devices, then consider computation: yinventory required devices; yidentify critical deadlines; ychooses devices that can share PEs; yanalyze communication times; ychoose PEs to go with devices.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Computation-intensive systems zStart with shortest-deadline tasks: yPut shortest-deadline tasks on separate PEs. yCheck for interference on critical communications. yAllocate low-priority tasks to common PEs wherever possible. zBalance loads wherever possible.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Internet Protocol zInternet Protocol (IP) is basis for Internet. zProvides an internetworking standard: between two Ethernets, Ethernet and token ring, etc. zHigher-level services are built on top of IP.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. IP in communication physical data link network transport presentation application session physical data link network transport presentation application session physical data link network node A router node B IP

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. IP packet zIncludes: yversion, service type, length ytime to live, protocol ysource and destination address ydata payload zMaximum data payload is 65,535 bytes.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. IP addresses z32 bits in early IP, 128 bits in IPv6.  Typically written in form xxx.xx.xx.xx. zNames (foo.baz.com) translated to IP address by domain name server (DNS).

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Internet routing zBest effort routing: ydoesn’t guarantee data delivery at IP layer. zRouting can vary: ysession to session; ypacket to packet.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Higher-level Internet services zTransmission Control Protocol (TCP) provides connection-oriented service. zQuality-of-service (QoS) guaranteed services are under development.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. The Internet service stack IP UDP SNMP TCP User Datagram Protocol FTPHTTPSMTPtelnet

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Internet-enabled embedded system zInternet-enabled embedded system: any embedded system that includes an Internet interface (e.g., refrigerator). zInternet appliance: embedded system designed for a particular Internet task (e.g. ). zExamples: yCell phone. yLaser printer.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Example: Javacam zHardware platform: yparallel-port camera; yNational Semi NS486SXF; y1.5 Mbytes memory. zUses memory-efficient Java Nanokernel.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Javacam architecture Web browser QuickCam 486 Java nanokernel Java VM HTTP Quickcam server QuickCam applet

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Vehicles as networks z1/3 of cost of car/airplane is electronics/avionics. zDozens of microprocessors are used throughout the vehicle. zNetwork applications: yVehicle control. yInstrumentation. yCommunication. yPassenger entertainment systems.

CAN bus zFirst used in zSerial bus, 1 Mb/sec up to 40 m. zSynchronous bus. zLogic 0 dominates logic 1 on bus. zArbitrated with CSMA/AMP: yArbitration on message priority. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed.

CAN data frame z11 bit destination address. zRTR bit determines read/write from/to destination. zAny node can detect bus error, interrupt packet for retransmission. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed.

CAN controller zController implements physical and data link layers. zNo network layer needed---bus provides end-to-end connections. © 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Other vehicle busses zFlexRay is next generation: yTime triggered protocol. y10 Mb/s. zLocal Interconnect Network (LIN) connects devices in a small area (e.g., door). zPassenger entertainment networks: yBluetooth. yMedia Oriented Systems Transport (MOST).

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Avionics zAnything permanently attached to the aircraft must be certified by FAA/national agency. zTraditional architecture uses separate electronics for each instrument/device. yLine replaceable unit (LRU) can be physically removed and replaced. zFederated architecture shares processors across a subsystem (nav/comm, etc.)

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Sensor networks zWireless networks, small nodes. zAd hoc networks---organizes itself without system administrator: yMust be able to declare membership in network, find other networks. yMust be able to determine routes for data. yMust update configuration as nodes enter/leave.

© 2008 Wayne Wolf Overheads for Computers as Components 2 nd ed. Node capabilities zMust be able to turn radio on/off quickly with low power overhead. yCommunication/computation power = 100x. zRadios should operate at several different power levels to avoid interference with other nodes. zMust buffer, route network traffic.