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.

Quota Event<br />

nowait_for_pending_blk_quota_req<br />

(qctxt_wait_pending_dqacq)<br />

nowait_for_pending_ino_quota_req<br />

(qctxt_wait_pending_dqacq)<br />

quota_ctl<br />

adjust_qunit<br />

Description<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. When threads enter<br />

qctxt_wait_pending_dqacq, they do not need to<br />

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

function.<br />

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

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

time. When threads enter<br />

qctxt_wait_pending_dqacq, they do not need to<br />

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

function.<br />

The quota_ctl statistic is generated when lfs<br />

setquota, lfs quota and so on, are issued.<br />

Each time qunit is adjusted, it is counted.<br />

9.<strong>1.6</strong>.1 Interpreting Quota Statistics<br />

Quota statistics are an important measure of a <strong>Lustre</strong> filesystem’s performance.<br />

Interpreting these statistics correctly can help you diagnose problems with quotas,<br />

and may indicate adjustments to improve system performance.<br />

For example, if you run this command on the OSTs:<br />

cat /proc/fs/lustre/lquota/lustre-OST0000/stats<br />

You will get a result similar to this:<br />

snapshot_time<br />

1219908615.506895 secs.usecs<br />

async_acq_req 1 samples [us]32 32 32<br />

async_rel_req 1 samples [us]5 5 5<br />

nowait_for_pending_blk_quota_req(qctxt_wait_pending_dqacq) 1 samples [us] 2 2 2<br />

quota_ctl 4 samples [us]80 3470 4293<br />

adjust_qunit 1 samples [us]70 70 70<br />

....<br />

In the first line, snapshot_time indicates when the statistics were taken. The<br />

remaining lines list the quota events and their associated data.<br />

In the second line, the async_acq_req event occurs one time. The min_time,<br />

max_time and sum_time statistics for this event are 32, 32 and 32, respectively. The<br />

unit is microseconds (µs).<br />

In the fifth line, the quota_ctl event occurs four times. The min_time, max_time and<br />

sum_time statistics for this event are 80, 3470 and 4293, respectively. The unit is<br />

microseconds (µs).<br />

Chapter 9 Configuring Quotas 9-13

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

Saved successfully!

Ooh no, something went wrong!