From owner-freebsd-bugs@freebsd.org Thu Apr 14 12:31:31 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 097F2AECC6C for ; Thu, 14 Apr 2016 12:31:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D564D146A for ; Thu, 14 Apr 2016 12:31:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u3ECVU1B015950 for ; Thu, 14 Apr 2016 12:31:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208798] [iscsi] MaxRecvDataSegmentLength and sockbufsize Date: Thu, 14 Apr 2016 12:31:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ben.rubson@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 12:31:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208798 Bug ID: 208798 Summary: [iscsi] MaxRecvDataSegmentLength and sockbufsize Product: Base System Version: 10.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: ben.rubson@gmail.com Hello, I would like to increase PDU size / DataSegmentLength in order to increase iSCSI throughput over a high latency Ethernet link (several ms). I then tuned the 2 following parameters in /etc/iscsi.conf : MaxRecvDataSegmentLength=3D2097152 sockbufsize=3D2048 However, iscsictl simply returns the following for them : obsolete statement ignored. iscsictl -v confirms with a DataSegmentLen stuck at 131072. Below this message is the demonstration. Could we think about supporting these 2 parameters in order to increase the= PDU size please ? Thank you very much, Best regards, Ben # man iscsi.conf MaxRecvDataSegmentLength the maximum data segment length in bytes it can receive in an iSCSI PDU, default is 8192. sockbufsize sets the receiver and transmitter socket buffer size to size, in kilobytes. The default is 128. # cat /etc/iscsi.conf=20 t0 { TargetAddress =3D 192.168.2.3 TargetName =3D iqn.2012-06.com.example:target0 MaxRecvDataSegmentLength =3D 2097152 sockbufsize =3D 2048 } # iscsictl -An t0 iscsictl: obsolete statement ignored at line 4 iscsictl: obsolete statement ignored at line 5 # iscsictl -v Session ID: 9 Initiator name: iqn.1994-09.org.freebsd:myinitiator.com Initiator portal:=20 Initiator alias:=20=20 Target name: iqn.2012-06.com.example:target0 Target portal: 192.168.2.3 Target alias: 8T-500-P4G69SW0 User:=20=20=20=20=20=20=20=20=20=20=20=20=20 Secret:=20=20=20=20=20=20=20=20=20=20=20 Mutual user:=20=20=20=20=20=20 Mutual secret:=20=20=20=20 Session type: Normal Session state: Connected Failure reason:=20=20=20 Header digest: None Data digest: None DataSegmentLen: 131072 ImmediateData: Yes iSER (RDMA): No Device nodes: da8 --=20 You are receiving this mail because: You are the assignee for the bug.=