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

Add debugfs file to print checksum speed

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • 9223372036854775807

    Description

      Add a /sys or /sys/kernel/debug file that prints out the speed of the different checksum types. This is computed at libcfs module insert time and logged into the debug log, but are not available if the debug log has wrapped.

      Attachments

        Activity

          [LU-11698] Add debugfs file to print checksum speed

          Andreas, yes. I will take this up. Opened LU-14889 for this.

          arshad512 Arshad Hussain added a comment - Andreas, yes. I will take this up. Opened LU-14889 for this.

          Arshad, one thing I noticed is that there are "{osc,mdc}.*.checksum_type files on the client, but there are no corresponding "{mdt,ofd}.*.checksum_type" files on the servers that report which checksum types are currently supported. It isn't possible to see this just from the client-side checksum_type because those may only list the fastest subset of types reported by the server.

          Would you be interested to implement this?

          adilger Andreas Dilger added a comment - Arshad, one thing I noticed is that there are "{ osc,mdc}.*.checksum_type files on the client, but there are no corresponding "{ mdt,ofd}.*.checksum_type " files on the servers that report which checksum types are currently supported. It isn't possible to see this just from the client-side checksum_type because those may only list the fastest subset of types reported by the server. Would you be interested to implement this?
          pjones Peter Jones added a comment -

          Landed for 2.15

          pjones Peter Jones added a comment - Landed for 2.15

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43943/
          Subject: LU-11698 libcfs: Add checksum speed under /sys/fs
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: d775f9ae37975c853984b67f6d1a21e6ec8a8c3d

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43943/ Subject: LU-11698 libcfs: Add checksum speed under /sys/fs Project: fs/lustre-release Branch: master Current Patch Set: Commit: d775f9ae37975c853984b67f6d1a21e6ec8a8c3d

          Arshad Hussain (arshad.hussain@aeoncomputing.com) uploaded a new patch: https://review.whamcloud.com/43943
          Subject: LU-11698 libcfs: Add checksum speed in debugfs
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: ec239b70d53e0e43a4c29f1265fe3d65de339b68

          gerrit Gerrit Updater added a comment - Arshad Hussain (arshad.hussain@aeoncomputing.com) uploaded a new patch: https://review.whamcloud.com/43943 Subject: LU-11698 libcfs: Add checksum speed in debugfs Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: ec239b70d53e0e43a4c29f1265fe3d65de339b68

          People

            arshad512 Arshad Hussain
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: