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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
show cache prefetch

show cache prefetch

Function

The show cache prefetch command is used to query prefetch information about caches.

Format

show cache prefetch info=? volume_id=? [ controller=? ]

Parameters

Parameter

Description

Value

info=?

Type of the prefetch information to be printed.

The value can be:

  • "waste_pages": queries the count of prefetch pages wasted in the specified cache objects.
  • "status": queries cache prefetch status.
  • "intelfactor": queries the intelligent prefetch parameter of the cache.

volume_id=?

Volume ID.

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

controller=?

Controller ID.

The value format is "XA", "XB", "XC", or "XD", where "X" is an integer ranging from 0 to 3, for example, "0A" or "1C".

Views

Developer view

Usage Guidelines

Operations are executed on the local controller by default.

Example

  • Query the count of wasted prefetch pages in the cache object whose volume ID is "0" on controller "0A".
    developer:/>show cache prefetch info=waste_pages volume_id=0 
    Total Prefetch Page Count            1 
    Total Prefetch Waste Page Count       0
  • Query the prefetch status of the cache whose volume ID is "0" on controller "0A".
    developer:/>show cache prefetch info=status volume_id=0 
    Async Prefetch Status:              close 
    Async Prefetch Threshold:            1024 
    Async Prefetch Threshold Percent     50
  • Query cache prefetch factors on controller "0A".
    developer:/>show cache prefetch info=intelfactor 
    Max Length: 8192 
    Min Length: 2048

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Total Prefetch Page Count

Total count of prefetch pages.

Total Prefetch Waste Page Count

Count of wasted prefetch pages.

Async Prefetch Status

Asynchronous prefetch status.

Async Prefetch Threshold

Start threshold of asynchronous prefetch, expressed in sectors.

Async Prefetch Threshold Percent

Percentage of the start threshold of asynchronous prefetch.

Max Length

Maximum length of intelligent prefetch.

Min Length

Minimum length of intelligent prefetch.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 585617

Downloads: 233

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