Re: [Scst-devel] Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-29 Thread Vladislav Bolkhovitin
Chris Worley, on 10/28/2009 09:47 PM wrote: It appears that SRP tries to coalesce and fragment initiator I/O requests into 64KB packets, as that looks to be the size requested to/from the device on the target side (and the I/O scheduler is disabled on the target). Is there a way to control this,

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread David Dillow
On Wed, 2009-10-28 at 16:25 -0400, Chris Worley wrote: > On Wed, Oct 28, 2009 at 1:58 PM, David Dillow wrote: > > Under noop, the block layer will send requests as soon as it can without > > merging. If it has more requests outstanding than the queue length on > > the SRP initiator, then it will m

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread Chris Worley
On Wed, Oct 28, 2009 at 1:58 PM, David Dillow wrote: > On Wed, 2009-10-28 at 13:38 -0600, Chris Worley wrote: >> There is no scheduler running on either target or initiator on the >> drives in question (sorry I worded that incorrectly initially), or so >> I've been told (this information is second

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread David Dillow
On Wed, 2009-10-28 at 13:38 -0600, Chris Worley wrote: > There is no scheduler running on either target or initiator on the > drives in question (sorry I worded that incorrectly initially), or so > I've been told (this information is second-hand). So, noop scheduler, then? Under noop, the block

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread Roland Dreier
> It appears that SRP tries to coalesce and fragment initiator I/O > requests into 64KB packets, as that looks to be the size requested > to/from the device on the target side (and the I/O scheduler is > disabled on the target). There is no code in the SRP initiator that does anything to chan

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread Chris Worley
On Wed, Oct 28, 2009 at 1:14 PM, Bart Van Assche wrote: > On Wed, Oct 28, 2009 at 7:47 PM, Chris Worley wrote: >> It appears that SRP tries to coalesce and fragment initiator I/O >> requests into 64KB packets, as that looks to be the size requested >> to/from the device on the target side (and th

Re: Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread Bart Van Assche
On Wed, Oct 28, 2009 at 7:47 PM, Chris Worley wrote: > It appears that SRP tries to coalesce and fragment initiator I/O > requests into 64KB packets, as that looks to be the size requested > to/from the device on the target side (and the I/O scheduler is > disabled on the target). > > Is there a w

Adjusting minimum packet size or "wait to merge requests" in SRP

2009-10-28 Thread Chris Worley
It appears that SRP tries to coalesce and fragment initiator I/O requests into 64KB packets, as that looks to be the size requested to/from the device on the target side (and the I/O scheduler is disabled on the target). Is there a way to control this, where no coalescing occurs when latency is an