Re: Increase the number of inflight commands.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2013-05-05 at 20:06 +0300, Shlomo Pongratz wrote:
> Hi Nicholas,
> 
> Using a very fast initiator I've found that I can never send more than 
> 16 commands to LIO target before the window is closed. (I have counters 
> for both inflight requests and the reason for not sending requests).
> Using TGT target I can send more commands a thus get higher throughput.
>   I want to increase this number but increasing the 
> "TA_DEFAULT_CMDSN_DEPTH" from 16 to 128 didn't help, so I guess this is 
> not the right constant (BTW is there a module parameter?).
> 
> Please advice.
> 

The per session CmdSN queue depth is controlled in targetcli/rtsadmin
via TPG attribute 'default_cmdsn_depth' for all sessions in demo mode,
and via 'cmdsn_depth' when using explicit per initiator NodeACLs.

These can also be changed directly within /etc/target/lio_start.sh

--nab


--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux