Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

What are the maximum values for SCSI queue depth ?

Highlighted
CAS_2
Valued Contributor

What are the maximum values for SCSI queue depth ?

Hi

How can I get the maximum values for the scsi queue depth in HP-UX according to type of disk (internal SCSI disk, XP LUN, VA LUN, EVA LUN, ...) ?

Thanx.

 

P.S. This thread has been moved from Disk to HP-UX > sysadmin. -HP Forum Moderator

4 REPLIES
Peter Mattei
Honored Contributor

Re: What are the maximum values for SCSI queue depth ?

Hi

HP-UX default Q-depth value is 8 for a LUN.
You can change it for an individual device using
scsictl scsictl -m queue_depth=xx /dev/rdsk/cxtxdx

The max Q-depth per array port for the following arrays are:

XPxxxx 1024
VA7xxx 750
EVAxxxx 2048

I do not know the values for internal disks but assume them very low!

Cheers
Peter
I love storage
sajeer_2
Regular Advisor

Re: What are the maximum values for SCSI queue depth ?

Hi cas,

Maximum queue depth you can set with scsictl command is 256.

from man page of scsictl,

"For devices that support a queue depth greater than the system default, this mode controls how many I/Os the driver will ttempt to queue to the device at any one time. Valid values are (1-255). Some disk
devices will not support the maximum queue depth settable by this command.Setting the queue depth in software to a value larger than the disk can handle will result in I/Os being held off once a QUEUE FULL condition exists on the disk."


sajeer
CAS_2
Valued Contributor

Re: What are the maximum values for SCSI queue depth ?

Yes, sajeer.

I know the maximum value accepted by scsictl command is 256. But, as shown in man pages,

"Some disk
devices will not support the maximum queue depth settable by this command.Setting the queue depth in software to a value larger than the disk can handle will result in I/Os being held off once a QUEUE FULL condition exists on the disk."

I'm interested in not setting a value larger than the disk can handle in order to prevent I/Os to be held off.
What is that value ?
I guess that value is different from an internal SCSI disk than a XP LUN.
Where can be found that value ?

Peter Mattei
Honored Contributor

Re: What are the maximum values for SCSI queue depth ?

Oh, this is hard to find and differs from OS to OS and by IO pattern!

However, performance tests for the XP have shown that it is best to keep the Q-depth for a single LUN below 17 and for an XP CHIP port below 222.


Cheers
Peter
I love storage