No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Advanced O&M Command Reference

OceanStor 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
grain showAllocAlg

grain showAllocAlg

Function

grain showAllocAlg command is used to display statistics of the allocation tree.

Format

grain showAllocAlg fsid type

Parameters

Parameter

Description

Value

fsid

File system ID.

To obtain the value, run the "show file_system general" command.

type

The type of alloter.

The value can be "0", "1", or "2". where:

  • 0: All alloters.
  • 1: Data alloters.
  • 2: Meta allocters.

Views

Diagnostic view

Usage Guidelines

None

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.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 500288

Downloads: 85

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next