[LUDOC-148] Please document mb_groups buddy cache proc output Created: 21/May/13 Updated: 24/Sep/13 Resolved: 24/Sep/13 |
|
| Status: | Resolved |
| Project: | Lustre Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Colin Faber [X] (Inactive) | Assignee: | Linda Bebernes (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | QContent | ||
| Business Value: | 20 |
| Rank (Obsolete): | 8350 |
| Description |
|
Currently both ext4 and ldiskfs provide /proc/fs/ {ext4 | ldiskfs}/<dev>/mb_groups output. This file is referenced in many kernel documents however other than noting that it's providing data on buddy group cache info, it doesn't bother documenting any further. Below is sample output from this file, it would be extremely useful for this to be fully documented and understood. #0 : 23147 1 9280 [ 1 1 0 1 0 1 1 0 0 1 0 1 1 2 ] |
| Comments |
| Comment by Colin Faber [X] (Inactive) [ 21/May/13 ] |
|
On 2013-05-20, at 16:41, "Colin Faber" <cfaber@gmail.com> wrote: Hi Colin, > The output format looks like: My guess is that these stats are the dump of the mballoc buddy bitmap table showing for each group in the filesystem:
Could you please file an LUDOC ticket in Jira with these comments, so they can go into the manual after 31.2.11, and hopefully they can be vetted by Alex (who wrote this code). Cheers, Andreas |
| Comment by Jodi Levi (Inactive) [ 04/Jun/13 ] |
|
Hi John! |
| Comment by Colin Faber [X] (Inactive) [ 04/Jun/13 ] |
|
Hi, Bzzz is probably the right person to comment here as he wrote the code. -cf |
| Comment by Alex Zhuravlev [ 19/Sep/13 ] |
|
hm, I actually see slightly different format in the master branch:
where columns are:
|
| Comment by Linda Bebernes (Inactive) [ 19/Sep/13 ] |
|
Alex - Thanks for the column definitions. Should mb_groups be documented as an option in the table in Section 31.2 "Tuning Multi-Block Alocation (mballoc)? Or does it go somewhere else? |
| Comment by Alex Zhuravlev [ 19/Sep/13 ] |
|
well, this isn't an option. this is stats available to the users/administrators/developers so they can see/analyze on-disk fragmentation. not to be used often, I guess. |
| Comment by Linda Bebernes (Inactive) [ 23/Sep/13 ] |
|
Change pushed to gerrit for review http://review.whamcloud.com/#/c/7728/ |
| Comment by Linda Bebernes (Inactive) [ 24/Sep/13 ] |
|
Approved and merged. Marking this resolved. |