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


To have a better experience, please upgrade your IE browser.


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).
show cache prefetch

show cache prefetch


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


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





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".


Developer view

Usage Guidelines

Operations are executed on the local controller by default.


  • 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.



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.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 753309

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next