summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-03-14 22:06:45 -0500
committerMike Christie <michaelc@cs.wisc.edu>2009-03-14 22:06:45 -0500
commitf7d31baf2897526f6bc7ce41b4453ad4eb7d60e1 (patch)
treeb225981d4b5a414e5210dc6305efebab02bf8a40 /etc
parent175a817ac84d3651d38bebb55d03d62f6e45e370 (diff)
downloadopen-iscsi-f7d31baf2897526f6bc7ce41b4453ad4eb7d60e1.tar.gz
iscsi conf: increase default MaxRecvDataSegmentLength
Increase default node.conn[0].iscsi.MaxRecvDataSegmentLength to 262144 to closer match IO sizes we see from block layer. The default block layer max is actually 512K, but in testing setting the MaxRecvDataSegmentLength to this high a value caused perf regressions with some targets.
Diffstat (limited to 'etc')
-rw-r--r--etc/iscsid.conf5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
index 686b3f9..de1765f 100644
--- a/etc/iscsid.conf
+++ b/etc/iscsid.conf
@@ -212,9 +212,8 @@ node.session.iscsi.MaxBurstLength = 16776192
# in an iSCSI PDU from a target, edit the following line.
#
# The value is the number of bytes in the range of 512 to (2^24-1) and
-# the default is 131072
-node.conn[0].iscsi.MaxRecvDataSegmentLength = 131072
-
+# the default is 262144
+node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
# To specify the maximum number of data bytes the initiator can receive
# in an iSCSI PDU from a target during a discovery session, edit the