WARNING: This is the _old_ Lustre wiki, and it is in the process of being retired. The information found here is all likely to be out of date. Please search the new wiki for more up to date information.

Lustre 1.8

From Obsolete Lustre Wiki
Revision as of 08:35, 7 December 2010 by Sbarthel (talk | contribs)
Jump to navigationJump to search

(Updated: Jan 2010)

Lustre™ 1.8.0.1 introduces several robust, new features and improved system functionality. This page provides feature descriptions and lists the benefits offered by upgrading to the Lustre 1.8 release branch. The change log and release notes are here.

Adaptive Timeouts

The adaptive timeouts feature (enabled, by default) causes Lustre to use an adaptive mechanism to set RPC timeouts, so users no longer have to tune the obd_timeout value. RPC service time histories are tracked on all servers for each service, and estimates for future RPCs are reported back to clients. Clients use these service time estimates along with their own observations of the network delays to set future RPC timeout values.

If server request processing slows down, its estimates increase and the clients allow more time for RPC completion before retrying. If RPCs queued up on the server approach their timeouts, the server sends early replies to the client, telling it to allow more time. Conversely, as the load on the server is reduced, the RPC timeout values decrease, allowing faster client detection of non-responsive servers and faster attempts to reconnect to a server's failover partner.

Why should I upgrade to Lustre 1.8 to get it?

Adaptive timeouts offers these benefits:

  • Simplified management for small and large clusters.
  • Automatically adjusts RPC timeouts as network conditions and server load changes.
  • Reduces server recovery time in cases where the server load is low at time of failure.

Additional Resources

For more information about adaptive timeouts, see:

Client Interoperability

The client interoperability feature enables Lustre 1.8 clients to work with a new network protocol that will be introduced in Lustre 2.0. This feature allows transparent client, server, network and storage interoperability when migrating from 1.6 architecture-based clusters to clusters with 2.0 architecture-based servers. Lustre 1.8.x clients will interoperate with Lustre 2.0 servers.

Why should I upgrade to Lustre 1.8 to get it?

Client interoperability offers this benefit:

  • When Lustre 2.x is released, Lustre 1.8.x users will be able to upgrade to 2.x servers while the Lustre filesystem is up and running. This transparent upgrade feature will enable users to upgrade their servers to Lustre 2.x and reboot them without disturbing applications using the filesystem on clients. It will no longer be necessary to unmount clients from the filesystem to upgrade servers to the new software. After the 2.x upgrade, Lustre 2.x servers will interoperate with 1.8.x clients.

Additional Resources

For more information on client interoperability, see:

OSS Read Cache

The OSS read cache feature provides read-only caching of data on an OSS. It uses a regular Linux pagecache to store the data. OSS read cache improves Lustre performance when several clients access the same data set, and the data fits the OSS cache (which can occupy most of the available memory). The overhead of OSS read cache is very low on modern CPUs, and cache misses do not negatively impact performance compared to Lustre releases before OSS read cache was available.

Why should I upgrade to Lustre 1.8 to get it?

OSS read cache can improve Lustre performance, and offers these benefits:

  • Allows OSTs to cache read data more frequently
  • Improves repeated reads to match network speeds instead of disk speeds
  • Provides the building block for OST write cache (small write aggregation)

Additional Resources

For more information on OSS read cache, see:

OST Pools

The OST pools feature allows the administrator to name a group of OSTs for file striping purposes. For instance, a group of local OSTs could be defined for faster access; a group of higher-performance OSTs could be defined for specific applications; a group of non-RAID OSTs could be defined for scratch files; or groups of OSTs could be defined for particular users.

Pools are defined by the system administrator, using regular Lustre tools (lctl). Pool usage is specified and stored along with other striping information (e.g., stripe count, stripe size) for directories or individual files (lfs setstripe or llapi_create_file()). Traditional automated OST selection optimizations (QOS) occur within a pool (e.g., free-space leveling within the pool). OSTs can be added or removed from a pool at any time (and existing files always remain in place and available.)

OST pools characteristics include:

  • An OST can be associated with multiple pools
  • No ordering of OSTs is implied or defined within a pool
  • OST membership in a pool can change over time
  • a directory can default to a specific pool and new files/subdirectories created therein will use that pool

NOTE: In its current implementation, the OST pools feature does not implement an automated policy or restrict users from creating files in any of the pools; it must be managed directly by administrator/user. It is a building block for policy-managed storage.

Why should I upgrade to Lustre 1.8 to get it?

OST pools offers these benefits:

  • Allows sets of OSTs to be managed via named groups
  • Pools can separate heterogeneous OSTs within the same filesystem
    • Fast vs. slow disks
    • Local network vs. remote network (e.g. WAN)
    • RAID 1 vs. RAID5 backing storage, etc.
    • Specific OSTs for users/groups/applications (by directory)
  • Easier disk usage policy implementation for administrators
  • Hardware can be more closely optimized for particular usage patterns
  • Human-readable stripe mappings

Additional Resources

For more information on OST pools, see:

Version-Based Recovery

Version-based Recovery (VBR) improves the robustness of client recovery operations and allows Lustre to recover, even if multiple clients fail at the same time as the server. With VBR, recovery is more flexible; not all clients are evicted if some miss recovery, and a missed client may try to recover after the server recovery window.

Why should I upgrade to Lustre 1.8 to get it?

VBR functionality in Lustre 1.8 allows more flexible recovery after a failure. Previous Lustre releases enforced a strict, in-order replay condition that required all clients to reconnect during the recovery period. If a client was missing and the recovery period timed out, then the remaining clients were evicted. With VBR, conditional out-of-order replay is allowed. VBR uses versions to detect conflicting transactions. If an object's version matches what is expected, the transaction is replayed. If there is a version mis-match, clients attempting to modify the object are stopped. Recovery continues even if some clients do not reconnect (the missed clients can try to recover later). With VBR, Lustre clients may successfully recover in a wider variety of failure scenarios.

VBR offers these benefits:

  • Improves the robustness of client recovery operations
  • Allows Lustre recovery to continue even if multiple clients fail at the same time as the server
  • Provides a building block for disconnected client operations

Additional Resources

For more information on VBR, see: