public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* 16 commands per lun limitation bug?
@ 2010-02-10 20:19 scameron
  2010-02-10 21:59 ` James Bottomley
  0 siblings, 1 reply; 5+ messages in thread
From: scameron @ 2010-02-10 20:19 UTC (permalink / raw)
  To: linux-scsi; +Cc: mike.miller, james.bottomley, scameron


We have seen the amount of commands per lun that are sent to 
low level scsi driver limited to 16 commands per lun,
(seemingly artificially, well below our can_queue and
cmd_per_lun limits of 1020)

2.6.29 does not exhibit this bad behavior.
2.6.30, 2.6.31, 2.6.32 (2.6.32.1 through 2.6.32.8) do exhibit this bad behavior
2.6.31-rc1 does not exhibit this bad behavior

Testing was done with fio with this config file:

[global]
description=4096 byte random reads - ${CONFIG}
readwrite=randread
blocksize=4K
ioengine=libaio
softrandommap=1
direct=1
runtime=2000
time_based
#ramp_time=10
thread
filename=/dev/sdb

[iodepth=128]
stonewall
iodepth=128

When the problem is present, we only see 16 commands per lun, when
not present, we see 128 commands per lun.

Anybody else seen this problem?  Anybody know what caused the
brokeness between 2.6.29 and 2.6.30, or what fixed this between
2.6.32 and 2.6.33-rc1?

Hard for me to do a git bisect as the only hardware I have capable
of exercising the test case is Smart Array, and hpsa didn't go in
until 2.6.33-rc1.   Would like to know if other hardware/drivers
encounter this problem as well.

-- steve 



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-02-11  2:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 20:19 16 commands per lun limitation bug? scameron
2010-02-10 21:59 ` James Bottomley
2010-02-10 22:19   ` Miller, Mike (OS Dev)
2010-02-10 22:22     ` James Bottomley
2010-02-11  2:27       ` scameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox