summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-04-29 19:36:22 +0900
committerRyo Nakamura <upa@haeena.net>2024-04-29 19:36:22 +0900
commit235ba41c5b5adde50ec44deebcd4a5d97e2eb995 (patch)
tree42257e7686216492c1bc329a829ba4adae8312e1 /doc
parent675126a8368503edee00854a5d82f9cc32524bc2 (diff)
default chunk size is filesize/(nr_conn*4) (Issue #20)
and clean-up chunk_sz related parts.
Diffstat (limited to 'doc')
-rw-r--r--doc/mscp.1.in6
-rw-r--r--doc/mscp.rst6
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/mscp.1.in b/doc/mscp.1.in
index 150d1a0..3c1802e 100644
--- a/doc/mscp.1.in
+++ b/doc/mscp.1.in
@@ -198,7 +198,11 @@ parallel. The default value is 16M bytes.
.TP
.B \-S \fIMAX_CHUNK_SIZE\fR
Specifies the maximum chunk size. The default is file size divided by
-the number of connections.
+the number of connections and devided by 4. If the calculated value
+is smarller than the
+.B MIN_CHUNK_SIZE
+value,
+MIN_CHUNK_SIZE is used.
.TP
.B \-a \fINR_AHEAD\fR
diff --git a/doc/mscp.rst b/doc/mscp.rst
index 41ae876..f2109f1 100644
--- a/doc/mscp.rst
+++ b/doc/mscp.rst
@@ -2,7 +2,7 @@
MSCP
====
-:Date: v0.2.0-8-gef2dd55
+:Date: v0.2.0-9-g675126a
NAME
====
@@ -102,7 +102,9 @@ OPTIONS
**-S MAX_CHUNK_SIZE**
Specifies the maximum chunk size. The default is file size divided by
- the number of connections.
+ the number of connections and devided by 4. If the calculated value
+ is smarller than the **MIN_CHUNK_SIZE** value, MIN_CHUNK_SIZE is
+ used.
**-a NR_AHEAD**
Specifies the number of inflight SFTP commands. The default value is