From d4a52c4d883fc68085c312ffea85b6cee1ba3594 Mon Sep 17 00:00:00 2001 From: Linda Bebernes Date: Mon, 23 Sep 2013 09:38:09 -0700 Subject: [PATCH] LUDOC-148 LustreProc: Documented buddy group cache content. Added information about buddy group cache to Section 31.2 (mballoc). Signed-off-by: Linda Bebernes Change-Id: I19ce6b58d4b0f4516856564e395c0ef8b5fabe70 Reviewed-on: http://review.whamcloud.com/7728 Reviewed-by: Richard Henwood Tested-by: Hudson --- LustreProc.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/LustreProc.xml b/LustreProc.xml index d41b089..1341e62 100644 --- a/LustreProc.xml +++ b/LustreProc.xml @@ -297,6 +297,37 @@ testfs-MDT0000 + Buddy group cache information found in + /proc/fs/ldiskfs/disk_device/mb_groups may + be useful for assessing on-disk fragmentation. For + example:cat /proc/fs/ldiskfs/loop0/mb_groups +#group: free free frags first pa [ 2^0 2^1 2^2 2^3 2^4 2^5 2^6 2^7 2^8 2^9 + 2^10 2^11 2^12 2^13] +#0 : 2936 2936 1 42 0 [ 0 0 0 1 1 1 1 2 0 1 + 2 0 0 0 ] + In this example, the columns show: + + #group number + + + Available blocks in the group + + + Blocks free on a disk + + + Number of free fragments + + + First free block in the group + + + Number of preallocated chunks (not blocks) + + + A series of available chunks of different sizes + +
Monitoring Lustre File System I/O -- 1.8.3.1