diff options
| author | Jakob Unterwurzacher | 2015-09-06 09:47:27 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2015-09-06 09:47:27 +0200 |
| commit | ad3a1a88994bbf54e95295d70f7424b67894da3e (patch) | |
| tree | 961738ec26cea8fb5907b37e78de8a3edac8daf8 | |
| parent | 448e88490bedb1efcaa6bc19f2347a24ed27579a (diff) | |
Set readahead to 1MB
This bring streaming read performance from 12MB/s to 30MB/s
| -rw-r--r-- | main.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 { |
