Building a Reliable Onboard Network with Ethernet: A GSFC Prototype Jane Marquart NASA/GSFC.

Slides:



Advertisements
Similar presentations
1 ICS 156: Lecture 2 (part 2) Data link layer protocols Address resolution protocol Notes on lab 2.
Advertisements

Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
BZUPAGES.COM 1 User Datagram Protocol - UDP RFC 768, Protocol 17 Provides unreliable, connectionless on top of IP Minimal overhead, high performance –No.
ISO/OSI Model Layers Application: applications that use the network. This is were mail, browsers, ftp, etc reside Presentation: data formats, character.
Copyright 1999, S.D. Personick. All Rights Reserved. Telecommunications Networking II Lecture 32 Transmission Control Protocol (TCP) Ref: Tanenbaum pp:
1 K. Salah Module 5.2: Internet Protocol CO vs. CL protocols IP Features –Fragmentation –Routing IP Datagram Format IPv6.
Communication Subsystems Physical Link Data Link Network Transport Physical Link Data Link Network Transport Session System 1System 2 Typical layers in.
1 Computer Networks IP: The Internet Protocol. 2 IP is a connection-less, unreliable network layer protocol IP provides best effort services in the sense.
MAC Addresses and ARP 32-bit IP address: –network-layer address –used to get datagram to destination IP subnet MAC (or LAN or physical or Ethernet) address:
Internet Protocol-IP. Objective l TCP/IP vs. OSI models l CO vs. CL protocols l IP Features »Fragmentation »Routing l IP Datagram Format l IPv6.
 The Open Systems Interconnection model (OSI model) is a product of the Open Systems Interconnection effort at the International Organization for Standardization.
Gursharan Singh Tatla Transport Layer 16-May
G O D D A R D S P A C E F L I G H T C E N T E R 1 The Trade Between CCSDS and HDLC Framing on Global Precipitation Measurement David Everett and Jonathan.
Process-to-Process Delivery:
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
TRANSPORT LAYER T.Najah Al-Subaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
CS 6401 Internet Protocol Outline Introduction to Internet Protocol Header and address formats ICMP Tools.
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
1 Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Internet Protocol (IP)
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
Chapter 5 Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Describe the operation of the Ethernet sublayers.
Review: – computer networks – topology: pair-wise connection, point-to-point networks and broadcast networks – switching techniques packet switching and.
1 CCSDS File Delivery Protocol for Flight Applications Art Ferrer NASA/GSFC, Code 582 Fourth Space Internet Workshop June 2004 Hanover, MD.
1 Chapter 1 OSI Architecture The OSI 7-layer Model OSI – Open Systems Interconnection.
TCP/IP Essentials A Lab-Based Approach Shivendra Panwar, Shiwen Mao Jeong-dong Ryoo, and Yihan Li Chapter 5 UDP and Its Applications.
CS 6401 Internetworking Outline Internet Architecture Best Effort Service Model.
POSTECH DP&NM Lab. Internet Traffic Monitoring and Analysis: Methods and Applications (1) 4. Active Monitoring Techniques.
Token Passing: IEEE802.5 standard  4 Mbps  maximum token holding time: 10 ms, limiting packet length  packet (token, data) format:  SD, ED mark start,
Ethernet Fundamentals. The success of Ethernet is due to the following factors: Simplicity and ease of maintenance Ability to incorporate new technologies.
Fall 2005 By: H. Veisi Computer networks course Olum-fonoon Babol Chapter 6 The Transport Layer.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
ONE Concept. ONE Work area & lab setup ONE Goals Provide single network interface regardless of physical link Provide reliable, isochronous message transport.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 13.
TCP/IP Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Computer Security Workshops Networking 101. Reasons To Know Networking In Regard to Computer Security To understand the flow of information on the Internet.
Service time evaluation (transfer) for a message sent over a LAN through TCP protocol Network Routers service time.
William Stallings Data and Computer Communications
Interfaces and Services Each layer provides a service to the layer above it. A service is a set of primitive operations. Under UNIX, primitives are implemented.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
Computer Network Overview Ikjun Yeom. 2 What is a computer network? a collection of computing nodes and links connecting the nodes why we need it? –to.
Supporting Multimedia Communication over a Gigabit Ethernet Network VARUN PIUS RODRIGUES.
Slide #1 CIT 380: Securing Computer Systems TCP/IP.
1 CSE 5346 Spring Network Simulator Project.
UDP : User Datagram Protocol 백 일 우
Introduction to Communication Lecture (10) 1. 2 Wired LANs: Ethernet IEEE Project 802 defines the LLC and MAC sublayers for all LANs including Ethernet.
Communication Networks NETW 501 Tutorial 2
Packet Switch Network Server client IP Ether IPTCPData.
Advisor: Hung Shi-Hao Presenter: Chen Yu-Jen
BASICS Gabriella Paolini (GARR) 27/05/11 - ICCU Roma 1 How INTERNET works !
Graciela Perera Department of Computer Science and Information Systems Slide 1 of 18 INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723 Graciela.
Scaling the Network: The Internet Protocol
OSI Protocol Stack Given the post man exemple.
TCP/IP Transmission Control Protocol / Internet Protocol
Final Review CS144 Review Session 9 June 4, 2008 Derrick Isaacson
Introduction of Transport Protocols
Internet Protocol (IP)
Data Link Issues Relates to Lab 2.
Process-to-Process Delivery:
Router Construction Outline Switched Fabrics IP Routers
Computer Network Overview
CPEG514 Advanced Computer Networkst
1 TRANSMISSION CONTROL PROTOCOL / INTERNET PROTOCOL (TCP/IP) K. PALANIVEL Systems Analyst, Computer Centre Pondicherry University, Puducherry –
Transport Protocols: TCP Segments, Flow control and Connection Setup
Transport Protocols: TCP Segments, Flow control and Connection Setup
Process-to-Process Delivery: UDP, TCP
Computer Networks Protocols
Transport Layer 9/22/2019.
Presentation transcript:

Building a Reliable Onboard Network with Ethernet: A GSFC Prototype Jane Marquart NASA/GSFC

8 June Fourth Space Internet Workshop Requirements Ethernet/IP Onboard Network Bus Critical real-time data must be delivered reliably onboard the spacecraft (target is 5 milliseconds)

8 June Fourth Space Internet Workshop Protocol Options TCP TCP works but doesn’t support reliability features required by typical flight software UDP UDP is a better fit, but requires reliability be implemented by the user UDP + Reliability Where to implement reliability? Application layer or data link layer?

8 June Fourth Space Internet Workshop Reliability Trade Application layer: –Rx & tx packet latency through the stack is highly variable and non-deterministic (regardless of direction) –Latency up to several milliseconds on a 233mhz Datalink layer: –avoids IP stack latency, but; –the issue is standardization and portability of a datalink layer solution.

8 June Fourth Space Internet Workshop IEEE LLC LLC – “Logical Link Control” offers a IEEE standardized datalink layer reliability protocol, adding a 3 byte header to the ethernet frame Supplies 3 major types of service; –Type 1 (unreliable packet exchange, same as plain ethernet) –Type 2 (reliable, statefull, connection oriented; used by FDDI, Wireless, Token Ring) –Type 3 (reliable, stateless, connectionless) Type 3 selected –Stateless but reliable –Well-defined (and simple) state machine –Suitable for a variety of physical layers –Packet overhead is 3 bytes

8 June Fourth Space Internet Workshop Data-link Layer Reliability: LLC Ack/retry algorithm implemented within the NIC driver. Latency & delay well defined since control is right at the hardware. Widely supported, if not tolerated, by common OS IP stacks, routers, etc. Well defined & supported but ad-hoc mapping onto standard ethernet framing. Reliability protocol only useable between conformant drivers.

8 June Fourth Space Internet Workshop Packet data Ethernet frame headerLLC header PDU Formats ethernet dest (6 bytes) ethernet source (6 bytes ) ethernet type (2 bytes) DSAP (1 byte) SSAP (1 byte) Control (1 byte) user data & fill if req’d Ethernet destination (6 bytes) Ethernet source (6 bytes) Ethernet type (2 bytes) User data &fill if req’d Default datalink pdu Reliable pdu (data packet) Source SAPDestination SAP Reliable pdu (ack packet) ack pdu's swap DSAP & SSAP, along with ethernet source/destination so reply is sent to originating host. Standard ethernet frame w/ EthernetType >= 0x600 EthernetType < 0x600, set to frame length indicating a LLC pdu Ethernet frame header Packet dataEthernet frame headerLLC header ethernet dest (6 bytes) ethernet source (6 bytes ) ethernet type (2 bytes) DSAP (1 byte) SSAP (1 byte) Control (1 byte) No user data, Fill to min. valid pkt length

