https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208798
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: [email protected]
Reporter: [email protected]
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=2097152
sockbufsize=2048
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
t0 {
TargetAddress = 192.168.2.3
TargetName = iqn.2012-06.com.example:target0
MaxRecvDataSegmentLength = 2097152
sockbufsize = 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:
Initiator alias:
Target name: iqn.2012-06.com.example:target0
Target portal: 192.168.2.3
Target alias: 8T-500-P4G69SW0
User:
Secret:
Mutual user:
Mutual secret:
Session type: Normal
Session state: Connected
Failure reason:
Header digest: None
Data digest: None
DataSegmentLen: 131072
ImmediateData: Yes
iSER (RDMA): No
Device nodes: da8
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"