arcconf setmaxcache

Description

Enables/disables maxCache SSD caching for one or more logical drives; updates the maxCache write cache policy and “dirty page” threshold (data not committed to disk); adds Solid State Drives to the maxCache pool and removes SSDs from the pool; sets the maxCache read/write balance and cache fetch/flush rate; clears the maxCache pool.

Note: Before you can enable maxCache SSD caching, you must assign at least one SSD to the maxCache pool.

Syntax: Read Caching

ARCCONF SETMAXCACHE <Controller#> LOGICALDRIVE <LogicalDrive#> READCACHE <ENABLE|DISABLE>

Syntax: Write Caching

ARCCONF SETMAXCACHE <Controller#> LOGICALDRIVE <LogicalDrive#> WRITECACHE <ENABLE|DISABLE> [WRITEPOLICY <policy>]
ARCCONF SETMAXCACHE <Controller#> LOGICALDRIVE ALL WRITECACHE DISABLE [WRITEPOLICY <policy>]
ARCCONF SETMAXCACHE <Controller#> LOGICALDRIVE <LogicalDrive#> WRITEPOLICY <policy>
ARCCONF SETMAXCACHE <Controller#> DIRTYPAGETHRESHOLD <dirtyPageThreshold#>
ARCCONF SETMAXCACHE <Controller#> WBCVALID <ENABLE|DISABLE>

General Usage

ARCCONF SETMAXCACHE <Controller#> <ADDTOPOOL|REMOVEFROMPOOL> <Channel# Device#>
ARCCONF SETMAXCACHE <Controller#> RWBALANCE <Read#> <Write#>
ARCCONF SETMAXCACHE <Controller#> FLUSHANDFETCHRATE <FlushAndFetchRate#>
ARCCONF SETMAXCACHE <Controller#> CLEAR

Parameters

Controller#

The controller number.

LogicalDrive#

The number of the logical drive. You can specify one or more logical drives.

Channel#

The channel number for the SSD.

Device#

The device number for the SSD.

Read#/Write#

The read/write ratio for invalidating data on the SSD. When the ratio is reached, the page is removed from the cache. Values range from 1-10 for each parameter.

FlushAndFetchRate#

The read cache fetch rate from 1 to 1000: 1-50=Low, 51-100=Medium, 101-1000=High. The default is 100.

Note: The lower the rate the longer the page is kept on the SSD before it is flushed from the cache.
dirtyPageThreshold#
Controls the amount cache space allocated to “dirty” data; that is, data that has not been committed to disk. The threshold value ranges from 1-100 (percent). Once the percentage of dirty pages crosses the threshold, the data are flushed to disk.
WBCVALID ENABLE|DISABLE
Enables and disables write caching in non-redundant maxCache. Applies to all logical drives.
Policy

maxCache write cache policy:

  • WB - write back enabled. maxCache will store the data on the SSD and write it back to the hard disks when there is little or no impact on performance. This is the default policy.
  • INSTWB - instant write back enabled. In addition to the default policy, maxCache will create dirty pages on-the-fly for full-stripe writes if there is room on the SSD and the number of dirty pages is below the threshold.
  • WT - write through enabled. Similar to instant write back, but full-stripe writes go to both the cache and hard disk and no dirty pages are created on-the-fly.
Clear
Clears the maxCache pool.

Examples

ARCCONF SETMAXCACHE 1 LOGICALDRIVE 1 READCACHE ENABLE
ARCCONF SETMAXCACHE 1 LOGICALDRIVE 1 WRITECACHE ENABLE WRITEPOLICY WT
ARCCONF SETMAXCACHE 1 DIRTYPAGETHRESHOLD 50
ARCCONF SETMAXCACHE 1 ADDTOPOOL 0 1
ARCCONF SETMAXCACHE 1 REMOVEFROMPOOL 0 1 0 2
ARCCONF SETMAXCACHE 1 RWBALANCE 4 1
ARCCONF SETMAXCACHE 1 FLUSHANDFETCHRATE 200
ARCCONF SETMAXCACHE 1 CLEAR

Email Address (optional):

Did this topic answer your question?

Strongly Agree
Agree
Neutral
Disagree
Strongly Disagree

Comments: