grain showAllocAlg
Parameters
Parameter |
Description |
Value |
---|---|---|
fsid | File system ID. | To obtain the value, run the "show file_system general" command. |
type | The type of the alloter. | The value can be "0", "1", or "2", where:
|
Example
Displays statistics of the allocation tree.
admin:/diagnose>grain showAllocAlg 1 0 Alloc ALG Info : Offset Tree Node NUM : [24]. Size Tree Node NUM : [24]. Alloc Tree Node NUM : [24]. Merge M Tree Node NUM: [0]. Bimap Offset Tree Node NUM : [0]. Bimap Size Tree Node NUM : [0]. Merge B Tree Node NUM: [0]. Extent Tree Node NUM : [24]. Extent Dirty Node NUM: [0]. Buffer Tree Node NUM : [0]. Min Out Block ID : [NA]. Max Out Block ID : [NA]. Out Memory Times : [0]. In Memory Times : [0]. Dirty Tree Node NUM : [0]. Block Size : [4194304]. Alloc algTreeIn Size : [100663296]. Alloc algTreeOut Size: [0]. Total Size : [100663296]. Grain struct Tatal Num: [33816576]. Grain struct used Num: [77]. Dirty struct Tatal Num: [512000]. Dirty struct used Num: [0].
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Offset Tree Node NUM | Number of AVL allocation tree nodes in the memory. |
Size Tree Node NUM | Number of AVL allocation tree nodes in the memory. |
Alloc Tree Node NUM | Number of B+tree items of the allocation tree's disks. |
Merge M Tree Node NUM | Number of B+tree items of the big-block B-tree's disks. |
Bimap Offset Tree Node NUM | Number of AVL tree nodes in the memory. |
Bimap Size Tree Node NUM | Number of AVL tree nodes in the memory. |
Merge B Tree Node NUM | Number of B+tree items of the bitmap B-tree's disks. |
Extent Tree Node NUM | Number of B+tree items of the extent tree's disks. |
Extent Dirty Node NUM | Number of nodes of the extent tree's dirty node trees. |
Buffer Tree Node NUM | Number of AVL tree nodes on the delayed-release submodule. |
Min Out Block ID | Minimum extent Id that is swapped out. |
Max Out Block ID | Maximum extent Id that is swapped out. |
Out Memory Times | Times of swapping out. |
In Memory Times | Times of swapping in. |
Dirty Tree Node NUM | Number of nodes of the allocation tree's dirty node trees. |
Block Size | Extent size, expressed in bytes. |
Alloc algTreeIn Size | Space of all disks added to the allocation tree, expressed in bytes. |
Alloc algTreeOut Size | Space of all disks retrieved from the allocation tree, expressed in bytes. |
Total Size | Space of all disks managed by the distributor, expressed in bytes. |
Grain struct Tatal Num | Number of the total reserved GRAIN_INFO_S structures. |
Grain struct used Num | Number of the total used GRAIN_INFO_S structures. |
Dirty struct Tatal Num | Number of the total reserved DIRTY_NODE_S structures. |
Dirty struct used Num | Number of the total used DIRTY_NODE_S structures. |