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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 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).
cache show iomode

cache show iomode

Function

The cache show iomode command is used to query information about cache I/O model identification including cache model identification threshold and detailed information about a cache object.

Format

cache show iomode prefetchthreshold

cache show iomode volumeid

cache show iomode volumeid type

cache show iomode volumeid bucket buckettype

cache show iomode volumeid bucket buckettype bucketinfo

Parameters

Parameter

Description

Value

prefetchthreshold

Queried prefetch threshold.

-

volumeid

Volume ID.

The value ranges from 0 to 2^64 - 1.

type

I/O model statistical type.

The value is "bandwidth", "seqnum", "updatetime", "threshold", or "readdisktime", where:

  • "bandwidth": bandwidth statistics.
  • "seqnum": number of sequence flows.
  • "updatetime": update time.
  • "threshold": object prefetch threshold.
  • "readdisktime": duration of reading disks.

bucket

I/O statistical bucket.

-

buckettype

I/O statistical bucket type based on the I/O size.

The value is an integer ranging from 0 to 3.

  • "0": The I/O size ranges from 0 to 64 KB.
  • "1": The I/O size ranges from 64 KB to 256 KB.
  • "2": The I/O size ranges from 256 KB to 1 MB.
  • "3": The I/O size ranges from 1 MB to ∞.

bucketinfo

Bucket statistics.

The value is "readhit", "hitprefetch", "flowtype", "flowmulti", or "threshold", where:

  • "readhit": hit count.
  • "hitprefetch": hit prefetch count.
  • "flowtype": count of sequence flow types.
  • "flowmulti": sequence flow length count.
  • "threshold": threshold.

Views

Diagnostic view

Usage Guidelines

None

Example

Query the statistics of the cache object whose volume ID is 0 and the bucket whose I/O statistical type is 0.

ibc_os_hs:/diagnose>cache show iomode 0 bucket 0 
cur bucket is:0_to_64KB 
read hit record: 
missHit :0         :0         :0         :0         :0         :0         :0          
normalHit :3088      :47517     :47341     :47335     :47468     :47422     :126877668  
reHit     :0         :0         :0         :0         :0         :0         :1591       
fakeHit :0         :2         :0         :0         :0         :0         :530 
:totalCnt  :3988      :47521     :47341     :47335     :47468     :47422     :126920950  
lastest 5 period readHit ratio: 
missHit ratio:0 
normalHit  ratio:99 
reHit      ratio:0 
fakeHit ratio:0 
hit prefetch page record: 
seqFlow hitprefetch:35976     :380136 :378728 :378672 :379744 :379376 :1015019785 
seqFlow prefetch :38592     :379616 :379008 :378432 :379584 :379584 :1015060137 
conFlow hitprefetch:0         :0         :0         :0         :0         :0         :128        
conFlow prefetch :0         :0         :0         :0       :0         :0         :1344       
diffFlow hitprefetch:0         :0         :0         :0         :0         :0         :0          
diffFlow prefetch :0         :0         :0         :0         :0         :0         :0          
hit prefetch chunk record: 
seqFlow hitprefetch:791       :5940      :5918      :5917      :5933      :5928      :15860064 
seqFlow prefetch :828       :5932      :5922      :5913      :5931      :5931      :15861012 
conFlow hitprefetch:0         :0      :0         :0         :0         :0         :16         
conFlow prefetch :0         :0         :0         :0         :0         :0         :21         
diffFlow hitprefetch:0         :0         :0         :0         :0         :0         :0        
diffFlow prefetch :0         :0         :0         :0         :0         :0         :0          

lastest 5 period waste page ratio: 
seqFlow waste page ratio:0 
conFlow waste page ratio:0 
diffFlow waste page ratio:0 
lastest 5 period waste chunk ratio: 
seqFlow waste chunk ratio:0 
conFlow waste chunk ratio:0 
diffFlow waste chunk ratio:0 
flow Type record: 
seqFlow :8478      :47521     :47341     :47335     :47468     :47422     :126923829  
conFlow :0         :0         :0         :0         :0         :0         :16         
diffFlow  :0         :0         :0         :0         :0         :0         :0          
flow Type record: 
0 multiple:0         :1         :0         :0         :0         :0         :38311      
1 multiple:0         :1         :0         :0         :0         :0         :3414       
2 multiple:0         :1         :0         :0         :0         :0         :267        
3 multiple:0         :1         :0         :0         :0         :0         :42         
4 multiple:0         :1         :0         :0         :0         :0         :42         
5 multiple:0         :1         :0         :0         :0         :0         :38         
6 multiple:0         :1         :0         :0         :0         :0         :37         
7 multiple:0         :1         :0         :0         :0         :0         :37         
8 multiple:0         :1         :0         :0         :0         :0         :40         
9 multiple:11934     :47512     :47341     :47335     :47468     :47422     :126885070  
bucket threshold: 
seqFlowPrefetchThreshold        :2 
conFlowPrefetchThreshold        :4 
difFlowPrefetchThreshold        :4 
maxShortSeqPrefetchMulti        :8 
isFirstPrefetch                 :0 
index                           :4 
periodBitmap                  :31

System Response

None

Translation
Download
Updated: 2019-03-30

Document ID: EDOC1000138402

Views: 462920

Downloads: 646

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