---
name: "fi_mrail"
section: "7"
platform: "linux"
package: "libfabric"
version: "2.7.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/fi_mrail"
---

# fi\_mrail(7)

The Multi-Rail Utility Provider

## NAME

fi\_mrail - The Multi-Rail Utility Provider

## OVERVIEW

The mrail provider (ofi\_mrail) is an utility provider that layers over an underlying provider to enable the use of multiple network ports (rails). This increases the total available bandwidth of an underlying provider. The current status of mrail provider is experimental - not all libfabric features are supported and performance is not guaranteed.

## REQUIREMENTS

### Requirements for underlying provider

mrail provider requires the underlying provider to support the following capabilities / modes:

- •

  Buffered receive (FI\_BUFFERED\_RECV)

- •

  FI\_SOURCE

- •

  FI\_AV\_TABLE

### Requirements for applications

Applications need to: \* Support FI\_MR\_RAW MR mode bit to make use of FI\_RMA capability. \* Set FI\_OFI\_MRAIL\_ADDR env variable (see RUNTIME PARAMETERS section below).

## SUPPORTED FEATURES

- *Endpoint types*

  The provider supports only *FI\_EP\_RDM*.

- *Endpoint capabilities*

  The following data transfer interface is supported: *FI\_MSG*, *FI\_TAGGED*, *FI\_RMA*.

- \# LIMITATIONS

  Limitations of the underlying provider may show up as that of mrail provider. mrail provider doesn’t allow pass-through of any mode bits to the underlying provider.

### Unsupported features

The following are the major libfabric features that are not supported. Any other feature not listed in “Supported features” can be assumed as unsupported.

- •

  FI\_ATOMIC

- •

  Scalable endpoints

- •

  Shared contexts

- •

  FABRIC\_DIRECT

- •

  Multicast

- •

  Triggered operations

## FUNCTIONALITY OVERVIEW

For messages (FI\_MSG, FI\_TAGGED), the provider uses different policies to send messages over one or more rails based on message size (See *FI\_OFI\_MRIAL\_CONFIG* in the RUNTIME PARAMETERS section). Ordering is guaranteed through the use of sequence numbers.

For RMA, the data is striped equally across all rails.

## RUNTIME PARAMETERS

The ofi\_mrail provider checks for the following environment variables.

- *FI\_OFI\_MRAIL\_ADDR*

  Comma delimited list of individual rail addresses. Each address can be an address in FI\_ADDR\_STR format, a host name, an IP address, or a netdev interface name.

- *FI\_OFI\_MRAIL\_ADDR\_STRC*

  Deprecated. Replaced by *FI\_OFI\_MRAIL\_ADDR*.

- *FI\_OFI\_MRAIL\_CONFIG*

  Comma separated list of \<max\_size\>:\<policy\> pairs, sorted in ascending order of \<max\_size\>. Each pair indicated the rail sharing policy to be used for messages up to the size \<max\_size\> and not covered by all previous pairs. The value of \<policy\> can be *fixed* (a fixed rail is used), *round-robin* (one rail per message, selected in round-robin fashion), or *striping* (striping across all the rails). The default configuration is 16384:fixed,ULONG\_MAX:striping. The value ULONG\_MAX can be input as -1.

## SEE ALSO

[fabric(7)](/fabric/7.md), [fi\_provider(7)](/fi_provider/7.md), [fi\_getinfo(3)](/fi_getinfo/3.md)

## AUTHORS

OpenFabrics.
