Originally posted by: SystemAdmin
I have used 2 big LUNs (2 x 500GB) for Oracle Database on DS4700. Many papers recommend to change queue_depth for hdisks. To change the queue depth, the DS4700 guide give the formula :
chdev -l hdiskn -a queue_depth=X -P **X=2048 / (number of hosts * hdisks per host) if using HACMP, only count the number of active hdisks.**
In my case I have 2 HACMP nodes in mutual takeover. On each node there is an active Oracle database.
hdisk0 000544dfea1238ff rootvg active
hdisk1 000544df69426268 rootvg active
hdisk2 000544dfdbfa7a5f vg_bin active
hdisk3 000544dfdbfa7be6 vg_bin active
hdisk4 000544dfdc51c5e1 vg_dbraw concurrent
hdisk5 000544dfdc51c6b6 vg_dbraw concurrent
hdisk6 000544dfdc51c861 vg_archlog concurrent
hdisk7 000544dfdc51c929 vg_archlog concurrent
hdisk8 000544df62a4015c vg_dbprex1 concurrent
hdisk9 000544df62a4025b vg_dbprex1 concurrent
hdisk10 000544d1f3558159 vg_dbl concurrent
hdisk11 000544dfdc51cd71 vg_hb
hdisk2 to hdisk10 are on DS4700.
hdisk11 : HACMP Heartbeat VG
vg_bin (hdisk2 and hdisk3) : not shared and defined for every node.
vg_dbraw (hdisk4, hdisk5) and vg_archlog (hdisk6, hdisk7) are active on node1.
vg_dbprex1 (hdisk8, hdisk9) and vg_db1 (hdisk10) are active on node2.
How do I calculate queue_depth ?
X=2048 / (2 * 6) = 170
Is it correct ?
Thank you for your help