HPSS RAIT TECHNOLOGY

Software technology for striping data on tape with parity for redundancy

WHAT IS HPSS RAIT?

HPSS RAIT (Redundant Array of Independent Tapes) is an HPSS software technology for striping data on tape with the added benefit of parity for redundancy. HPSS RAIT with single parity is similar to RAID-5 and HPSS RAIT with two parities is similar to RAID-6, except HPSS RAIT is used with tape. HPSS with RAIT still streams the tape drives at hardware speed, and stripe widths of up to 16 (data+parity) are available.

HPSS RAIT is transparent to the client using any of the existing HPSS client interfaces: HPSSFS Fuse, SwiftOnHPSS, FTP, Parallel FTP, HSI, HTAR, and other third-party HPSS client applications.


WHY USE HPSS RAIT?

RAIT allows data to flow to and from tape in a parallel manner

Parallel tape I/O allows single file transfers to exceed the native transfer rate of a single tape drive. At Oak Ridge National Laboratory (ORNL), large file I/O exceeds 1 GB/s with their 4+P HPSS RAIT stripe deployed on 250 MB/s tape technology. Thus, a 1 TB file can be written to tape in less than 17 minutes. Without parallel I/O, a 1 TB file might take over an hour to transfer using a single 250 MB/s tape drive.

When compared to dual-copy tape, HPSS RAIT lowers redundant tape costs.

At the lowest level, a 2+P HPSS RAIT will deliver up to 2x improvement in tape bandwidth and typically cuts the cost of redundant tape by 45%. Redundant tape costs are cut by 45%, rather than 50%, because typically 90% of the files by count only take 10% of the space in an HPSS repository, while 10% of the files by count take up 90% of the space. HPSS RAIT is intended for large files, so for greater recall efficiency, dual-copy tape is used to protect smaller files.

There are two basic methods of redundancy: making multiple copies (mirroring), and redundancy through error-correcting codes (such as Reed-Solomon). RAIT uses Reed-Solomon error-correcting codes which are less expensive than making multiple copies due to the lower tape, drive, space, and power requirements.


THE VALUE OF RAIT OVER MIRRORING

Use Less Media

There is a lower cost of fault tolerance with RAIT: fewer tape drives and cartridges are required. There are also faster mount times when compared with writing to a mirrored volume. For example, in the case of an 8 tape stripe and adding single failure tape, resulting in a total of 9 tapes to accomplish the redundancy.

Automatic Data Recovery

There is a high tolerance for tape loss within the HPSS RAIT stripe. RAIT reads and RAIT writes will continue even if there is a tape mount or tape media error. Automatic data recovery takes place during the RAIT read operation because HPSS can reconstruct the missing data using the parity and surviving data blocks.

Proven in the field…

ORNL began using HPSS RAIT in January 2015, and are seeing faster tape mounts when compared to writing a mirror. ORNL was able to cut redundant tape cost-estimates by 75% with 4+Parity HPSS RAIT (tape stripe with rotating parity) and enjoy large file tape transfers beyond 1 GB/s.

WHAT’S UNDER THE HOOD OF HPSS RAIT?

At the heart of HPSS RAIT is the HPSS RAIT engine. Client data will automatically flow through the HPSS RAIT engine for all HPSS RAIT transfers to and from tape.

Like HPSS’ RAID counterparts, the HPSS RAIT parity rotates across all tapes in the RAIT stripe. Rotating the parity evens out the compressibility of the data on tape by ensuring an equal amount of data and parity are written to each tape cartridge.

The figure below illustrates a single HPSS RAIT engine accepts four data blocks (A, B, C, and D) at a time from the client, generate the two parity blocks (P and Q), and send the six data blocks to tape in a parallel manner. Notice that the figure illustrates how the “File Data Block” is processed in four iterations, as follows:

  1. A1, B1, C1, and D1 + P1 and Q1
  2. A2, B2, C2, and D2 + P2 and Q2
  3. A3, B3, C3, and D3 + P3 and Q3
  4. A4, B4, C4, and D4 + P4 and Q4

The following illustration shows how data movement occurs:

WHAT’S UNDER THE HOOD OF HPSS RAIT?


HPSS RAIT CONFIGURATION OPTIONS AND FEATURES

  • HPSS RAIT supports data stripe width of up to 15 and a parity stripe width of up to 7.
  • You can control whether to mount the entire RAIT volume or only a minimal set of tapes for reading from a RAIT volume. For an 8 data/3 parity volume, this would cause 9 tapes to be mounted rather than 11 if the data is being verified against parity
  • Read verification allows users to verify that the data being read still matches the parity, with stripe-level data integrity

Proven in the Field

  • ORNL: ORNL began using HPSS RAIT in January 2015, and are seeing faster tape mounts when compared to writing a mirror.
  • ORNL was able to cut redundant tape cost-estimates by 75% with 4+Parity HPSS RAIT (tape stripe with rotating parity) and enjoy large file tape transfers beyond 1 GB/s.