LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-06-2012, 03:52 PM   #1
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Rep: Reputation: 28
scsi device queue_depth effect on performance


I have a system with a few LSI controllers. There are 3 RAIDs in the system with different number and types of drives with different performance characteristics. I noticed that reducing the queue_depth from 128 for scsi devices to something really small like 2 or 4 seems to help the overall performance when read or writing to all of the RAIDs simultaneously.

Performance seems fine with only a couple of RAIDs, but when I add more there seems to be some system resource that causes a bottleneck. When I run into this issue for some reasons reducing the queue_depth from 128 to 2, 3, or 4 for all of the drives helps alleviate some if not almost all of the bottle-necking.

First of all this seems rather weird since having a larger queue depths usually helps performance as apposed to hurt them.

Can anyone explain this behavior to me?

Is there some other queue depth I need to increase in the scsi or block layer when having lots of drives and RAIDs?

Last edited by dbrazeau; 11-06-2012 at 03:53 PM.
 
Old 11-06-2012, 04:16 PM   #2
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
Oh, should also probably note these are all RAID 0 arrays.
 
Old 11-08-2012, 02:03 PM   #3
dbrazeau
Member
 
Registered: Aug 2009
Distribution: Fedora, OpenSuse, DENX Embedded Linux
Posts: 184

Original Poster
Rep: Reputation: 28
So it looks like reducing the queue_depth of the drives results in more I/O requests being merged which leads to an increase to overall performance.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: The Effect Of Desktop Effects On Graphics Performance LXer Syndicated Linux News 0 02-29-2012 10:40 PM
Mapping /proc/scsi/scsi entries with respective device names in /dev/ directory neo3matrix Red Hat 2 04-21-2011 06:56 AM
lifekeeper error: DEVICE FAILURE on SCSI device '/dev/add' yuanjunliang Linux - Server 3 09-17-2009 04:24 PM
iptables DROP, performance effect with n lines? jhwilliams Linux - Software 1 02-01-2009 04:49 AM
altering the queue_depth on a non-ibm disk array Frustin AIX 6 04-14-2005 03:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration