Guaranteeing real-time property of SpW network based on SpW-D

Similar documents
Design guideline and software tools for deterministic SpaceWire network using SpaceWire-D

Introducing a new temporal partitioning scheme to AUTOSAR OS

The SpaceWire-PnP Draft Standard. Peter Mendham Stuart Mills, Steve Parkes, Martin Kelly, Stuart Fowell

MARC Mini-Project and SpaceWire-RT

Scheduling Mechanisms for SpaceWire Networks

SpaceWire devices developed in JAXA s SpaceWire R&D activities in the last 3 years (and coming several years).

RMAP Protocol. SpaceWire Working Group 11 th November 2004

Recent ASIC Developments by NEC

SpaceWire Protocol Analyzer on Space Cube

An Extension Course for Training Trainers of Embedded Software

Time synchronization in SpaceWire networks

Space engineering. SpaceWire Protocols

Performance of SpaceWire Plug-and-Play Protocols

SpaceWire Technologies deliver multi-gigabit data rates for on-board Spacecraft. SpaceTech Expo Gregor Cranston Business Development Manager

MOST (Modelling of SpaceWire Traffic): MTG-I simulation presentation

SpaceWire-RT. SpaceWire-RT Status SpaceWire-RT IP Core ASIC Feasibility SpaceWire-RT Copper Line Transceivers

SpaceWire-RT/SpaceFibre simulation models: implementation and application

System Approach for a SpaceWire Network Template reference : C-EN

Communication Fundamentals in Computer Networks

Computer Networks. Routing Algorithms

SPACEWIRE DRIVEN ARCHITECTURE FOR THE ASTRO-H SATELLITE

Spacewire related activities in JAXA & science community ~Summary~

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

SpaceNet - SpaceWire-T. Initial Protocol Definition

SpaceWire-R DRAFT. SCDHA Issue September 2013

SpaceWire RMAP Protocol

Remote Memory Access in Embedded Networked Systems

Proposed Technical Solution for Half Duplex SpW

Ultra Depedable VLSI by Collaboration of Formal Verifications and Architectural Technologies

Recent Results of the ITRON Subproject

AirTight: A Resilient Wireless Communication Protocol for Mixed- Criticality Systems

GAISLER. SpaceWire CODEC with RMAP GRSPW / GRSPW-FT CompanionCore Data Sheet

The Centralized management method to increase the security of ARP. Qinggui Hu

SpaceFibre Flight Software Workshop 2015

6 Remote memory access protocol (normative)

SpaceWire RMAP Protocol

Certification Report

SpaceWire Backplane Application Requirements

Computer Networks. Routing

Page 1 SPACEWIRE SEMINAR 4/5 NOVEMBER 2003 JF COLDEFY / C HONVAULT

Using TOPPERS/ASP (RTOS) on NUCLEO-F401RE (Cortex-M4) With Atollic TrueSTUDIO

Abstract. Testing Parameters. Introduction. Hardware Platform. Native System

Aeroflex Colorado Springs Application Note

SpaceWire Router Data Sheet

Chapter 1 - Introduction

Multipath Routing Protocol for Congestion Control in Mobile Ad-hoc Network

SpaceNet - SpaceWire-RT. Initial Protocol Definition

MILS Multiple Independent Levels of Security. Carol Taylor & Jim Alves-Foss University of Idaho Moscow, Idaho

SpaceWire 101 Seminar MAPLD 2006 SpaceWire origins and purpose From IEEE 1355 to ECSS-E-50-12A

Chapter 22 Network Layer: Delivery, Forwarding, and Routing 22.1

The SOIS Plug-and-Play Architecture and Its Proposed Mapping onto SpaceWire

SpaceWire-RT Project and Baseline Concepts

Test and Verification of SpaceWire Developments and VLSI Implementations.

SpaceComRTOS. A distributed formal RTOS adapted to SpaceWire enabled systems

ExoMars Rover Vehicle

Link-Layer Layer Broadcast Protocol for SpaceWire

Towards SpaceWire Plug-And-Play ECSS Standard

Next Generation Microprocessor Functional Prototype SpaceWire Router Validation Results

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Master s Thesis. Congestion Control Mechanisms for Alleviating TCP Unfairness in Wireless LAN Environment

Homework 3 Discussion

CHAPTER 3 EFFECTIVE ADMISSION CONTROL MECHANISM IN WIRELESS MESH NETWORKS

