[LU-16087] show distribution information of jobstats Created: 11/Aug/22 Updated: 11/May/23 Resolved: 06/Dec/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Feng Lei | Assignee: | Feng Lei |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
JOBSTSTS has been very useful to understand what type of IO is coming from application per JOBID/UID and GID, but it also would be nice to have more stats (e.g. like RPC size, discontiguous pages, etc that is covered by "brw_stats" today) into JOBSTATS to understand detail IO workload/size per JOBID.
|
| Comments |
| Comment by Feng Lei [ 11/Aug/22 ] |
|
Copy from I'm going to add:
enum {
LPROCFS_CNTR_EXTERNALLOCK = 0x0001,
LPROCFS_CNTR_AVGMINMAX = 0x0002,
LPROCFS_CNTR_STDDEV = 0x0004,
LPROCFS_CNTR_HISTOGRAM = 0x0008,
...
LPROCFS_TYPE_BYTES_FULL_HISTOGRAM = LPROCFS_TYPE_BYTES_FULL | LPROCFS_CNTR_HISTOGRAM,
The output may be like:
read_pages: { samples: 0, unit: pages, min: 0, max: 0, sum: 0, sumsq: 0, histgram: {1: xxx, 2: yyy, 4: zzz, ...} }
|
| Comment by Gerrit Updater [ 22/Aug/22 ] |
|
"Feng, Lei <flei@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48278 |
| Comment by Gerrit Updater [ 06/Dec/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48278/ |
| Comment by Peter Jones [ 06/Dec/22 ] |
|
Landed for 2.16 |