23.07.2014 Views

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

Lustre 1.6 Operations Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Number of groups scanned (grps column) should be small. If it reaches a few dozen<br />

often, then either your disk filesystem is pretty fragmented or mballoc is doing<br />

something wrong in the group selection part.<br />

20.2.8 mballoc3 Tunables<br />

<strong>Lustre</strong> version <strong>1.6</strong>.1 and later includes mballoc3, which was built on top of mballoc2.<br />

By default, mballoc3 is enabled, and adds these features:<br />

■<br />

■<br />

■<br />

Pre-allocation for single files (helps to resist fragmentation)<br />

Pre-allocation for a group of files (helps to pack small files into large, contiguous<br />

chunks)<br />

Stream allocation (helps to decrease the seek rate)<br />

The following mballoc3 tunables are currently available:<br />

Field<br />

stats<br />

max_to_scan<br />

min_to_scan<br />

order2_req<br />

stream_req<br />

Description<br />

Enables/disables the collection of statistics. Collected statistics can be found<br />

in /proc/fs/ldiskfs2//mb_history.<br />

Maximum number of free chunks that mballoc finds before a final decision<br />

to avoid livelock.<br />

Minimum number of free chunks that mballoc finds before a final decision.<br />

This is useful for a very small request, to resist fragmentation of big free<br />

chunks.<br />

For requests equal to 2^N (where N >= order2_req), a very fast search via<br />

buddy structures is used.<br />

Requests smaller or equal to this value are packed together to form large<br />

write I/Os.<br />

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