8 June Fourth Space Internet Workshop Ethernet/IP Multi-node Testbed SWITCH Subsys ‘A’ Coldfire MEDIA CONVERTER Ethernet Hub "Comm Card" Dell PC ITOS GSE Router Serial Channel Link Simulator Serial 4 Mbps 50 kbits 150kbits 4 Mbps 1 kbits 200 kbits Flight NIC Net Mgr SB TO CI CFDP NIC Driver IP OS Stack MEDIA CONVERTER CFDP Subsys ‘B’ PC

8 June Fourth Space Internet Workshop NIC Driver Architecture IP stack RX packets TX packets RX interrupt Packet Scheduler Async Pkt Channel Queues SOIS Independent Layer SOIS dependent Data-link layer Packet validation & LLC processing Packet retrieved TX done interrupt Packet submitted to NIC LLC ack/error packets Flight NIC Eth1Eth0 RX packets TX packets

8 June Fourth Space Internet Workshop Use Case Examples nominal Pkt sent with reliable QOS Driver returns ‘ACK’ Receive ACK Done pkt drop Pkt sent with reliable QOS ACK Time-out, Resend pkt Driver returns ‘ACK’ Receive ACK Done ACK drop Pkt sent with reliable QOS Driver returns ‘ACK’ ACK Time-out, Resend pkt, Log error Driver returns ‘ACK’ Discards redundant pkt Logs error Receive ACK Done pkt lost Pkt ‘N’ sent with reliable QOS ACK Time-out, Resend pkt ‘N’ Log error Driver returns ‘ACK’; logs error Receive ACK Done ACK lost Pkt N+1 sent with reliable QOS Driver returns ‘ACK’ ACK Time- out, Resend pkt, Log error Driver returns ‘ACK’ Discards redundant pkt Logs error Receive ACK Done ACK Time-out, Log error Pkt ‘N’ sent with reliable QOS Driver returns ‘ACK’ ACK Time- out, Log error Pkt N+1 sent with reliable QOS Pkt lost Pkt lost Pkt lost ACK lost ACK lost ACK lost

8 June Fourth Space Internet Workshop NIC/OS Transmit Path Measurements User app. opens socket to send packet (UDP Client) Stack Processes Packet Key : = start receive markers Tx_Stack_to_ Staging_Buffer NIC receives pkt. Metrics: 1.) Stack Process Time 2.) Driver copy from stack to Staging buffer 3.) DMA vs. Programmed I/O time 4.) Switch Latency Switch = logic analyzer timestamp = timestamp marker (software) Tx Stack_to_NIC Tx DMA/PIO Tx App_to_NIC NIC-NIC Separate test with SmartBits Analyzer

8 June Fourth Space Internet Workshop NIC/OS Receive Path Measurements Packet Recv’d Interrupt Key : = start receive marker Metrics: 1.) DMA vs. Programmed I/O 2.) Copy time from staging buffer(receive_buffer) to stack = timestamp marker (software) Rx DMA/PIO Rx_NIC_to_Stack App receives pkt. Rx_receive_buffer _to_stack Stack Process Time (TBD)

8 June Fourth Space Internet Workshop Preliminary Performance Results TX_STACK_TO_NIC* TX_BUFFER_TO_NIC (PIO or DMA)* TX_STACK_ PROCESSING** TX_STACK_TO_ STAGING BUFFER* RX_NIC_TO_STACK* Rx_BUFF_to_STACK* Rx_NIC_to_BUFF (PIO or DMA)* Std. Dev (us) Avg Width (us) Max Width (us) Min. Width (us) * Numbers are for Programmed I/O (which can be up to ~4 times slower than DMA), using TCP (ftp), MTU sizes vary between bytes ** Numbers are for Programmed I/O, UDP, MTU sizes between TBD TBD Std. Dev (us) Avg Width (us) Max Width (us) Min. Width (us) Without LLC With LLC TBD TBD 2.346

8 June Fourth Space Internet Workshop Status LLC working in lab (2 millisecond timeout) Additional performance testing includes: –LLC Bi-directional benchmark Worst case footprint of LLC from CPU & network throughput cost –Fixed packet size (minimum and maximum) –Linux OS (should be worse due to virtual memory model)

8 June Fourth Space Internet Workshop Conclusion Preliminary tests indicate that: the onboard network architecture, using LLC for reliability, will meet the 5 millisecond requirement for packet transfer

8 June Fourth Space Internet Workshop The Team Software Greg Menke Art Ferrer Freemon Johnson Alan Cudmore Jonathan Wilmot Jane Marquart Hardware Mike Lin Scott Edfors For more information contact: Jane Marquart at