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.

9.<strong>1.6</strong> <strong>Lustre</strong> Quota Statistics<br />

<strong>Lustre</strong> includes statistics that monitor quota activity, such as the kinds of quota RPCs<br />

sent during a specific period, the average time to complete the RPCs, etc. These<br />

statistics are useful to measure performance of a <strong>Lustre</strong> filesystem.<br />

Each quota statistic consists of a quota event and min_time, max_time and sum_time<br />

values for the event.<br />

Quota Event<br />

sync_acq_req<br />

sync_rel_req<br />

async_acq_req<br />

async_rel_req<br />

wait_for_blk_quota<br />

(lquota_chkquota)<br />

wait_for_ino_quota<br />

(lquota_chkquota)<br />

wait_for_blk_quota<br />

(lquota_pending_commit)<br />

wait_for_ino_quota<br />

(lquota_pending_commit)<br />

wait_for_pending_blk_quota_req<br />

(qctxt_wait_pending_dqacq)<br />

wait_for_pending_ino_quota_req<br />

(qctxt_wait_pending_dqacq)<br />

Description<br />

Quota slaves send a acquiring_quota request and<br />

wait for its return.<br />

Quota slaves send a releasing_quota request and<br />

wait for its return.<br />

Quota slaves send an acquiring_quota request and<br />

do not wait for its return.<br />

Quota slaves send a releasing_quota request and do<br />

not wait for its return.<br />

Before data is written to OSTs, the OSTs check if the<br />

remaining block quota is sufficient. This is done in<br />

the lquota_chkquota function.<br />

Before files are created on the MDS, the MDS checks<br />

if the remaining inode quota is sufficient. This is<br />

done in the lquota_chkquota function.<br />

After blocks are written to OSTs, relative quota<br />

information is updated. This is done in the<br />

lquota_pending_commit function.<br />

After files are created, relative quota information is<br />

updated. This is done in the<br />

lquota_pending_commit function.<br />

On the MDS or OSTs, there is one thread sending a<br />

quota request for a specific UID/GID for block<br />

quota at any time. At that time, if other threads<br />

need to do this too, they should wait. This is done<br />

in the qctxt_wait_pending_dqacq function.<br />

On the MDS, there is one thread sending a quota<br />

request for a specific UID/GID for inode quota at<br />

any time. If other threads need to do this too, they<br />

should wait. This is done in the<br />

qctxt_wait_pending_dqacq function.<br />

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