Set readahead to 1MB

This bring streaming read performance from 12MB/s to 30MB/s
This commit is contained in:
Jakob Unterwurzacher 2015-09-06 09:47:27 +02:00
parent 448e88490b
commit ad3a1a8899
1 changed files with 1 additions and 0 deletions

View File

@ -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 {