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 2800 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand 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).
cmm show page

cmm show page

Function

The cmm show page command is used to view basic information about pages.

Format

cmm show page zero

cmm show page address <addr>

cmm show page ctrl address <addr>

cmm show page statistics

cmm show page statistics sort module

cmm show page statistics sort function

Parameters

Parameter

Description

Value

addr

Address of the page control header.

The value is a hexadecimal number.

Views

Diagnostic view

Usage Guidelines

None

Example

  • View basic information about zero pages.
    admin:/diagnose>cmm show page zero------------------------------------------------------- zero page with dif------------------------------------------------------- page ctrl address : ffff880164e20000 page address         : ffff880164e21000 ref counter          : 3 func name            : zero_page_with_dif_init flags (free/busy) : busy isolate              : 0 valid bitmap         : ff zero flags           : zero lock                 : 4096 module id            : 21 module name          : CMM------------------------------------------------------- zero page without dif------------------------------------------------------- page ctrl address : ffff880164e20038 page address         : ffff880164e23000 ref counter          : 3 func name            : zero_page_without_dif_init flags (free/busy) : busy isolate              : 0 valid bitmap         : ff zero flags           : zero lock                 : 4096 module id            : 21 module name          : CMM
  • View page control headers based on the page address.
    admin:/diagnose>cmm show page address ffff880e7e8cc700 
    ------------------------------------------------------- 
     The page ctrl information of address (ffff880e7e8cc700) 
    ------------------------------------------------------- 
     page ctrl address : ffff880dd368c000 
     page address         : ffff880e7e8cc700 
     ref counter          : 1 
     func name            : cmm_alloc_multi_page_from_node_just_for_exp_slab_part 
     flags (free/busy) : busy 
     isolate              : 0 
     valid bitmap         : 0 
     zero flags           : non zero 
     lock                 : 1792 
     module id            : 21 
     module name          : CMM
  • View page control headers based on the page control header address.
    admin:/diagnose>cmm show page ctrl address ffff8802b9e78000 
    ------------------------------------------------------- 
     The page ctrl information of address (ffff8802b9e78000) 
    ------------------------------------------------------- 
     page ctrl address : ffff8802b9e78000 
     page address         : ffff8802be718740 
     ref counter          : 1 
     func name            : cmm_alloc_multi_page_from_node_just_for_exp_slab_part 
        flags (free/busy) : busy 
     isolate              : 0 
     valid bitmap         : 0 
     zero flags           : non zero 
     lock                 : 1856 
     module id            : 21 
     module name          : CMM
  • View page usage.
    admin:/diagnose>cmm show page statistics 
              Cpu ID Cached Page Count Alloced Count      Freed Count  Flush Cache Count 
    ---------------- ----------------- ---------------- ---------------- ------------------ 
                   0               577         30573547         34687939                  0 
                   1              9559         30429556         31693762                  0 
                   2               651         30491974         31000361                  0 
                   3              9569         29946909         23447595                  0 
             Numa ID  Free Page Count  Busy Page Count 
    ---------------- ---------------- ---------------- 
                   0           953764           632685 
      
     The page usage statistics 
            Total Page Count           :          1586449 
            Total Free Page Count      :           974120 
            All Cached Page Count      :            20356 
            Partition Free Page Count  :           953764 
            Total Busy Page            :           612329 
            Total Alloced Page Count :        121441986 
            Total Freed Page Count     :        120829657
  • View page usage and output the usage based on the module type.
    admin:/diagnose>cmm show page statistics sort module 
    --------------------------------------------------------------------------------------------- 
      
     The page statistics sorted with module id 
      
            The statistics module number is 22 
    --------------------------------------------------------------------------------------------- 
      
           Module ID               Module Name      Alloc Count       Free Count       Busy Count 
                  22                     CACHE        103948322        103512277           436045 
                 220                     BTREE          8220032          8219748              284 
                 229                       XRB          3934469          3880022            54447 
                 200                       LUN          1873370          1842565            30805 
                 210                     RAID5          1541310          1541310                0 
                 158                    BDM_BA          1076575          1076575                0 
                 207                   DISKLOG           448478           448478                0 
                21                       CMM           140955            99986            40969 
                 205                   CKG_IOF            60753            12590            48163 
                 252                   LOGZONE            59095            57636             1459 
                 151                       BDM            43011            43011                0 
                 602                       DLM            36296            36296                0 
                 203                       VOL            23119            23119                0 
                  47                       SYS            20646            20646                0 
                 214                   NODEMGR            11303            11273               30 
                 215                    LAYOUT             3503             3376              127 
                 257                 WRITEHOLE              318              318                0 
                 154                   BDM_HDM              268              268                0 
                 152                    BDM_SD              109              109                0 
                 213                  BACKSCAN               36               36                0 
                 155                    BDM_MP               14               14                0 
                  93               RSS_UTILITY                4                4                0
  • View page usage and output the usage based on the function type.
    admin:/diagnose>cmm show page statistics sort function 
    ------------------------------------------------- 
      
     The page statistics sorted with function name 
      
            The statistics function number is 18 
    ------------------------------------------------- 
      
                       Function Name            Count 
             dispatchAllocPageAndSgl           434662 
               XRB_AllocInternalPage            54447 
                    allocCkgReadPage            48163 
    cmm_alloc_multi_page_from_node_just_for_exp_slab_part            40000 
                  devLunDoWriteAlloc            30805 
            batchAllocReadPageForBDM             1210 
                   allocReadPeerPage             1178 
     cmm_alloc_one_page_from_node              969 
                 transToWriteNodeSgl              284 
              allocWriteLogPageInner              245 
          addByteCacheDataAllocChunk              142 
              allocVolumeObjResource              100 
     checkReadDataFromReadCKLDone               63 
                 allocWritePagesWrap               30 
              allocMobjWriteSglStart               24 
                   batchGetLogRemote                4 
                allocLogWritePageAct                3 
                kill_cross_4GB_pages                2

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Cpu ID

Processor ID.

Cached Page Count

Count of processor cache pages.

Alloced Count

Count of processor page allocations.

Freed Count

Count of processor page release.

Flush Cache Count

Count of processor cache flushes.

Numa ID

Numa ID.

Free Page Count

Count of free pages.

Busy Page Count

Count of busy pages.

Total Page Count

Total count of pages.

page ctrl address

Address of the page control header.

page address

Page address.

ref counter

Count of references.

func name

Interface for invoking zero pages.

flags (free/busy)

Flag of zero page status.

zero flags

Zero page flag.

isolate

Page isolating status.

module id

Module ID.

module name

Module name.

Module ID

Module ID.

Module Name

Module name.

Alloc Count

Count of module page allocations.

Free Count

Count of module page release.

Busy Count

Count of module busy pages.

Function Name

Function name.

Count

Count of function used pages.

lock

Index of the page lock.

Total Free Page Count

Total count of free pages, including page partitions and cached free pages.

Total Busy Page

Total count of busy pages.

Total Alloced Page Count

Total count of page allocations.

Total Freed Page Count

Total count of page release.

All Cached Page Count

Count of pages cached in a page partition.

Partition Free Page Count

Count of free pages in a page partition.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 725434

Downloads: 36

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