Date: Thu, 14 Apr 2016 12:31:31 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208798] [iscsi] MaxRecvDataSegmentLength and sockbufsize Message-ID: <bug-208798-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208798-8>