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 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and 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).
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: EDOC1000181575

Views: 649300

Downloads: 30

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