[LU-11698] Add debugfs file to print checksum speed Created: 25/Nov/18  Updated: 28/Jul/21  Resolved: 08/Jul/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.15.0

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Arshad Hussain
Resolution: Fixed Votes: 0
Labels: easy

Rank (Obsolete): 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.



 Comments   
Comment by Gerrit Updater [ 08/Jun/21 ]

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

Comment by Gerrit Updater [ 08/Jul/21 ]

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

Comment by Peter Jones [ 08/Jul/21 ]

Landed for 2.15

Comment by Andreas Dilger [ 27/Jul/21 ]

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?

Comment by Arshad Hussain [ 28/Jul/21 ]

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

Generated at Sat Feb 10 02:46:09 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.