Credit Determination of Fibre Channel in Avionics Environment

Similar documents
A Scheme of Dynamic Bandwidth Allocation for Switching FC-AE-1553 Network

Design of Switching System Based on FC-AE-1553 Bus

FIBRE CHANNEL TESTING FOR AVIONICS APPLICATIONS. Bill Fleissner Gary Warden

Keywords: ASM, Fiber channel, Testing, Avionics.

Performance Analysis of Storage-Based Routing for Circuit-Switched Networks [1]

suitable for real-time applications. In this paper, we add a layer of Real-Time Communication Control (RTCC) protocol on top of Ethernet. The RTCC pro

APG-FC2 PROTOCOL SUPPORT FOR AVIONICS APPLICATION FIBRE CHANNEL TESTING. Ken Bisson

A Dynamic TDMA Protocol Utilizing Channel Sense

A Minimum Cost Handover Algorithm for Mobile Satellite Networks

Design and Performance Evaluation of a New Spatial Reuse FireWire Protocol. Master s thesis defense by Vijay Chandramohan

Expanding the use of CTS-to-Self mechanism to improving broadcasting on IEEE networks

1999, Scott F. Midkiff

Low Overhead Geometric On-demand Routing Protocol for Mobile Ad Hoc Networks

The Design and Implementation of a Simulator for Switched Ethernet Networks*

A Low-Overhead Hybrid Routing Algorithm for ZigBee Networks. Zhi Ren, Lihua Tian, Jianling Cao, Jibi Li, Zilong Zhang

Buffer-to-Buffer Credits and Their Effect on FICON Performance

GFP Considerations for RPR

AN ETHERNET BASED AIRBORNE DATA ACQUISITION SYSTEM

Deduction and Logic Implementation of the Fractal Scan Algorithm

Medium Access Control. IEEE , Token Rings. CSMA/CD in WLANs? Ethernet MAC Algorithm. MACA Solution for Hidden Terminal Problem

Implementation of the hardwired AFDX NIC

Scheduling Algorithm for Hard Real-Time Communication in Demand Priority Network

INTERNATIONAL STANDARD

A priority based dynamic bandwidth scheduling in SDN networks 1

Real-Time (Paradigms) (47)

Reliable Mobile IP Multicast Based on Hierarchical Local Registration

IEEE , Token Rings. 10/11/06 CS/ECE UIUC, Fall

CCNA Exploration1 Chapter 7: OSI Data Link Layer

Upper Level Protocols (ULP) Mapping. Common Services. Signaling Protocol. Transmission Protocol (Physical Coding) Physical Interface (PI)

Additional Switched Ethernet Protocol for Industrial Hard Real-Time Traffic

Application Layer Multicast Algorithm

Computer parallelism Flynn s categories

Research on Transmission Based on Collaboration Coding in WSNs

CHAPTER 4 CALL ADMISSION CONTROL BASED ON BANDWIDTH ALLOCATION (CACBA)

CCNA 1 Chapter 5 v5.0 Exam Answers 2013

2. What is a characteristic of a contention-based access method?

Fibre Channel Arbitrated Loop

1. Introduction 2. Methods for I/O Operations 3. Buses 4. Liquid Crystal Displays 5. Other Types of Displays 6. Graphics Adapters 7.

The Study of Intelligent Scheduling Algorithm in the Vehicle ECU based on CAN Bus

Communication in Avionics

Research on Model-based IMA Resources Allocation Xiao Zhang1, a, Lisong Wang2, b

Journal of Chemical and Pharmaceutical Research, 2014, 6(6): Research Article

Estimating the Free Region of a Sensor Node

SIMULATION OF PACKET DATA NETWORKS USING OPNET

The Analysis of the Loss Rate of Information Packet of Double Queue Single Server in Bi-directional Cable TV Network

SENSOR-MAC CASE STUDY

FIBRE CHANNEL SWITCH FABRIC (FC-SW) REV 3.0. X3 working draft proposed American National Standard for Information Technology.

End-To-End Delay Optimization in Wireless Sensor Network (WSN)

ARINC-818 TESTING FOR AVIONICS APPLICATIONS. Ken Bisson Troy Troshynski

Universal Timestamp-Scheduling for Real-Time Networks. Abstract

Introduction to ATM Technology

SEtSim: A Modular Simulation Tool for Switched Ethernet Networks

Topologies. Maurizio Palesi. Maurizio Palesi 1

Excavation Balance Routing Algorithm Simulation Based on Fuzzy Ant Colony

USING OPNET TO EVALUATE FIBRE CHANNEL AS AN AVIONICS INTERCONNECTION SYSTEM

To: T10 Membership T10/97-184R4 Subject: Use of Class 2 for Fibre Channel Tapes From: Date: 23-Oct-1997

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

A Multiservice Switch for Advanced Avionics Data Networks

Worst-case Ethernet Network Latency for Shaped Sources

Communication Networks for the Next-Generation Vehicles

Gigabit Fibre Channel B_Port Controller Core. 1 Introduction. Product Brief V1.0- September Overview. Optimized for Actel LAN WAN

Application of Redundant Backup Technology in Network Security

Networks and Distributed Systems. Sarah Diesburg Operating Systems CS 3430

DISTRIBUTED EMBEDDED ARCHITECTURES

Modelling a Video-on-Demand Service over an Interconnected LAN and ATM Networks

QoS Configuration. Overview. Introduction to QoS. QoS Policy. Class. Traffic behavior

UDP Traffic Management

OPTIMIZATION OF IPV6 PACKET S HEADERS OVER ETHERNET FRAME

Optimization on TEEN routing protocol in cognitive wireless sensor network

PON Functional Requirements: Services and Performance

Performance Characteristics of a Packet-Based Leaky-Bucket Algorithm for ATM Networks

QoS Routing and Traffic Scheduling in Long-Distance Wireless Mesh Networks

Research on Control Routing Technology in Communication Network

Data Acquisition in High Speed Ethernet & Fibre Channel Avionics Systems

A synchronizer generates sequences of clock pulses at each node of the network satisfying the condition given by the following definition.

Mobile Edge Computing for 5G: The Communication Perspective

Real-Time Communications. LS 12, TU Dortmund

A Lossless Quality Transmission Algorithm for Stored VBR Video

Resource Allocation in Contention-Based WiFi Networks

Implementation & Throughput Analysis of Perfect Difference Network (PDN) in Wired Environment

Switched FC-AL: An Arbitrated Loop Attachment for Fibre Channel Switches

standards like IEEE [37], IEEE [38] or IEEE [39] do not consider

An Efficient Scheduling Scheme for High Speed IEEE WLANs

IMPACT OF PACKET SIZE ON THE PERFORMANCE OF IEEE FOR WIRELESS SENSOR NETWORK

SWITCHED ETHERNET TESTING FOR AVIONICS APPLICATIONS. Ken Bisson Troy Troshynski

The desire for higher interconnect speeds between

Network-on-chip (NOC) Topologies

Energy efficient optimization method for green data center based on cloud computing

A Note on Scheduling Parallel Unit Jobs on Hypercubes

IEEE Time-Sensitive Networking (TSN)

3. Quality of Service

SEMICON Solutions. Bus Structure. Created by: Duong Dang Date: 20 th Oct,2010

Network protocol for Internet of Things based on 6LoWPAN

Performance Analysis of FDDI. By Raj Jain

International Conference on Advances in Mechanical Engineering and Industrial Informatics (AMEII 2015)

Prioritization scheme for QoS in IEEE e WLAN

Multi Core Real Time Task Allocation Algorithm for the Resource Sharing Gravitation in Peer to Peer Network

AES67 Audio Networking Quick Start Guide

INTERCONNECTION NETWORKS LECTURE 4

Real-Time Protocol (RTP)

Transcription:

Chinese Journal of Aeronautics 20(2007) 247-252 Chinese Journal of Aeronautics www.elsevier.com/locate/cja Credit Determination of Fibre Channel in Avionics Environment LIN Qiang*, XIONG Hua-gang, ZHANG Qi-shan School of Electronic and Information Engineering, Beijing University of Aeronautics and Astronautics, Beijing 100083, China Received 8 May 2006; accepted 16 November 2006 Abstract Fibre channel (FC) is the main candidate architecture for unified network. Flow control deals with the problem in which a device receives frames faster than it can process them. Credit is an important service parameter for fibre channel flow control. Configuring the credit reasonably can avoid buffer overflow in nodes. This paper derives the mathematic relationships among credit, bandwidth and message sets under real-time condition according as three main topologies of fibre channel, and proposes the credit determination and the optimal credit for typical message sets. This study is based on the features of hard real-time communications in avionics environment. Keywords: fibre channel; topology; login; credit; hard real-time condition 1 Introduction * For more than two decades, MIL-STD-1553B has served as the baseline standard for the integration of the federated avionics architecture. Federated systems use multiple buses in the avionics architecture and bring both technical and cost problems. In the 1980 s, seven interconnection systems (HSDB, TM, PI, DN, SDDN, VDDN and 1553B) were proposed in integrated avionics architectures to meet different and more challenging requirements of data communication. An avionics unified network takes the place of almost all the buses of networks in integrated architecture now to simplify the design, eliminate the multiple networks, and improve the performance. The objectives of the unified network include the goal of a single protocol running over either the single topology or the multi- *Corresponding author. Tel.: +86-10-81414980. E-mail address: linqiang@ee.buaa.edu.cn Foundation item: National Natural Science Foundation of China (10477005) ple topologies. Candidate COTS network standards for unified network must provide sufficient bandwidth, low latency, a range of media and topologies, the need for guaranteed delivery, time distribution, and the need for broadcast and multicast services. One such candidate is fibre channel (FC). FC is a new serial communication protocol approved by ANSI. It is widely used in the domains of network and high speed bus gradually with its good-compatibility, high-speed and long-distance. FC defines three topologies, namely point-to-point, arbitrated loop, and fabric. The original FC protocol cannot be directly exploited for avionics real-time systems because its extension ensures the delivery of messages rather than guaranteeing a deterministic latency. Suggestions have been made by FC working group members on how to extend the FC to support the real-time applications in avionics environment (FC-AE), but the problem of providing real-time

248 LIN Qiang et al. / Chinese Journal of Aeronautics 20(2007) 247-252 capability in FC network for general purpose is not solved satisfyingly and remains to be answered. Flow control is the FC-2 level control process to pace the flow of frames between Nx_Ports, an Nx_Port and the fabric and within the fabric to prevent overrun at the receiver. FC flow control is based on the concept of credit. Credit is an important service parameter in FC, which is defined as the number of receive buffers allocated to transmitting FC_Port. There are two types of credits used in flow control: one is end-to-end credit(ee_credit) between communicating Nx_Ports, the other is bufferto-buffer credit(bb_credit) between adjacent FC_ Ports. Configuring the credit reasonably can avoid buffer overflow in receive buffers of each node and improve the reliability of the network. The number of receive buffers is closely relative to the message transmission bandwidth allocation. The standard of FC framing and signaling only provides the default login value of credit [1]. 2 Hard Real-time Model of FC Avionics is one of the typical hard real-time systems which are required to complete their works and deliver their services on a timely basis. The periodic task model is a well-known deterministic workload. With its various extensions, the model characterizes accurately many traditional hard realtime applications. We adopt a simple operational definition: the job is a hard real-time job, the user requires the validation that the system always meets the timing constraints. 2.1 Message model One of the results of avionics system design is the forming of message streams among sub-systems or modules. The messages are regulated by interface control document (ICD) specification and can be divided into two classes: synchronous and asynchronous. The example of synchronous message in avionics may be messages from radar or other sensors, control and status message etc. Synchronous messages are periodically generated and subjected to real-time constraints while asynchronous messages do not have any real-time requirement. In avionics systems, the primary aim of the real-time communication system is to guarantee timely the delivery of synchronous messages. It is assumed that there are n streams of realtime messages marked S 1, S 2,, S n in the network which form a message set M, i.e. M = {S 1, S 2,, S n } (1) The message streams S i are described as follows: 1 Message inter-arrival time P i : the message S i generating period, for non periodic message, it represents the minimum inter-arrival time of the message. 2 Message length C i : the amount of time to transmit the message S i. 3 Message deadline D i : the maximum allowed message delay for S i, from its arrival at the source to be transmitted to the destination. 4 Minimum message deadline D min : the minimum of message deadline D i. The requirement of system designment is D min D i P i Each message stream S i can be represented as [2] S i = (C i, P i, D i ) (2) Let X i (t) denote the minimum amount of transmission time available for the message stream on node i during any time interval of length t. Any message in the message set M should have enough amount of transmission time before its deadline, that is, for message stream S i : X i (D i ) C i (i = 1, 2,, n) (3) 2.2 Network model The point-to-point topology consists of two and only two FC devices connected directly together. The transmit fibre of one device goes to the receive fibre of the other device, and vice versa. There is no sharing of the media, which allows the devices to enjoy the total bandwidth of the link. Every node in arbitrated loop is connected to the network via L_Port which is assigned unique local loop physical

LIN Qiang et al. / Chinese Journal of Aeronautics 20(2007) 247-252 249 address during initialization. When a node attempts to access the network, it must win an arbitration. The arbitration relies on priority of each node. To prevent that the lower priority L_Ports cannot gain access to the loop, the fibre channel arbitrated loop (FC-AL) standard proposes access fairness algorithm which sets up an access window in which all L_Ports are given an opportunity to arbitrate and win access to the loop. Switched fabric is used to connect many (2 24 ) devices in a cross-point switched configuration [3]. The benefit of this topology is that many devices can communicate at the same time [2]. Flow control is managed using end-to-end credit, end-to-end credit_cnt, ACK_1, bufferto-buffer credit, buffer-to-buffer credit_cnt, and R_RDY along with other frames. The buffer to buffer flow control model for FC is shown as Fig.1 [1]. The ideas used for BB _Credit in this paper are also suitable for the EE_Credit determination. During login, a new node exchanges service parameters including credit with node to which it intends to communicate. Node service parameters are then saved and used whenever the node initiates a communication. According to the characteristics of avionics, it is assumed that both the transmitting and receiving network layers are always ready, the rate at which data are transmitted is fixed and the processing time accords for hard real-time requirement, and the communication channel is error free. Fig.1 Buffer-to-buffer flow control model for FC. 3 Bandwidth Allocation for Shared Media Environment The FC-AL protocol describes the algorithm on how to solve the problem of MAC in the shared media environment. Every node in FC-AL is connected to the network via L_Port which is assigned unique local loop physical address during initialization. FC-AL standard proposes access fairness algorithm which sets up an access window in which all L_Ports are given an opportunity to arbitrate and win access to the loop. When all L_Ports have an opportunity to access the loop once, a new window is started. An L_Port may arbitrate again and eventually win access to the loop in the new access window. If a port has won an arbitration and accessed the network, it cannot arbitrate for loop access again until all other ports have had an opportunity to access the loop. Only when the network becomes idle can the next access window start [4]. Let D min denote the upper-bound of the access fairness window, that is, it will not be exceeded with total message transmission time and system overheads. Let θ denotes the overhead time, one has n fi Dmin θ (4) i= 1 During any time interval of length t, the minimum amount of time available for node i in FC-AL can be represented as 0 0 t < Dmin ( mi 1) fi + t mid min X i() t = midmin t midmin + fi mf i i midmin + fi t ( mi + 1) Dmin (5) here m i =[t/d min ], m i 1, [t/d min ] denotes the operation to get the integer part of t/d [5] min. During the period P i, node i must transmit messages whose length sum is C i, while the minimum amount of time available for node i is calculated as X i (P i ). According to the guideline making the transmitting time match the workload C i, let X i (P i ) equal to C i, and then the value of f i can be calculated. This algorithm for f i is an optimal bandwidth allocation scheme [5].

