From ad3a1a88994bbf54e95295d70f7424b67894da3e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 6 Sep 2015 09:47:27 +0200 Subject: [PATCH] Set readahead to 1MB This bring streaming read performance from 12MB/s to 30MB/s --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 6857b61..20b340a 100644 --- a/main.go +++ b/main.go @@ -30,6 +30,7 @@ func main() { fuse.Subtype(PROGRAM_NAME), fuse.VolumeName(PROGRAM_NAME), fuse.LocalVolume(), + fuse.MaxReadahead(1024*1024), } conn, err := fuse.Mount(conf.GetMountPoint(), mountOpts...) if err != nil {