From 951099dbed2ab55562401db6810b794e9ae09f9d Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 18 May 2020 17:37:09 +0100 Subject: [PATCH] vfs: change default --vfs-read-wait to 20ms In my testing with local and remote storage this is a good compromise between delaying the seeks and failing to wait for in sequence reads. See: https://forum.rclone.org/t/constantly-high-iowait-add-log/14156/40 --- vfs/vfscommon/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vfs/vfscommon/options.go b/vfs/vfscommon/options.go index b22e69b2a..4ac2af361 100644 --- a/vfs/vfscommon/options.go +++ b/vfs/vfscommon/options.go @@ -53,5 +53,5 @@ var DefaultOpt = Options{ CacheMaxSize: -1, CaseInsensitive: runtime.GOOS == "windows" || runtime.GOOS == "darwin", // default to true on Windows and Mac, false otherwise WriteWait: 1000 * time.Millisecond, - ReadWait: 5 * time.Millisecond, + ReadWait: 20 * time.Millisecond, }