Creating a SmartCache Policy

This section describes how to create a SmartCache policy to store data that meets specific conditions onto high-performance NVMe SSDs for data read acceleration.

Prerequisites

Procedure

  1. Choose Resources > Tuning > SmartCache.
  2. If SmartCache is disabled, enable it.
  3. Select a desired account from the Account drop-down list in the upper left corner.
  4. Click Create.

    The Create SmartCache Policy page is displayed.

  5. Configure basic information about the SmartCache policy.

    Table 1 describes related parameters.
    Table 1 SmartCache policy parameters

    Parameter

    Description

    Name

    Name of the SmartCache policy.

    NOTE:
    • The name must be unique.
    • The name can contain only letters, digits, hyphens (-), and underscores (_).
    • The name contains 1 to 63 characters.

    Namespace

    Namespace for which the SmartCache policy takes effect. Click Select. On the Namespace page that is displayed, select a desired namespace and click OK.

    Dtree

    Dtree for which the SmartCache policy takes effect. Click Select. On the Dtree page that is displayed, select a desired dtree and click OK. If this parameter is not specified, the SmartCache policy takes effect for the entire namespace.

  6. Set the file filtering policy. Possible options are By file size, By file name, and By user or user group.

    • By file size

      Set the size of a file for which the SmartCache policy takes effect. The maximum value is 448 KB.

    • By file name

      Select Including or Excluding in File Name Filtering to determine whether files with the specified names are included or excluded in the SmartCache policy. Then, specify the file names to be filtered for or filtered.

      • 1 to 1023 characters can be entered in the text box.
      • Wildcard (*) can match any character. The following formats are supported: example, *, *example*, *example, example*, and example*example.
      • Multiple file names are separated using commas (,).
    • By user or user group

      Select the type of the desired user or user group from the User or User Group Type drop-down list and then select Including or Excluding in User Name Filtering to determine whether files of the specified user or user group are included or excluded in the SmartCache policy.

      • If you select LDAP domain user, LDAP domain user group, NIS domain user, or NIS domain user group in User or User Group Type, specify the user or user group name in Username or User Group Name.
      • If you select Local UNIX authentication user or Local UNIX authentication user group, click Select next to Username or User Group Name. On the Local UNIX Authentication User or Local UNIX Authentication User Group page that is displayed, select the desired user or user group and click OK.

  7. Click OK.