250 LIN Qiang et al. / Chinese Journal of Aeronautics 20(2007) 247-252 f i = Ci 0 Di Dmin Dmin Ci mi Di mid min fi (6) Ci ( Di mid min) Pi mid min < fi m 1 i 4 Credit Determination for Different Topologies It is assumed that the load of the network is limited to guarantee that all messages can be delivered before their deadlines, the number of frames in each sequence is fixed, and the feed back time of ACK or R_RDY can be ignored. The space of the buffer in node i is defined as B ri. Using the number of the frames in a sequence as the basic unit, the credit of message S i is defined as the number of receive buffers allocated to a transmitting FC_Port and is represented by C ri, i.e., C ri = B ri / C i (7) The minimum of the credit which can avoid overflow for every message in the network is defined as the optimized credit and is represented by C r. 4.1 Point-to-point Lemma 1 Under real time condition, any given message S i must be delivered in the period P i after it has arrived at the transmitting port. Proof In order to guarantee the message deadlines, any message in the message set M should have enough amount of transmission time before its deadline, that is, for message stream S i = (C i, P i, D i ), X i (D i ) C i (i =1, 2,, n) Infer 1 Under real time condition, the following inequation in which n si is the sum of message S i in the send buffers holds, n si 2. Proof Message S i arrives in the period of P i, because each message can be delivered in the period of P i in accordance with the result of Lemma 1, the number of message in the send buffers can not exceed the Di 1+, i.e., n si 2. Pi Infer 2 Under real-time condition, the following inequation in which C ri is the credit of message S i holds C ri 2 + [τ i /P i ] here τ i is the responsive time of the receive node. Proof Hypothesis C ri > 2 + [τ i /P i ] (8) in accordance with the result of Infer 1, it can be deduced that the following inequation holds n si 2. If Eq.(8) is correct, the period to deliver message S i must less than P i. This conclusion is conflict with the defination of P i, so Infer 2 is correct. Theorem 1 Under real-time condition, the optimized credit is 3 for every message set M. Proof For any message S i in the message set M, the following inequations hold P min P i, τ max τ i, so 2 + [τ i / P i ] 2 + [τ max / P min ] In accordance with the defination of C r and infer 2, it can be derived that C r = 2 + [τ max / P min ] It is usually needed that the time used to respond can not exceed the deadline of the message, i.e., τ i P i. So it can be derived that [τ max / P min ] = 1, and then C r = 3. 4.2 Arbitrated loop [6] Lemma 2 For any given message S i in the message set M, if the bandwidth is allocated as in Eq.(6), then it must be delivered in the period of P i + D min. Proof It can be derived from Eq.(5) and Eq.(6) that Pi + Dmin Xi() t = Xi( Pi+ Dmin) = mi f i= f i Dmin Pi Pi Ci Pi Ci Ci f i = = mi = Ci Dmin Dmin mi Dmin mi mi Infer 3 If the bandwidth is allocated as in Eq.(6), the following inequation in which C ri is the credit of message S i holds C ri [ 2 + Dmin Pi] + [ τ i Pi] here τ i is the responsive time of the receive node. Proof It can be derived following the proof of Infer 1 and Infer 2. Theorem 1 If the bandwidth is allocated as

