Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-7880

add performance statistics to obd_statfs

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      In order to facilitate transfer of OST and MDT performance statistics for userspace applications, such as global NRS scheduling, SCR checkpoint scheduling, QOS and allocation decisions on the MDS, etc, it is useful to transport them via obd_statfs to the clients.

      The statistics should include decaying average (peak and current) (RPC operations per second, KB read per second, and KB written per second).

      The OSS and MDS already collect these statistics for presentation via /proc and it should be possible to include them into struct obd_statfs in the os_spare2-7 or os_spare4-9 fields.

      The stats should be fetched and printed with lfs df -P|--perf command for all targets, but not for regular statfs() requests. With LU-10018 "MDT as a statfs() proxy", the MDT_STATFS request now has an mdt_body in the request which can be used to request different behaviour for the RPC.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wc-triage WC Triage
                Reporter:
                adilger Andreas Dilger
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: