Previous Table of Contents Next


Chapter 29
Fiber Channel Architecture, Layers, and Services

Ed Frymoyer

Fiber Channel technology combines the attributes of a channel and a network medium. This chapter explains how Fiber Channel works with existing interfaces, its use as a high-speed backbone in a LAN, and its messaging structure. Three topologies with guidelines for use are also explained.

INTRODUCTION

Fiber Channel is an OSI technology that provides flexibility, application layer friendliness, data integrity, and high availability. Fiber Channel technology provides a seamless application and systems interface without the need for the computer system to support the intricacies, buffering, and management of high-performance information interconnection features.

FIBER CHANNEL LAYERS

Fiber Channel’s OSI-style layering structure is based on practical separation of the functional layers (see Exhibit 1). Fiber Channel layers include:

  FC-0. This is the lowest level of the FC physical standard, covering the physical characteristics of the interface and media.
  FC-1. This is the middle level of the FC physical standard. It defines the 8- to 10-bit encoding/decoding and transmission protocol.
  FC-2. This is the highest level of FC physical standard, defining the rules for signaling protocol and describing transfer of frames, sequences, and exchanges.
  FC-3. This is the hierarchical level in the Fiber Channel standard that provides common services. Layer FC-3 is not currently used but is available for future applications, such as disk striping (i.e., multiplexing data over multiple disk drives to improve performance) or data management.
  FC-4. This is the hierarchical level in the Fiber Channel standard that specifies the mapping of upper layer protocols to levels below.


Exhibit 1.  Fiber Channel Layers.

The FC-0 (physical) layer and the encode/decode layers are physically and functionally separated from the link control and feature selection (FC-2) and application interface (FC-4) layers. The high-speed serial functions (i.e., optical and electrical) are separated from the parallel processed FC-2 and the software/firmware dependent FC-4.

In contrast to 802.x transport technologies that include a physical layer that is media connection only and a MAC layer that is a combination of high-speed and low-speed functions, Fiber Channel offers a more practical approach by providing clean separations.

There are no sublayer physical definitions of the layers. A clean interface can be made to computer systems as well as to important peripherals such as mass storage, media storage, medical devices, process equipment, data gathering devices (e.g., real-time sensors), and other systems. The upper layer protocol is usually the systems bus or processor I/O function. This arrangement allows easy reuse of system’s software drivers with a minimal update to handle the speed of Fiber Channel, which can range up to 100M bps using optical fiber. Functionally, the information form and structure look the same. Specifically, current FC-4 layers address SCSI, IPI-3, HIPPI, block MUX, Enterprise ESCON, and traditional TCP/IP.

Future applications may use a streamlined form of Fiber Channel that provides tighter coupling between the Fiber Channel I/O and the native bus of the computer/processor. The technology is still developing. Clustering protocols are being developed with Direct Memory Access-to -direct memory access connections. The protocols also offer the reliability of TCP/IP and less than 25 microsecond latency, which is much better than any other serialized system with the distance reach of Fiber Channel. This level of latency is useful in distributed systems, but not in very closely coupled systems such as backplane-connected processors.

Channel Networking

Fiber Channel provides links to other LAN technologies by means of straightforward bridging/routing methodologies. This combination of channel and network connectivity is called channel networking and is unique to Fiber Channel.

A Fiber Channel connection may support one or more of the defined sets of application layer (FC-4s). Fiber Channel implementations may be very simple — as in only serial SCSI — or very complex, as for multiple FC-4 support. Also, the link may support one or more transmission rates.

Chip Coding

A combination of hardware and firmware achieves the management, link control, buffering, and feature set implementation of layers FC-2, 3, and 4. Single and multiple chip implementations are available. The complexity of this adapter board hardware depends on how many FC-4s are supported of feature sets supported. Whether implementation is as a set of chips (i.e., microcontroller, memory, and the range firmware) or a single chip, the developer can use readily available CMOS processes.

The encode/decode function (FC-1) is the interface between the parallel process and the serial process. The 8-bit to 10-bit encoding provides a balanced set of 10 bits derived from a transmitted set of bits. The a conversion provides balanced set of bits in which there is only one more 1 than 0 for each set of 10 bits. Also, there are at most five 1s or 0s sequentially between each transition from 1 to 0 or vice versa. This coding has made it very easy for chip manufacturers and to build serialize-deserializer chips and hardware. In addition, all single-bit errors in a 10-bit segment are detectable.

Fiber Channel uses the 8-bit/10-bit methodology because it is easy to implement and provides an extremely balanced serial data stream for all possible idle inputs. The guaranteed transitions in the 8-bit/10-bit coding structure provide a multiplexed serial stream from which it is very easy to recover timing. The balanced serial data stream also reduces electromagnetic and radio frequency interference problems.

The output of the FC-1 layer is a parallel 10-bit signal. Some implementations have this layer on the physical interface chip, but this must combine functionality with the CMOS in FC-2 chips. The higher rates are in the extensions of the Fiber Channel standard; 2G bps and 4G bps are already approved for FC physical layer 2.

Physical, Behavioral, and Logical Subsets

The classification into physical, logical, and behavioral subsets is useful for the development of interoperability profiles. Because of the range and complexity of the Fiber Channel standard, profiles that define the physical, logical, and behavioral choices for a specific market or application are needed. Some of the first were defined and published by the Fiber Channel Systems Initiative (FCSI) and its participants (Hewlett-Packard, IBM, and Sun Microsystems) and provide the baseline for interoperable implementations by almost all of today’s hardware for serial SCSI and TCP/IP. FCSI’s goal was to create an open systems supply of interoperable pieceparts and systems.

MESSAGE STRUCTURE DEFINITION

In addition, Fiber Channel defines message structure to allow disassembly of and reassembly messages from the application layer of the transmitting side to the same level at the receiving side. These are called Fiber Channel exchanges, sequences, and frames.

Exchanges

An exchange refers to an application layer’s functional communication between users. Examples are a SCSI connection or a TCP/IP session. Several exchanges can be active simultaneously.

Sequences

In Fiber Channel lexicon, a sequence is a related set of frames (one or more) within the context of a specific exchange. Sometimes a sequence is called the Fiber Channel information unit (though not specifically defined by the standard).


Previous Table of Contents Next

Copyright © CRC Press LLC