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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F V5. 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.

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).
dpumm_shm show meminfo

dpumm_shm show meminfo

Function

The dpumm_shm show meminfo command is used to show details about the shared memory pool.

Format

dpumm_shm show meminfo all usermode

dpumm_shm show meminfo -po <poolId> usermode

dpumm_shm show meminfo -pn <poolName> usermode

dpumm_shm show meminfo -m <moduleId> usermode

Parameters

Parameter

Description

Value

poolId Memory pool ID.

-

partId Partition ID.

-

poolName Memory pool name.

The length ranges from 1 to 32.

moduleId Module ID.

The value ranges from 1 to 1024.

usermode This parameter is mandatory. It must be added to the end of a command as a suffix to query user state information.

The value can be:

  • "-app_data": executes the command for the app_data process.
  • "-devm": executes the command for the devm process.
  • "-sys_app": executes the command for the sys_app process.
  • "-cfg_app": executes the command for the cfg_app process.

Views

Diagnostic view

Usage Guidelines

OceanStor 18500 V5 Kunpeng, 18500F V5 Kunpeng, 18800 V5 Kunpeng and 18800F V5 Kunpeng storage systems support this command.

Example

  • Show information about all memory pools.

    admin:/diagnose> dpumm_shm show meminfo all -app_data
    Partition ID   Pool ID      Min Count  Max Count  Used Count   Used Ratio(%)  Used Peak Count  Peak/Max(%)  Use Peak Time            Obj Size Real(Byte)    Owner ID  Owner Name       Memory(Byte)             Partition Name                  
    -------------- ------------ ---------- ---------- ------------ -------------- ---------------- ------------ ------------------------ --------------------   --------- ---------------- ------------------------ --------------------------------
    0x0            0xffff0001   1          1          1            100            1                100          2019-07-22 16:47:13      96731504               385       dpumm_shm          92M  776K  368B        shm_op_hist_pool                
  • Show details about the specified memory pool.

    admin:/diagnose> dpumm_shm show meminfo -po 0x98100001 -app_data
    Global information: 
      Module ID                :  385    
      Part Key                 :  0x98100000 
      Pool Key                 :  0x98100001 
      Pool Name                :  global_page_pool    
      Create Attribute         :  0x48  
      Runtime Attribute        :  0x2 
      Pool Meta Size           :  0x42000 
      Slice Size               :  4232   
      Align Size               :  64   
      Slice Whole Size         :  4288   
      Fix Slice Count          :  1000    
      Fix Slice Count Real     :  1000    
      Max Slice Count          :  1000    
      Max Slice Count Real     :  1000    
      Once Cache Number        :  8    
      Expand Slab Slice Number :  0    
      Max Expand Slab Count    :  0    
      Leak Timeout             :  15 min
      Alloc Failure Time       :  0xffffffffffffffff 
      Used Slice Count         :  0   
      Thread Cache Count       :  0   
      Fill Cpu Cache Count     :  0   
      Flush Cpu Cache Count    :  0   
      Reclaim Count            :  0   
      Slice Used Peak Count    :  0   
      Slice Peak/Max(%)        :  0   
      Slice Used Peak Time     :  NA    
      Node                     :  0    
      User Address Range       :  0x140aad89000x - 0x140aaf94700x    
      Kernel Address Range     :  0xffff8040aad89000x - 0xffff8040aaf94700x    
      Object Number            :  500   
      Free Number              :  500   
      Expand Slab Count Full   :  0   
      Expand Slab Count Partial:  0   
      Expand Slab Count Empty  :  0   
      Expand Slab Count All    :  0   
      Node                     :  1    
      User Address Range       :  0x21412c4a7000x - 0x21412c6b2700x    
      Kernel Address Range     :  0xffffa0412c4a7000x - 0xffffa0412c6b2700x    
      Object Number            :  500   
      Free Number              :  500   
      Expand Slab Count Full   :  0   
      Expand Slab Count Partial:  0   
      Expand Slab Count Empty  :  0   
      Expand Slab Count All    :  0   
    Thread Cache Information : 
     Number |  Thread ID |  Thread Cache | CPU ID | Numa ID | Total Count| node0 fill : flush | node1 fill : flush 
    CPU Cache Information : 
     CPU ID | Total Count |  Free Count 
    CPU Data Information : 
     CPU ID |  Numa ID| node0 fill : flush | node1 fill : flush  
          0 |        0|        0 :       0 |        0 :       0  
          1 |        0|        0 :       0 |        0 :       0  
          2 |        0|        0 :       0 |        0 :       0  
          3 |        0|        0 :       0 |        0 :       0  
          4 |        0|        0 :       0 |        0 :       0  
          5 |        0|        0 :       0 |        0 :       0  
          6 |        0|        0 :       0 |        0 :       0  
          7 |        0|        0 :       0 |        0 :       0  
          8 |        0|        0 :       0 |        0 :       0  
          9 |        0|        0 :       0 |        0 :       0  
         10 |        0|        0 :       0 |        0 :       0  
         11 |        0|        0 :       0 |        0 :       0  
         12 |        0|        0 :       0 |        0 :       0  
         13 |        0|        0 :       0 |        0 :       0  
         14 |        0|        0 :       0 |        0 :       0  
         15 |        0|        0 :       0 |        0 :       0  
         16 |        0|        0 :       0 |        0 :       0  
         17 |        0|        0 :       0 |        0 :       0  
         18 |        0|        0 :       0 |        0 :       0  
         19 |        0|        0 :       0 |        0 :       0  
         20 |        0|        0 :       0 |        0 :       0  
         21 |        0|        0 :       0 |        0 :       0  
         22 |        0|        0 :       0 |        0 :       0  
         23 |        0|        0 :       0 |        0 :       0  
         24 |        0|        0 :       0 |        0 :       0  
         25 |        0|        0 :       0 |        0 :       0  
         26 |        0|        0 :       0 |        0 :       0  
         27 |        0|        0 :       0 |        0 :       0  
         28 |        0|        0 :       0 |        0 :       0  
         29 |        0|        0 :       0 |        0 :       0  
         30 |        0|        0 :       0 |        0 :       0  
         31 |        0|        0 :       0 |        0 :       0  
         32 |        0|        0 :       0 |        0 :       0  
         33 |        0|        0 :       0 |        0 :       0  
         34 |        0|        0 :       0 |        0 :       0  
         35 |        0|        0 :       0 |        0 :       0  
         36 |        0|        0 :       0 |        0 :       0  
         37 |        0|        0 :       0 |        0 :       0  
         38 |        0|        0 :       0 |        0 :       0  
         39 |        0|        0 :       0 |        0 :       0  
         40 |        0|        0 :       0 |        0 :       0  
         41 |        0|        0 :       0 |        0 :       0  
         42 |        0|        0 :       0 |        0 :       0  
         43 |        0|        0 :       0 |        0 :       0  
         44 |        0|        0 :       0 |        0 :       0  
         45 |        0|        0 :       0 |        0 :       0  
         46 |        0|        0 :       0 |        0 :       0  
         47 |        0|        0 :       0 |        0 :       0  
         48 |        1|        0 :       0 |        0 :       0  
         49 |        1|        0 :       0 |        0 :       0  
         50 |        1|        0 :       0 |        0 :       0  
         51 |        1|        0 :       0 |        0 :       0  
         52 |        1|        0 :       0 |        0 :       0  
         53 |        1|        0 :       0 |        0 :       0  
         54 |        1|        0 :       0 |        0 :       0  
         55 |        1|        0 :       0 |        0 :       0  
         56 |        1|        0 :       0 |        0 :       0  
         57 |        1|        0 :       0 |        0 :       0  
         58 |        1|        0 :       0 |        0 :       0  
         59 |        1|        0 :       0 |        0 :       0  
         60 |        1|        0 :       0 |        0 :       0  
         61 |        1|        0 :       0 |        0 :       0  
         62 |        1|        0 :       0 |        0 :       0  
         63 |        1|        0 :       0 |        0 :       0  
         64 |        1|        0 :       0 |        0 :       0  
         65 |        1|        0 :       0 |        0 :       0  
         66 |        1|        0 :       0 |        0 :       0  
         67 |        1|        0 :       0 |        0 :       0  
         68 |        1|        0 :       0 |        0 :       0  
         69 |        1|        0 :       0 |        0 :       0  
         70 |        1|        0 :       0 |        0 :       0  
         71 |        1|        0 :       0 |        0 :       0  
         72 |        1|        0 :       0 |        0 :       0  
         73 |        1|        0 :       0 |        0 :       0  
         74 |        1|        0 :       0 |        0 :       0  
         75 |        1|        0 :       0 |        0 :       0  
         76 |        1|        0 :       0 |        0 :       0  
         77 |        1|        0 :       0 |        0 :       0  
         78 |        1|        0 :       0 |        0 :       0  
         79 |        1|        0 :       0 |        0 :       0  
         80 |        1|        0 :       0 |        0 :       0  
         81 |        1|        0 :       0 |        0 :       0  
         82 |        1|        0 :       0 |        0 :       0  
         83 |        1|        0 :       0 |        0 :       0  
         84 |        1|        0 :       0 |        0 :       0  
         85 |        1|        0 :       0 |        0 :       0  
         86 |        1|        0 :       0 |        0 :       0  
         87 |        1|        0 :       0 |        0 :       0  
         88 |        1|        0 :       0 |        0 :       0  
         89 |        1|        0 :       0 |        0 :       0  
         90 |        1|        0 :       0 |        0 :       0  
         91 |        1|        0 :       0 |        0 :       0  
         92 |        1|        0 :       0 |        0 :       0  
         93 |        1|        0 :       0 |        0 :       0  
         94 |        1|        0 :       0 |        0 :       0  
         95 |        1|        0 :       0 |        0 :       0  
         96 |        1|        0 :       0 |        0 :       0  
         97 |        1|        0 :       0 |        0 :       0  
         98 |        1|        0 :       0 |        0 :       0  
         99 |        1|        0 :       0 |        0 :       0  
        100 |        1|        0 :       0 |        0 :       0  
        101 |        1|        0 :       0 |        0 :       0  
        102 |        1|        0 :       0 |        0 :       0  
        103 |        1|        0 :       0 |        0 :       0  
        104 |        1|        0 :       0 |        0 :       0  
        105 |        1|        0 :       0 |        0 :       0  
        106 |        1|        0 :       0 |        0 :       0  
        107 |        1|        0 :       0 |        0 :       0  
        108 |        1|        0 :       0 |        0 :       0  
        109 |        1|        0 :       0 |        0 :       0  
        110 |        1|        0 :       0 |        0 :       0  
        111 |        1|        0 :       0 |        0 :       0  
        112 |        1|        0 :       0 |        0 :       0  
        113 |        1|        0 :       0 |        0 :       0  
        114 |        1|        0 :       0 |        0 :       0  
        115 |        1|        0 :       0 |        0 :       0  
        116 |        1|        0 :       0 |        0 :       0  
        117 |        1|        0 :       0 |        0 :       0  
        118 |        1|        0 :       0 |        0 :       0  
        119 |        1|        0 :       0 |        0 :       0  
        120 |        1|        0 :       0 |        0 :       0  
        121 |        1|        0 :       0 |        0 :       0  
        122 |        1|        0 :       0 |        0 :       0  
        123 |        1|        0 :       0 |        0 :       0  
        124 |        1|        0 :       0 |        0 :       0  
        125 |        1|        0 :       0 |        0 :       0  
        126 |        1|        0 :       0 |        0 :       0  
        127 |        1|        0 :       0 |        0 :       0  
        128 |        1|        0 :       0 |        0 :       0  
        129 |        1|        0 :       0 |        0 :       0  
        130 |        1|        0 :       0 |        0 :       0  
        131 |        1|        0 :       0 |        0 :       0  
        132 |        1|        0 :       0 |        0 :       0  
        133 |        1|        0 :       0 |        0 :       0  
        134 |        1|        0 :       0 |        0 :       0  
        135 |        1|        0 :       0 |        0 :       0  
        136 |        1|        0 :       0 |        0 :       0  
        137 |        1|        0 :       0 |        0 :       0  
        138 |        1|        0 :       0 |        0 :       0  
        139 |        1|        0 :       0 |        0 :       0  
        140 |        1|        0 :       0 |        0 :       0  
        141 |        1|        0 :       0 |        0 :       0  
        142 |        1|        0 :       0 |        0 :       0  
        143 |        1|        0 :       0 |        0 :       0  
    Func Information : 
       Index |                        Func Name |   Mod Id |             Mod Name| node0 fill : flush | node1 fill : flush  
  • Show information about the memory pool whose name is specified.

    admin:/diagnose> dpumm_shm show meminfo -pn shm_usage_pool -app_data
    Partition ID   Pool ID      Min Count  Max Count  Used Count   Used Ratio(%)  Used Peak Count  Peak/Max(%)  Use Peak Time            Obj Size Real(Byte)    Owner ID  Owner Name       Memory(Byte)             Partition Name                  
    -------------- ------------ ---------- ---------- ------------ -------------- ---------------- ------------ ------------------------ --------------------   --------- ---------------- ------------------------ --------------------------------
    0xb50000       0xb50001     6          6          0            0              1                16           2019-07-22 17:19:51      664                    385       dpumm_shm         523K  912B              shm_usage_pool                  
  • Show information about the memory pool whose module is specified.

    admin:/diagnose> dpumm_shm show meminfo -m 385 -app_data
     Displays mem information for all mempools belonging to modId(385).
    Partition ID   Pool ID      Min Count  Max Count  Used Count   Used Ratio(%)  Used Peak Count  Peak/Max(%)  Use Peak Time            Obj Size Real(Byte)    Owner ID  Owner Name       Memory(Byte)             Partition Name                  
    -------------- ------------ ---------- ---------- ------------ -------------- ---------------- ------------ ------------------------ --------------------   --------- ---------------- ------------------------ --------------------------------
    0x0            0xffff0001   1          1          1            100            1                100          2019-07-22 16:47:13      96731504               385       dpumm_shm          92M  776K  368B        shm_op_hist_pool                
    0xb40000       0xb40002     10000      10000      0            0              0                0            NA                       128                    385       dpumm_shm           1M  754K              SHM_PAGE_REQUEST_POOL           
    0xb50000       0xb50001     6          6          0            0              1                16           2019-07-22 17:19:51      664                    385       dpumm_shm         523K  912B              shm_usage_pool                  
    0xb40000       0xb40001     1          1          0            0              0                0            NA                       393248                 385       dpumm_shm         912K   32B              SHM_PAGE_LOCK_POOL              
    0xb30000       0xb30003     144        144        7            4              7                4            2019-07-22 17:39:07      286752                 385       dpumm_shm          39M  916K  512B        SHM_LOCALCACHE_PTHEARD_POOL     
    0x0            0x98130001   1          1          0            0              1                100          2019-07-22 16:47:26      528384                 385       dpumm_shm           1M   20K              reserved_memory_for_sys_recover 
    0x0            0x98120001   1          1          0            0              1                100          2019-07-22 16:47:26      10489856               385       dpumm_shm          10M  532K              reserved_memory_for_transaction 
    0x98100000     0x98100001   1000       1000       0            0              0                0            NA                       4288                   385       dpumm_shm           4M  619K  512B        global_page_pool                

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Partition ID

