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.

20.2.2 Watching the Client RPC Stream<br />

In the same directory is a file that gives a histogram of the make-up of previous<br />

RPCs.<br />

# cat /proc/fs/lustre/osc/spfs-OST0000-osc-c45f9c00/rpc_stats<br />

snapshot_time:<br />

1174867307.156604 (secs.usecs)<br />

read RPCs in flight: 0<br />

write RPCs in flight: 0<br />

pending write pages: 0<br />

pending read pages: 0<br />

read<br />

write<br />

pages per rpc rpcs % cum % | rpcs % cum %<br />

1: 0 0 0 | 0 0 0<br />

read<br />

write<br />

rpcs in flight rpcs % cum % | rpcs % cum %<br />

0: 0 0 0 | 0 0 0<br />

read<br />

write<br />

offset rpcs % cum % | rpcs % cum %<br />

0: 0 0 0 | 0 0 0<br />

RPCs in flight<br />

This represents the number of RPCs that are issued by the OSC but are not complete<br />

at the time of the snapshot. It should always be less than or equal to<br />

max_rpcs_in_flight.<br />

pending {read,write} pages<br />

These fields show the number of pages that have been queued for I/O in the OSC.<br />

other RPCs in flight when a new RPC is sent<br />

When an RPC is sent, it records the number of other RPCs that were pending in this<br />

table. When the first RPC is sent, the 0: row will be incremented. If the first RPC is<br />

sent while another is pending the 1: row will be incremented and so on. The number<br />

of RPCs that are pending as each RPC *completes* is not tabulated. This table is a<br />

good way of visualizing the concurrency of the RPC stream. Ideally you will see a<br />

large clump around the max_rpcs_in_flight value which shows that the network<br />

is being kept busy.<br />

pages in each RPC<br />

As an RPC is sent, the number of pages it is made of is recorded in order in this<br />

table. A single page RPC increments the 0: row, 128 pages the 7: row and so on.<br />

These histograms can be cleared by writing any value into the rpc_stats file.<br />

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