HP P2000 G3 MSA System CLI Reference Guide 139
set cache-parameters
Description
Sets a volume’s cache options.
NOTE:
Only change the read-ahead cache settings if you fully understand how the host operating
system, application, and adapter move data so that you can adjust the settings accordingly. Be
prepared to monitor system performance and adjust read-ahead size until you find the optimal size
for your application.
Syntax
set cache-parameters
[write-policy write-back|write-through|wb|wt]
[optimization standard]
[read-ahead-size disabled|default|maximum|64KB|128KB|256KB|512KB|1MB|2MB|4MB
|8MB|16MB|32MB]
volume
Parameters
write-policy write-back|write-through|wb|wt
Optional. Sets the cache write policy, which determines when cached data is written to the disks.
The ability to hold data in cache while it is being written to disk can increase storage device speed
during sequential reads.
•
write-back
or
wb
: Write-back caching does not wait for data to be completely written to disk
before signaling the host that the write is complete. This is the default and preferred setting for a
fault-tolerant environment because it improves the performance of write operations and
throughput.
•
write-through
or
wt
: Write-through caching significantly impacts performance by waiting for
data to be completely written to disk before signaling the host that the write is complete. Use this
setting only when operating in an environment with low or no fault tolerance.
You can configure the write policy to automatically change from write-back to write-through when
certain environmental events occur, such as a fan failure. For details, see help for the
set
auto-write-through-trigger
command.
optimization standard
Optional. Sets the cache optimization mode:
•
standard
: Optimizes cache for both sequential and random reads. This is the default.
read-ahead-size
Optional. Controls the use and size of read-ahead cache. You can optimize a volume for sequential
reads or streaming data by changing the amount of data read in advance after two back-to-back
reads are made. Read ahead is triggered by two back-to-back accesses to consecutive logical block
address (LBA) ranges. Read ahead can be forward (that is, increasing LBAs) or reverse (that is,
decreasing LBAs). Increasing the read-ahead size can greatly improve performance for multiple
sequential read streams. However, increasing read-ahead size will likely decrease random read
performance.
•
disable
: Turns off read-ahead cache.
•
default
: Sets one chunk for the first access in a sequential read and one stripe for all
subsequent accesses. The controllers treat non-RAID and RAID-1 vdisks internally as if they have a
stripe size of 64 Kbyte, even though they are not striped. This setting works well for most
applications.
•
maximum
: Allows the controller to dynamically calculate the maximum read-ahead cache size for
the volume.
•
64 KB
,
128 KB
,
256 KB
,
512 KB
,
1 MB
,
2 MB
,
4 MB
,
8 MB
,
16 MB
, or
32 MB
: Sets a
specific cache size.
Содержание P2000 G3
Страница 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Страница 14: ...14 About this guide ...
Страница 30: ...30 Categorical list of commands ...
Страница 96: ...96 Alphabetical list of commands exit Description Log off and exit the CLI session Syntax exit ...
Страница 159: ...HP P2000 G3 MSA System CLI Reference Guide 159 See also set host parameters show iscsi parameters ...
Страница 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Страница 217: ...HP P2000 G3 MSA System CLI Reference Guide 217 Basetypes drives enclosure list status See also show vdisks ...
Страница 223: ...HP P2000 G3 MSA System CLI Reference Guide 223 Basetypes email parameters status See also set email parameters ...
Страница 230: ...230 Alphabetical list of commands See also clear events set snmp parameters show snmp parameters ...
Страница 288: ...288 Alphabetical list of commands Basetypes snapshots status See also show master volumes show snap pools ...
Страница 292: ...292 Alphabetical list of commands Basetypes system unhealthy component status See also set system ...
Страница 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Страница 338: ...338 Alphabetical list of commands Basetypes remote links See also show remote systems verify remote link ...
Страница 340: ...340 Alphabetical list of commands Basetypes remote links See also show remote systems verify links ...
Страница 424: ...424 XML API basetype properties PROPERTY name utility priority numeric type string 0 PROPERTY OBJECT ...
Страница 469: ...HP P2000 G3 MSA System CLI Reference Guide 469 PROPERTY name status type string OK PROPERTY OBJECT ...
Страница 494: ...494 XML API basetype properties PROPERTY name sample time numeric type string 1329397200 PROPERTY OBJECT ...
Страница 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Страница 510: ...510 XML API basetype properties PROPERTY name reserve type numeric type string 0 PROPERTY OBJECT ...
Страница 524: ...524 Glossary ...
Страница 532: ...532 Index ...