A Partitioning Mechanism for Automotive Control Systems

SpaceFibre Specification Draft F3

Cosimulation of ITRON-Based Embedded Software with SystemC

The Measurement Manager Modular End-to-End Measurement Services

II. Principles of Computer Communications Network and Transport Layer

St. Petersburg State University of Aerospace Instrumentation Institute of High-Performance Computer and Network Technologies

Modeling Of Spacewire Traffic. - ESA study Contract No /10/NL/LvH. Executive Summary & Final Report

Solace Message Routers and Cisco Ethernet Switches: Unified Infrastructure for Financial Services Middleware

Improvements to the Distributed Interrupts Scheme

for On-Board Communications Project Status Noordwijk, Netherlands

A framework of designing a Packet Filter for Low Cost Network Monitoring

Switching & ARP Week 3

Table of Contents Chapter 1 IP Addressing Configuration

IP SLAs Overview. Finding Feature Information. Information About IP SLAs. IP SLAs Technology Overview

Routing. 4. Mar INF-3190: Switching and Routing

Performance of Multicast Traffic Coordinator Framework for Bandwidth Management of Real-Time Multimedia over Intranets

IP Addressing and Subnetting

TopNet implementation: SpW IP Tunnel and Protocol Analyser

SpaceWire Router ASIC

Lecture (01) Determining IP Routes (1)

Internet Security: Firewall

SpaceFibre IP Core, Alpha Test Programme, and Planned SpaceFibre Contracts

IX: A Protected Dataplane Operating System for High Throughput and Low Latency

Web Mechanisms. Draft: 2/23/13 6:54 PM 2013 Christopher Vickery

Current Activities of the ITRON Project. Current Introduction Activities to of the ITRON Project

Buffer Sizing in a Combined Input Output Queued (CIOQ) Switch

ITRON Project Overview

Quantitative Evaluation of Intel PEBS Overhead for Online System-Noise Analysis

Masafumi OE Youki Kadobayashi Suguru Yamaguchi Nara Institute Science and Technology, JAPAN

OSPFv2 Local RIB. Finding Feature Information

Data Link Control Protocols

A Case Study for a Large Enterprise to Introduction IP Telephony in Their Network

Routing in packet-switching networks

Using TOPPERS/ASP (RTOS) on GR-PEACH (Cortex-A9) With Atollic TrueSTUDIO

Some of the slides borrowed from the book Computer Security: A Hands on Approach by Wenliang Du. Firewalls. Chester Rebeiro IIT Madras

A specification proposed by JASPAR has been adopted for AUTOSAR.

Scalable IP-VPN Flow Control Mechanism Supporting Arbitrary Fairness Criteria Part 2: Simulation and Implementation

Validation Suites vs. Validation Kits

Transcription:

Guaranteeing real-time property 18 th SpW WG meeting Guaranteeing real-time property of SpW network based on SpW-D 24-Apr.-212 Hiroaki TAKADA Executive Director and Professor Center for Embedded Computing Systems, Nagoya Univ. Chairman, TOPPERS Project Email: hiro@ertl.jp URL: http://www.ertl.jp/~hiro/ 1

Self Introduction Current Positions Guaranteeing real-time property Professor, Nagoya University Executive Director, Center for Embedded Computing Systems (NCES), Nagoya University Chairman, TOPPERS Project and several others Major Research Topics real-time operating systems for embedded systems real-time scheduling and analysis electronic system-level design of embedded systems automotive embedded systems and network energy optimization for embedded systems functional safety 2

TOPPERS Project Develop various open-source software for embedded systems including RTOS and promote their use. Incorporated as a non-profit organization in 23. Building a widely used open-source OS as Linux in the area of embedded systems! Applications of TOPPERS OS TOPPERS OS is widely used in the industries. consumer applications industrial applications automotive systems TOPPERS OS is planned to be used in some space systems. Guaranteeing real-time property ASTRO-H (JAXA) under development H-IIB(JAXA) under development 3

Guaranteeing real-time property Table of Contents Joint Project of JAXA/ISAS and NCES Approach of our Investigation Additional Requirements Concepts/Functions Added to SpW-D Subnet Concept Flexible Time-Slotting Mode Concept Split RMAP Transaction Schedule Information Additional FDIR Mechanisms (optional) Current and Future Activities 4

Joint Project of JAXA and NCES Guaranteeing real-time property JAXA and NCES are conducting a joint project for spreading the use of SpW to wider range of applications. Goals of the Project to propose a flexible methodology for guaranteeing the real-time property of SpW network based on SpW-D to develop a software platform (real-time kernel + SpW middleware) supporting the proposed methodology Study Group on SpW Real-Time Property ISAS and NCES host a study group with Japan SpW User Group (including NEC, MELCO, and MHI) for: gathering requirements on the SpW real-time property guaranteeing methodology from industries, investigating the experience and problems obtained from the development of ASTRO-H, and collecting opinions on the proposed methodology. 5

Guaranteeing real-time property Approach of our Investigation Starting Point SpW-D standard under discussion [1] P. Armbruster: SpW-D Overview and Trade-offs, 16 th SpW WG meeting. [2] S. Parkes: SpW-D Proposed Contents of Standard, 17 th SpW WG meeting. ASTRO-H SpW Network Design Criteria Gathering Additional Requirements from space system industries from the experience and problems obtained from the development of ASTRO-H Some Concepts/Functions Added to SpW-D Some additional concepts/functions are added to SpW-D for satisfying the additional requirements. 6

ASTRO-H SpW Network Diagram Guaranteeing real-time property Router Router Router Router Large-scale SpW network - comprising: 11 SpW - 1 SpW ~11 physical links - 4 SpW 1 external routers >4 internal SpW routers 1: 2: I/F 7

Guaranteeing real-time property Additional Requirements Upper Layer Protocol Any upper layer protocol on SpW should be supported. The upper layer protocol is responsible for the packet loss detection/recovery, and for packet segmentation/ desegmentation (when necessary). Assumption on RMAP Implementation High throughput should be obtained even when RMAP target nodes are implemented with software. More Extensive FDIR Mechanisms Additional FDIR mechanisms need to be specified for handling some failures that are not fully covered by the current SpW/SpW-D FDIR mechanisms. Incorporated as optional features because existing SpW devices cannot support them. 8

Guaranteeing real-time property Concepts/Functions Added to SpW-D Subnet Concept and Flexible Time-Slotting A SpW network can be divided into some subnets. The length and the number of time-slots can be different for different subnets. Mode Concept Subnet and schedule can be changed for each mode. Split RMAP Transaction RMAP reply packet transferred in different time-slot should be allowed. Accommodation of Any Upper Layer Protocol Limiting upper layer protocol is not necessary. Any SpW packet can be allowed to be transferred. Additional FDIR Mechanisms (optional) 9

Subnet Concept Guaranteeing real-time property A SpW network can be divided into some subnets which do not share any link. Routers and end-nodes can be shared as long as there is no interference. Packets transferred among different subnets are inhibited. SpW-D can be applied on a per subnet basis. B A E A Subnet 2 C F B D D G Subnet 1 Subnet 2 C Subnet 1 E 1

Guaranteeing real-time property Flexible Time-Slotting Time-slots are delimited by the time-codes whose time values are multiples of 2 n (n =,,6), where n is determined for each subnet. When n =, Time-slots are delimited by all timecodes (corresponds with current SpW-D standard). Effective in improving throughput with longer timeslots, when the time-code period needs to be kept short by different reasons. The number of time-slots is 2 m, where m is determined for each subnet. When n+m > 6, the mechanism to distribute extended time-code is necessary. 11

Guaranteeing real-time property Time-Slotting Examples n =,m = 6 time-slot 1 2 3 4 5 6 7 63 time-code 1 2 3 4 5 6 7 8 63 n = 2,m = 4 time-slot 4 15 time-code 1 2 3 4 5 6 7 8 63 n = 2,m = 6 time-slot 4 15 16 63 time-code extended time-code 1 2 3 4 5 6 7 8 62 63 1 1 1 2 1 3 1 4 1 62 3 63 3 1122

Mode Concept Guaranteeing real-time property The concept of mode is introduced to cope with the following cases. Operational mode of the system is changed. Packet routing and schedule need to be changed in case of a link failure. Subnet, time-slot, and schedule (of SpW-D) can be determined for each mode. Mode change can occur at the end of a time-slot. The mechanism to distribute current mode to all nodes in the SpW network is assumed (similar to the distribution mechanism of extended time-code). The mode distribution mechanism is out of the scope of our investigations. 13

