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 layout

dpumm_shm show layout

Function

The dpumm_shm show layout command is used to show the layout of the shared memory pool.

Format

dpumm_shm show layout all usermode

dpumm_shm show layout -po <poolId> usermode

dpumm_shm show layout -m <moduleId> usermode

Parameters

Parameter

Description

Value

poolId Memory pool ID.

-

partId Partition ID.

-

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 the layout of all memory pools.

    admin:/diagnose> dpumm_shm show layout all -app_data
     Displays layout information for all umm shm pools.
    Pool ID      Numa ID  Knl Start Addr       Knl End Addr         User Start Addr      User End Addr        Meta Size(Byte)    Object Total(Byte) Pool Name                       
    ------------ -------- -------------------- -------------------- -------------------- -------------------- ------------------ ------------------ --------------------------------
    0xffff0001   0        0x0                  0x0                  0x0                  0x0                  0                  0                  shm_op_hist_pool                
    0xffff0001   1        0xffffa0412c6ca040   0xffffa0413230a1b0   0x21412c6ca040       0x21413230a1b0       266240             96731504           shm_op_hist_pool                
    0x89730040   0        0xffff80410ff1c040   0xffff80410ff1c1b0   0x1410ff1c040        0x1410ff1c1b0        270336             368                spec_disk                       
    0x89730040   1        0xffffa041956d0040   0xffffa041956d01b0   0x2141956d0040       0x2141956d01b0       270336             368                spec_disk                       
    0x89700040   0        0xffff80410ffb5500   0xffff80410ffbc0d0   0x1410ffb5500        0x1410ffbc0d0        270336             27600              ba_blk_sd                       
    0x89700040   1        0xffffa041956e5500   0xffffa041956ec0d0   0x2141956e5500       0x2141956ec0d0       270336             27600              ba_blk_sd                       
    0x89710040   0        0xffff80410ff65500   0xffff80410ff6c0d0   0x1410ff65500        0x1410ff6c0d0        270336             27600              ba_blk_ld                       
    0x89710040   1        0xffffa041956d7500   0xffffa041956de0d0   0x2141956d7500       0x2141956de0d0       270336             27600              ba_blk_ld                       
    0x897f0001   0        0xffff8040fe63e080   0xffff8040fe640380   0x140fe63e080        0x140fe640380        270336             8960               VBC_CTL_INFO_S                  
    0x897f0001   1        0xffffa04184b3c080   0xffffa04184b3e380   0x214184b3c080       0x214184b3e380       270336             8960               VBC_CTL_INFO_S                  
    0xb40002     0        0xffff8040fe73bc80   0xffff8040fe7d8080   0x140fe73bc80        0x140fe7d8080        270336             640000             SHM_PAGE_REQUEST_POOL           
    0xb40002     1        0xffffa04184b53c80   0xffffa04184bf0080   0x214184b53c80       0x214184bf0080       270336             640000             SHM_PAGE_REQUEST_POOL           
    0xb50001     0        0xffff8040abb7f040   0xffff8040abb7f808   0x140abb7f040        0x140abb7f808        266240             1992               shm_usage_pool                  
    0xb50001     1        0xffffa04132311040   0xffffa04132311808   0x214132311040       0x214132311808       266240             1992               shm_usage_pool                  
    0xb40001     0        0xffff8040fe689040   0xffff8040fe6e9060   0x140fe689040        0x140fe6e9060        270336             393248             SHM_PAGE_LOCK_POOL              
    0xb40001     1        0x0                  0x0                  0x0                  0x0                  0                  0                  SHM_PAGE_LOCK_POOL              
  • Show the layout of the specified memory pool.

    admin:/diagnose> dpumm_shm show layout -po 0x98010001 -app_data                 
     
     Displays layout information for mempool(0x98010001).
    Pool ID      Numa ID  Knl Start Addr       Knl End Addr         User Start Addr      User End Addr        Meta Size(Byte)    Object Total(Byte) Pool Name                       
    ------------ -------- -------------------- -------------------- -------------------- -------------------- ------------------ ------------------ --------------------------------
    0x98010001   0        0xffff8040fcf0a040   0xffff8040fcf14040   0x140fcf0a040        0x140fcf14040        270336             40960              UKAPI_AGENT_OPCODE              
    0x98010001   1        0xffffa041834ce040   0xffffa041834d8040   0x2141834ce040       0x2141834d8040       270336             40960              UKAPI_AGENT_OPCODE              
  • Show the layout of the specified module's memory pools.

    admin:/diagnose>  dpumm_shm show layout -m 385 -app_data
     Displays layout information for all mempools belonging to modId(385).
    Pool ID      Numa ID  Knl Start Addr       Knl End Addr         User Start Addr      User End Addr        Meta Size(Byte)    Object Total(Byte) Pool Name                       
    ------------ -------- -------------------- -------------------- -------------------- -------------------- ------------------ ------------------ --------------------------------
    0xffff0001   0        0x0                  0x0                  0x0                  0x0                  0                  0                  shm_op_hist_pool                
    0xffff0001   1        0xffffa0412c6ca040   0xffffa0413230a1b0   0x21412c6ca040       0x21413230a1b0       266240             96731504           shm_op_hist_pool                
    0xb40002     0        0xffff8040fe73bc80   0xffff8040fe7d8080   0x140fe73bc80        0x140fe7d8080        270336             640000             SHM_PAGE_REQUEST_POOL           
    0xb40002     1        0xffffa04184b53c80   0xffffa04184bf0080   0x214184b53c80       0x214184bf0080       270336             640000             SHM_PAGE_REQUEST_POOL           
    0xb50001     0        0xffff8040abb7f040   0xffff8040abb7f808   0x140abb7f040        0x140abb7f808        266240             1992               shm_usage_pool                  
    0xb50001     1        0xffffa04132311040   0xffffa04132311808   0x214132311040       0x214132311808       266240             1992               shm_usage_pool                  
    0xb40001     0        0xffff8040fe689040   0xffff8040fe6e9060   0x140fe689040        0x140fe6e9060        270336             393248             SHM_PAGE_LOCK_POOL              
    0xb40001     1        0x0                  0x0                  0x0                  0x0                  0                  0                  SHM_PAGE_LOCK_POOL              
    0xb30003     0        0xffff8040fe821280   0xffff8040ffbd1b80   0x140fe821280        0x140ffbd1b80        270336             20646144           SHM_LOCALCACHE_PTHEARD_POOL     
    0xb30003     1        0xffffa04184bf7280   0xffffa04185fa7b80   0x214184bf7280       0x214185fa7b80       270336             20646144           SHM_LOCALCACHE_PTHEARD_POOL     
    0x98130001   0        0xffff8040aba71000   0xffff8040abaf2000   0x140aba71000        0x140abaf2000        270336             528384             reserved_memory_for_sys_recover 
    0x98130001   1        0x0                  0x0                  0x0                  0x0                  0                  0                  reserved_memory_for_sys_recover 
    0x98120001   0        0xffff8040ab027000   0xffff8040aba28000   0x140ab027000        0x140aba28000        270336             10489856           reserved_memory_for_transaction 
    0x98120001   1        0x0                  0x0                  0x0                  0x0                  0                  0                  reserved_memory_for_transaction 
    0x98100001   0        0xffff8040aad89000   0xffff8040aaf94700   0x140aad89000        0x140aaf94700        270336             2144000            global_page_pool                
    0x98100001   1        0xffffa0412c4a7000   0xffffa0412c6b2700   0x21412c4a7000       0x21412c6b2700       270336             2144000            global_page_pool                

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Partition ID

Partition ID.

Numa ID

NUMA node ID.

Knl Start Addr

Start address of the partition in kernel mode.

Knl End Addr

End address of the partition in kernel mode.

User Start Addr

Start address of the partition in user mode.

User End Addr

End address of the partition in user mode.

Total(Byte)

Total memory size of a partition.

Used(Byte)

Used memory of a partition.

Free(Byte)

Available memory of a partition.

Partiton Name

Partition name.

Pool ID

ID of a memory pool.

Knl Start Addr

Start address of the fixed reserved memory in kernel mode.

Knl End Addr

End address of the fixed reserved memory in kernel mode.

User Start Addr

Start address of the fixed reserved memory in user mode.

User End Addr

End address of the fixed reserved memory in user mode.

Meta Size(Byte)

Metadata size.

Object Total(Byte)

Total size of a memory pool.

Pool Name

Name of a memory pool.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 753192

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next