login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
12
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to block device very slow and other SCSI issues...
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Chinner <dgc@...>
To: Jeremy Higdon <jeremy@...>
Cc: Andrew Morton <akpm@...>, David Chinner <dgc@...>, lkml <linux-kernel@...>, <linux-scsi@...>, Jens Axboe <jens.axboe@...>, <jes@...>
Subject:
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to block device very slow and other SCSI issues...
Date: Monday, May 12, 2008 - 7:43 am
On Sun, May 11, 2008 at 11:17:03PM -0700, Jeremy Higdon wrote:
quoted text
> On Thu, Mar 20, 2008 at 03:20:10AM -0700, Andrew Morton wrote: > > > > I also suspect that CTQ has not been set up correctly on this > > > > kernel, because: > > > > > > > > $ cat /sys/block/sdb/device/queue_depth > > > > 3 > > > > $ ls -l /sys/block/sdb/device/queue_depth > > > > -r--r--r-- 1 root root 0 Mar 20 09:59 /sys/block/sdb/device/queue_depth > > > > $ > > > > > > > > It appears to be hard coded to 3 and can't be changed.... > > > > > > That's a bug in the qla1280 driver. I thought that had gotten fixed. > > > It's looking at the wrong mailbox register after setting device parameters. > > > > Was there a patch anywhere? > > Promised patch...
....
quoted text
> After the fix, I found that my disks were getting a queue depth of > 255, which is far too many. Most SCSI disks are limited to 32 or > 64. In any case, there's no point, queueing up a bunch of commands > to the adapter that will just result in queue full or starve other > targets from being issued commands due to running out of internal > memory. So I dropped default queue depth to 32 (from which 1 is > subtracted elsewhere, giving net of 31). > > I tested with a Seagate ST336753LC, and results look good, so > I'm satisfied with this patch. > > Signed-off-by: Jeremy Higdon <jeremy@sgi.com>
Works fine here. Tested-by: Dave Chinner <dgc@sgi.com> Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Buffered I/O to block device very slow and other SCSI issues...
, David Chinner
, (Wed Mar 19, 7:16 pm)
Re: Buffered I/O to block device very slow and other SCSI is...
, Jeremy Higdon
, (Wed Mar 19, 9:08 pm)
Re: Buffered I/O to block device very slow and other SCSI is...
, Andrew Morton
, (Thu Mar 20, 6:20 am)
[PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to bloc...
, Jeremy Higdon
, (Mon May 12, 2:17 am)
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to ...
, Andrew Morton
, (Mon May 12, 8:18 pm)
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to ...
, Jes Sorensen
, (Tue May 13, 3:15 am)
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to ...
, Jeremy Higdon
, (Tue May 13, 4:58 am)
Re: [PATCH] drivers/scsi/qla1280.c; was Re: Buffered I/O to ...
, David Chinner
, (Mon May 12, 7:43 am)
Re: Buffered I/O to block device very slow and other SCSI is...
, Jeremy Higdon
, (Sun Mar 23, 7:11 pm)
Re: Buffered I/O to block device very slow and other SCSI is...
, Mike Snitzer
, (Thu Mar 20, 7:59 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
Joe Perches
[PATCH 015/148] include/asm-x86/checksum_64.h: checkpatch cleanups - formatting only
Jeremy Allison
Re: [RFC] Heads up on sys_fallocate()
git
:
linux-netdev
:
Corey Minyard
[PATCH 3/3] Convert the UDP hash lock to RCU
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
705 guests
online.
Online users
bastionsecurity
Sarg
Syndicate