aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.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.go
parentcefe66f1592855b26544f7a84162a3803ed7cda2 (diff)
downloadseaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.tar.xz
seaweedfs-cc0df36a9e767b27e313885a79119e6b14c3cbad.zip
smaller file chunks are faster
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index e9e3237df..1b31dbcc7 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -60,7 +60,7 @@ func init() {
f.publicPort = cmdFiler.Flag.Int("port.readonly", 0, "readonly port opened to public")
f.defaultReplicaPlacement = cmdFiler.Flag.String("defaultReplicaPlacement", "", "default replication type. If not specified, use master setting.")
f.disableDirListing = cmdFiler.Flag.Bool("disableDirListing", false, "turn off directory listing")
- f.maxMB = cmdFiler.Flag.Int("maxMB", 32, "split files larger than the limit")
+ f.maxMB = cmdFiler.Flag.Int("maxMB", 4, "split files larger than the limit")
f.dirListingLimit = cmdFiler.Flag.Int("dirListLimit", 100000, "limit sub dir listing size")
f.dataCenter = cmdFiler.Flag.String("dataCenter", "", "prefer to read and write to volumes in this data center")
f.rack = cmdFiler.Flag.String("rack", "", "prefer to write to volumes in this rack")