aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_copy.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2021-04-01 02:21:59 -0700
committerChris Lu <chris.lu@uber.com>2021-04-01 02:21:59 -0700
commitcc0df36a9e767b27e313885a79119e6b14c3cbad (patch)
tree4c6b6f7be404ba189aff2c7e7e03179cc6163576 /weed/command/filer_copy.go
parentcefe66f1592855b26544f7a84162a3803ed7cda2 (diff)
downloadseaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.tar.xz
seaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.zip
smaller file chunks are faster
Diffstat (limited to 'weed/command/filer_copy.go')
-rw-r--r--weed/command/filer_copy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_copy.go b/weed/command/filer_copy.go
index 42f5ec4c3..a36bb8cea 100644
--- a/weed/command/filer_copy.go
+++ b/weed/command/filer_copy.go
@@ -56,7 +56,7 @@ func init() {
copy.collection = cmdCopy.Flag.String("collection", "", "optional collection name")
copy.ttl = cmdCopy.Flag.String("ttl", "", "time to live, e.g.: 1m, 1h, 1d, 1M, 1y")
copy.diskType = cmdCopy.Flag.String("disk", "", "[hdd|ssd|<tag>] hard drive or solid state drive or any tag")
- copy.maxMB = cmdCopy.Flag.Int("maxMB", 32, "split files larger than the limit")
+ copy.maxMB = cmdCopy.Flag.Int("maxMB", 4, "split files larger than the limit")
copy.concurrenctFiles = cmdCopy.Flag.Int("c", 8, "concurrent file copy goroutines")
copy.concurrenctChunks = cmdCopy.Flag.Int("concurrentChunks", 8, "concurrent chunk copy goroutines for each file")
}