[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 |
| Comment by Gerrit Updater [ 08/Jul/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43943/ |
| 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 |