HP StorageWorks XP12000 HP StorageWorks XP Disk Array Configuration Guide: IBM - Page 17

Displaying the device parameters using the AIX command line, Required Value, Default Value, Parameter

Page 17 highlights

Parameter Queue type Default Value None Required Value Simple Table 5 Device parameters-queue depth Parameter Recommended Value Queue depth per LU 32 Queue depth per port (MAXTAGS) 1024 The recommended queue depth settings may not provide the best I/O performance for your system. You can adjust the queue depth setting to optimize the I/O performance of the disk array. Displaying the device parameters using the AIX command line At the command line prompt, enter lsattr -E -l hdiskx, where hdiskx is the device file name. Example # lsattr -E -l hdisk2 Changing the device parameters using the AIX command line 1. To change the R/W timeout parameter, enter: chdev -1 hdiskx -a rw_timeout='60' 2. To change the queue depth parameter, enter: chdev -l hdiskx -a queue_depth='x'. where x is a value from the above table. 3. To change the queue type parameter, enter: chdev -l hdiskx -a q_type='simple' Example # chdev -l hdisk3 -a queue_depth='2' This changes the queue depth for device hdisk3. 4. Verify that the parameters for all devices were successfully changed. Example # lsattr -E -l hdisk3 XP Disk Array Configuration Guide for IBM AIX 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54

Required Value
Default Value
Parameter
Simple
None
Queue type
Table 5 Device parameters-queue depth
Recommended Value
Parameter
32
Queue depth per LU
1024
Queue depth per port (MAXTAGS)
The recommended queue depth settings may not provide the best I/O performance for your system.
You can adjust the queue depth setting to optimize the I/O performance of the disk array.
Displaying the device parameters using the AIX command line
At the command line prompt, enter
lsattr -E -l hdiskx
, where
hdiskx
is the device file name.
Example
# lsattr
E -l hdisk2
Changing the device parameters using the AIX command line
1.
To change the R/W timeout parameter, enter:
chdev
1 hdiskx
a rw_timeout='60'
2.
To change the queue depth parameter, enter:
chdev
l hdiskx
a queue_depth='x'
.
where
x
is a value from the above table.
3.
To change the queue type parameter, enter:
chdev
l hdiskx
a q_type='simple'
Example
# chdev
l hdisk3
a queue_depth='2'
This changes the queue depth for device hdisk3.
4.
Verify that the parameters for all devices were successfully changed.
Example
# lsattr
E
l hdisk3
XP Disk Array Configuration Guide for IBM AIX
17