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.

The following tunables, providing more control over allocation policy, will be<br />

available in the next version:<br />

Field<br />

stats<br />

max_to_scan<br />

min_to_scan<br />

order2_req<br />

small_req<br />

large_req<br />

prealloc_table<br />

group_prealloc<br />

Description<br />

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

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

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

decision to avoid livelock.<br />

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

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

big free chunks.<br />

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

buddy structures is used.<br />

All requests are divided into 3 categories:<br />

< small_req (packed together to form large, aggregated requests)<br />

< large_req (allocated mostly in linearly)<br />

> large_req (very large requests so the arm seek does not matter)<br />

The idea is that we try to pack small requests to form large requests, and<br />

then place all large requests (including compound from the small ones)<br />

close to one another, causing as few arm seeks as possible.<br />

The amount of space to preallocate depends on the current file size. The<br />

idea is that for small files we do not need 1 MB preallocations and for<br />

large files, 1 MB preallocations are not large enough; it is better to<br />

preallocate 4 MB.<br />

The amount of space preallocated for small requests to be grouped.<br />

Chapter 20 <strong>Lustre</strong>Proc 20-23

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

Saved successfully!

Ooh no, something went wrong!