Partition ID.

Pool ID

ID of a memory pool.

Min Count

Number of reserved memory slices.

Max Count

Maximum number of memory slices.

Used Count

Number of used memories.

Used Ratio(%)

Ratio of used slices.

Used Peak Cnt

Peak number of used slices.

Peak/Max(%)

Percentage of the peak number of used slices to the maximum number of memory slices.

Use Peak Time

Peak usage time.

Obj Size Real(Byte)

Memory slice size.

Owner ID

ID of the module to which the memory belongs.

Owner Name

Name of the module to which the memory belongs.

Memory(Byte)

Size of the reserved memory, in bytes.

Partition Name

Partition name.

Module ID

Module ID.

Part Key

Partition key.

Pool Key

Memory pool key.

Pool Name

Name of a memory pool.

Create Attribute

Attribute when the pool is created.

Runtime Attribute

Attribute when the system is running.

Pool Meta Size

Size of metadata in the memory pool.

Slice Size

Memory slice size.

Align Size

Address alignment length.

Slice Whole Size

Total size of a memory slice.

Fix Slice Count

Number of reserved memories.

Fix Slice Count Real

Actual number of reserved memories.

Max Slice Count

Maximum number of memory slices.

Max Slice Count Real

Actual maximum number of memory slices.

Once Cache Number

Number of caches that can be filled in at a time.

Expand Slab Slice Number

Number of slices that can be fragmented for a single memory block.

Max Expand Slab Count

Maximum number of memory blocks that can be expanded.

Leak Timeout

Leak detection time.

Alloc Failure Time

Time of failed allocations.

Used Slice Count

Number of used memories.

Thread Cache Count

Number of thread caches.

Fill Cpu Cache Count

Times that the CPU cache is filled.

Flush Cpu Cache Count

Times that the CPU cache is evicted.

Reclaim Count

Times of reclamation.

Slice Used Peak Count

Count of reaching the peak memory usage.

Slice Peak/max(%)

Percentage of the peak number of used slices to the maximum number of memory slices.

Slice Used Peak Time

Peak usage time.

Node

NUMA node.

User Address Range

User-mode address range.

Kernel Address Range

Kernel-mode address range.

Object Number

Number of memory slices.

Free Number

Number of available memory slices.

Alloc Index

Allocation index.

Free Index

Release index.

Expand Slab Count Full

Count of slabs in full extension mode.

Expand Slab Count Partial

Count of slabs in half extension mode.

Expand Slab Count Empty

Count of slabs in empty extension mode.

Expand Slab Count All

Count of all extended slabs.

Thread Cache Information

Thread cache information.

Number

Number.

Thread ID

Thread ID.

CPU ID

CPU ID.

Total Count

Maximum number of memory slices that can be cached in a thread.

Free Count

Number of memory slices cached in a thread.

Fill Count

Times that the thread cache is filled.

Flush Count

Times that the thread cache is evicted.

Thread Cache

Address of the thread cache array.

Cpu Cache Information

CPU cache information.

CPU ID

CPU ID.

Total Count

Maximum number of memory slices that can be cached.

Free Count

Number of cached memory slices.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 753326

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next