Guaranteeing real-time property Split RMAP Transaction Motivation When an RMAP target node is implemented with software, the maximum RMAP reply delay is quite long, thus degrading the throughput. RMAP reply delay = the time since an RMAP command is received until the RMAP reply is prepared. Solution An RMAP target node is allowed to send the RMAP reply in predetermined later time-slot. Only intelligent target nodes (implemented with processors and software) are allowed to use this option. 14

Guaranteeing real-time property RMAP Transaction Examples time-slot time-slot 1 time-slot 2 CMD CMD CMD CMD CMD RPY RPY RPY RPY non-split RMAP transaction RPY split RMAP transaction split RMAP transaction 15

Schedule Information Guaranteeing real-time property Each intelligent end-node has a schedule information which shows the packets that can be transferred. A schedule information holds a list of following data for each link, for each mode, and for each time-slot. packet type (RMAP command, RMAP reply, others) when the packet type is not RMAP reply: list of destination nodes total size of packets when the packet type is RMAP command: total size of RMAP reply packets time-slot number in which the RMAP reply is scheduled a list of reply addresses for each destination when the packet type is RMAP reply: RMAP initiator node time-slot number in which the RMAP command is sent 16

Schedule Information Example (1) Guaranteeing real-time property example schedule information for a link of an intelligent end-node for a mode time-slot number packet type destination node list/ RMAP initiator node RMAP command/ reply time-slot number total size of packets total size of RMAP reply packets RMAP command (non-verified write) 11, 12, 13, 14 124 2 others 15 5 2 others 16 2 8 RMAP command (read) 11, 12, 13, 14 8 4 124 1 others 17 2 12 RMAP command (read) 11, 12, 13, 14 12 4 124 62 others 21 2 * The list of reply addresses for each destination is omitted. 17

Schedule Information Example (2) Guaranteeing real-time property RMAP commands in time-slot are replied in the same time-slot (non-split RMAP transaction). RMAP commands to in time-slot 8 and 12 are replied in time-slot 1 and 14, respectively (split RMAP transaction). time-slot number packet type destination node list/ RMAP initiator node RMAP command/ reply time-slot number total size of packets total size of RMAP reply packets RMAP command (non-verified write) 11, 12, 13, 14 124 2 others 15 5 2 others 16 2 8 RMAP command (read) 11, 12, 13, 14 1 4 124 1 others 17 2 12 RMAP command (read) 11, 12, 13, 14 14 4 124 18

Schedule Information Example (3) Guaranteeing real-time property To the RMAP command received in time-slot 5 and 13 from node 1, this end-node replies in time-slot 6 and 14, respectively (split RMAP transaction). time-slot number packet type destination node list/ RMAP initiator node RMAP command/ reply time-slot number total size of packets total size of RMAP reply packets RMAP command (non-verified write) 11, 12, 13, 14 124 2 others 15 5 6 RMAP reply 1 5 8 RMAP command (read) 11, 12, 13, 14 9 4 124 1 others 17 2 12 RMAP command (read) 11, 12, 13, 14 14 4 124 14 RMAP reply 1 13 19

Additional FDIR Mechanisms (optional) Discard packet at the end of each time-slot Guaranteeing real-time property The current SpW/SpW-D FDIR mechanisms do not cover the following cases. A faulty end-node sends a long packet that is not fit in the time-slot. A faulty end-node stops sending FCT while it receives a packet. At the end of each time-slot, routers and end-nodes that do not finish sending/receiving a packet should do the following FDIR processes. When the node do not finish receiving a packet, it discards the data in its receive buffer, sends FCTs, and discards succeeding data until an EOP/EEP is received. When the node do not finish sending a packet, it discards the remaining data and tries to send EEP. 2

Guaranteeing real-time property Inhibit packet transferred among different subnets With the introduction of subnet concept, routers should inhibit the packets transferred among different subnets. Network Guardian an additional device connected between a router and a end-node for adding optional FDIR mechanisms to an existing SpW device. If the network guardian has the schedule information that the end-node should have, it can detect illegal packet transfers and discard them. endnode network guardian 21

Guaranteeing real-time property Current and Future Activities Methodology Guidebook We are making a guidebook that explains the proposed methodology for guaranteeing the real-time property of SpW network. A recommended calculation method whether a certain set of packets fit in a time-slot is included. Software Platform Development We will develop a SpW middleware running on our real-time kernel and supporting tools that support the proposed methodology. The SpW middleware is responsible for sending packets following the given schedule information. We plan to release SpaceWire OS consisting of the real-time kernel and the SpW middleware next year. 22