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.

20.2 <strong>Lustre</strong> I/O Tunables<br />

The section describes I/O tunables.<br />

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

# cat /proc/fs/lustre/llite/lustre-ce63ca00/max_cached_mb 128<br />

This tunable is the maximum amount of inactive data cached by the client (default is<br />

3/4 of RAM).<br />

20.2.1 Client I/O RPC Stream Tunables<br />

The <strong>Lustre</strong> engine always attempts to pack an optimal amount of data into each I/O<br />

RPC and attempts to keep a consistent number of issued RPCs in progress at a time.<br />

<strong>Lustre</strong> exposes several tuning variables to adjust behavior according to network<br />

conditions and cluster size. Each OSC has its own tree of these tunables. For<br />

example:<br />

$ ls -d /proc/fs/lustre/osc/OSC_client_ost1_MNT_client_2 /localhost<br />

/proc/fs/lustre/osc/OSC_uml0_ost1_MNT_localhost<br />

/proc/fs/lustre/osc/OSC_uml0_ost2_MNT_localhost<br />

/proc/fs/lustre/osc/OSC_uml0_ost3_MNT_localhost<br />

$ ls /proc/fs/lustre/osc/OSC_uml0_ost1_MNT_localhost<br />

blocksizefilesfreemax_dirty_mb ost_server_uuid stats<br />

... and so on.<br />

RPC stream tunables are described below.<br />

/proc/fs/lustre/osc//max_dirty_mb<br />

This tunable controls how many MBs of dirty data can be written and queued up in<br />

the OSC. POSIX file writes that are cached contribute to this count. When the limit is<br />

reached, additional writes stall until previously-cached writes are written to the<br />

server. This may be changed by writing a single ASCII integer to the file. Only<br />

values between 0 and 512 are allowable. If 0 is given, no writes are cached.<br />

Performance suffers noticeably unless you use large writes (1 MB or more).<br />

/proc/fs/lustre/osc//cur_dirty_bytes<br />

This tunable is a read-only value that returns the current amount of bytes written<br />

and cached on this OSC.<br />

20-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!