LIN Qiang et al. / Chinese Journal of Aeronautics 20(2007) 247-252 251 in Eq.(6), the optimized credit is 4 for every message set M. Proof For i=1, 2,, n, there is P min P i, τ max τ i, so 2 + Dmin / Pi + [ τ i / Pi] 2 + [ Dmin / Pmin] + τ max / Pmin [ 2 + Dmin / Dmin] + [ τ max / Dmin] = 3 + [ τ max / Dmin] 2 + Dmin / Pi + [ τ i / Pi] 3 + [ τ max / Pmin] In accordance with the defination of C r and Infer 3, it can be derived that C r = 3 + [τ max / P min ] It is usually needed that the time used to respond can not exceed the deadline of the message, i.e., τ i P i. So it can be derived that [τ max / P min ] = 1, and then C r = 4. the typical message sets demonstrate the conclusion deduced above. And the result of the simulation is explained by the following example. The conditions of overflow under the different credits of system in different topologies are shown in Fig.3 and Fig.4. From results of the simulation, it can be found that the overflows in the received buffers decrease with the increase of credit under the real-time condition. When the credit is greater than 3 in point-to-point or greater than 4 in arbitrated loop, the packages discarded is zero, that is, no overflow appears any more in all nodes. The results of simulation accord with the above theoretical analysis. 4.3 Switched fabric In accordance with the characteristics of the nodes in switched fabric, the credit between N_Port and F_Port can be derived accordance with the discussion of point-to-point. The public loop topology (Fig.2) is a combination of loop and switched fabric [7]. In this way, it is possible to achieve wide connectivity among a group of low-bandwidth nodes (with NL_Ports) and higher bandwidth nodes (with N_Ports). In this configuration, the credit between N_Ports and FL_Port can be derived in accordance with the discussion of arbitrated loop. Fig.3 Results of simulation with different credits for point-to-point. Fig.4 Results of simulation with differentcredits for arbitrated loop. 6 Conclusions Fig.2 Public loop. 5 Examples and Simulation Using OPNET, the results of simulations under Unified network is one of the key technologies of the advanced integrated avionics architecture. Different from a commercial off-the-shelf (COTS) network technology, the unified network lays much emphasis on the hard real-time characteristics and reliability of the system. Hard real-time perform-

252 LIN Qiang et al. / Chinese Journal of Aeronautics 20(2007) 247-252 ance is one important performance requirement of airborne interconnection system. To avoid the appearance of overflow of data package in receive node, Credit is the key service parameter in the login process. This paper discusses the relationship among credit, bandwidth allocation and typical message set. Based on FC protocol,this paper mainly focuses on presenting a credit determination scheme in real-time avionics environments. References [1] American National Standards Institute. Fibre channel-framing and signaling (FC-FS), Rev.1.90: working draft proposed standard document. 2003. [2] Liu J W S. Real-time systems. Beijing: Higher Education Press, 2002. [3] American National Standards Institute. Fibre channel switch fabric-2 (FC-SW-2), Rev.4.0: working draft proposed standard document. 1998. [4] American National Standards Institute. Fibre channel-arbitrated technology for military applications. IEEE Proceedings of Digital Avionics Systems Conference, 1999; 3.A.3-1-3. A. 3-14. Biography: LIN Qiang Born in 1973, he received B.S. in Electronic Engineering Department from Air Force College of Engineering in 1995. He is directly working towards the Ph.D. degree in School of Electronic and Information Engineering at Beijing University of Aeronautics and Astronautics, Beijing, China. His major research fields are avionics, digital communication. E-mail: linqiang@ee. buaa.edu.cn XIONG Hua-gang Born in 1961, he is a professor in School of Electronic and Information Engineering at Beijing University of Aeronautics and Astronautics, Beijing, China. His major research fields are avionics, digital communication. loop (FC-AL), Rev.4.5: working draft proposed standard document. 1999. [5] Lin Q. Bandwidth allocation for FC-AL under real time condition. Journal of Beijing University of Aeronautics and Astronautics 2005; 31(4): 443-446. [in Chinese] [6] Lin Q. Credit determination for flow control in FC-AL. Acta Aeronautica et Astronautica Sinica 2004; 25(6): 602-605. [in Chinese] [7] Glass M. Fibre channel: leveraging a commercial networking ZHANG Qi-shan Born in 1936, he is a professor in School of Electronic and Information Engineering at Beijing University of Aeronautics and Astronautics, Beijing, China. His major research fields are transfers and processing of information, telecomtrol and telecommunication.