Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2021 02:31:57 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bf96a6c762a7 - stable/12 - Remove FirstBurstLength limit for software iSCSI.
Message-ID:  <202102040231.1142VvLK040069@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=bf96a6c762a79d974bd71322cd37e23984e0f3f3

commit bf96a6c762a79d974bd71322cd37e23984e0f3f3
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2021-01-21 02:33:14 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2021-02-04 02:31:54 +0000

    Remove FirstBurstLength limit for software iSCSI.
    
    For hardware offload solicited data may potentially be handled more
    efficiently than unsolicited due to direct data placement.  Or there
    can be some unsolicited write buffering limitations.  It may create
    situations where FirstBurstLength limit is really useful.
    
    Software driver though has no those factors, having to do memcopy()
    any way and having no so hard limit on the temporary storage.  Same
    time more active use of unsolicited transfers allows to avoid some
    of Ready To Transfer (R2T) PDU round-trip times and processing.
    
    This change effectively doubles from 64KB to 128KB the maximum size
    of write command that can be transferred within one link RTT.  Tests
    of (64KB, 128KB] QD1 writes mixed with simultaneous QD8 reads over
    the same connection, increasing RTT, shows almost double write speed
    and half latency, while we should be able to afford few megabytes of
    RAM for additional buffering on a target these days.
    
    Sponsored by:   iXsystems, Inc.
    
    (cherry picked from commit ff751ee05c939eceab25c26ad60b1d56f989aec9)
---
 sys/dev/iscsi/icl_soft.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/iscsi/icl_soft.c b/sys/dev/iscsi/icl_soft.c
index a9b787a25420..dd9210642ffa 100644
--- a/sys/dev/iscsi/icl_soft.c
+++ b/sys/dev/iscsi/icl_soft.c
@@ -1454,7 +1454,7 @@ icl_soft_limits(struct icl_drv_limits *idl)
 	idl->idl_max_recv_data_segment_length = 128 * 1024;
 	idl->idl_max_send_data_segment_length = 128 * 1024;
 	idl->idl_max_burst_length = 262144;
-	idl->idl_first_burst_length = 65536;
+	idl->idl_first_burst_length = idl->idl_max_burst_length;
 
 	return (0);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102040231.1142VvLK040069>