From 235ba41c5b5adde50ec44deebcd4a5d97e2eb995 Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Mon, 29 Apr 2024 19:36:22 +0900 Subject: default chunk size is filesize/(nr_conn*4) (Issue #20) and clean-up chunk_sz related parts. --- doc/mscp.1.in | 6 +++++- doc/mscp.rst | 6 ++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3