- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SCSI max_queue_depth
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:35 AM
04-20-2005 03:35 AM
IBM is telling me that for these device files I should use the scsictl command to increase the max_queue_depth to (256 / #luns) or in other words 128!!
That seems awfully high to me. I've never heard of setting this higher than 16 or 32. Does anyone have experience with this?
Thanks,
Tim
Here is the doc from IBM.
Setting the queue depth for the HP-UX operating system with SCSI adapters Prerequisites: Before you set the queue depth, connect the host system to the ESS. See “General information about attaching to an open-systems host with SCSI adapters” on page 13. Steps: Perform the following steps to set the queue depth on an HP-UX operating system: 1. Use the following formula to set the queue depth for all classes of HP-UX: 256 ÷ maximum number of LUNs = queue depthNote: Although this algorithm implies that the upper limit for the number of LUNs on an adapter is 256, HP-UX supports up to 1024 LUNs. 2. You must monitor configurations with greater than 256 LUNs. You must adjust the queue depth for optimum performance. 3. To update the queue depth by device level, type the following command: scsictl -m queue_depth=21 /dev/rdsk/$dsksf where /dev/rdsk/$dsksf is the device node. 4. To make a global change to the queue depth, edit the kernel parameter so that it equals scsi_max_qd
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 03:40 AM
04-20-2005 03:40 AM
Re: SCSI max_queue_depth
The EVA as do any other "large LUN" presentation arrays will require you to increase queue depth either globally (via kernel parm scsi_max_qdepth) or per LUN via scsictl command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 04:17 AM
04-20-2005 04:17 AM
SolutionAlso, I don't particularly like using the "big lun" theory. I believe that you'll get more performance by having more luns presented to the system each representing less disk space. The folks who recommend and implement the installs from HP's own storage group that I've been exposed to also feel the same way. However, many really good administrators on this forum (whose opinions are greatly respected by myself and many others) feel that this gain is negligible to non-existent. Without serious study and testing - it remains arguable, and of course then the argument would remain as to whether or not your data use would fit the model of the test results.
In any case using the "sar -d" command during busy load times and watching the average queue depth gives you the information needed to determine if your queue depth is enough (default seems to be 8). Use that approach even after making the changes to see if the scsi queue depth needs further tuning once you're up and doing some heavy transactions. As far as I know, there are no detrimental effects of having this setting "too high" although I'm sure there would be needless consumption of OS memory resources. How much? A comment from anyone who knows how much memory/resources a unit of scsi queue depth consumes would be helpful at this point.
Also, this can be tuned on the fly but, frankly I'm not a big fan of making changes like this in a live environment while databases are in use. However, if you're going to do some pressure testing before going live on this new storage system ( and I recommend that you do ) then making these changes on the fly would be fine/recommended to find out where the setting should be for starters before go-live with the new storage server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 04:25 AM
04-20-2005 04:25 AM
Re: SCSI max_queue_depth
The only advantage with the latter (stripes) is that you won't have any "hot" spot during heavy I/O activity when monitoring via glance, sar, iostat or any disk monitoring tool.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2005 10:08 AM
04-21-2005 10:08 AM