23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

21.7 Lockless I/O Tunables<br />

The lockless I/O tunable feature allows servers to ask clients to do lockless I/O<br />

(liblustre-style where the server does the locking) on contended files.<br />

The lockless I/O patch introduces these tunables:<br />

■<br />

■<br />

■<br />

OST-side:<br />

/proc/fs/lustre/ldlm/filter-lustre-*<br />

contended_locks - If the number of lock conflicts in the scan of granted and<br />

waiting queues at contended_locks is exceeded, the resource is considered to<br />

be contended.<br />

contention_seconds - The resource keeps itself in a contended state as set in<br />

the parameter.<br />

max_nolock_bytes - Server-side locking set only for requests less than the<br />

blocks set in the max_nolock_bytes parameter. If this tunable is set to zero (0),<br />

it disables server-side locking for read/write requests.<br />

Client-side:<br />

/proc/fs/lustre/llite/lustre-*<br />

contention_seconds - llite inode remembers its contended state for the time<br />

specified in this parameter.<br />

Client-side statistics:<br />

The /proc/fs/lustre/llite/lustre-*/stats file has new rows for<br />

lockless I/O statistics.<br />

lockless_read_bytes and lockless_write_bytes - To count the total<br />

bytes read or written, the client makes its own decisions based on the request<br />

size. The client does not communicate with the server if the request size is<br />

smaller than the min_nolock_size, without acquiring locks by the client.<br />

21.8 Data Checksums<br />

To avoid the risk of data corruption on the network, a <strong>Lustre</strong> client can perform endto-end<br />

data checksums 1 . Be aware that at high data rates, checksumming can impact<br />

<strong>Lustre</strong> performance.<br />

1. This feature computes a 32-bit checksum of data read or written on both the client and server, and ensures<br />

that the data has not been corrupted in transit over the network.<br />

21-12 <strong>Lustre</strong> <strong>1.6</strong> <strong>Operations</strong> <strong>Manual</strong> • September 2008

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!