These suggestions won't apply to all situations, as in, the cost of things is different if you're doing bulk transfer of a single file or a more typical file system activity such as reading/writing files somewhat randomly. Disabling caching only helps if you know a priori that you won't need that data as soon as you're done with it.
In particular, direct_io is not a good thing to have unless you know you need it for your scenario. It shouldn't be thought of as a means of disabling caching (even though that's a side effect). MacFUSE has more specific 'noubc' (no unified-buffer-cache) and 'noreadahead' options. Similarly, tweaking the block size won't really matter much--the iosize would affect things more for OS X, but MacFUSE's default I/O size (64 KB) is already set up to be the most what sshfs can handle at a time. As a general comment, OS X and Linux are quite different platforms, and MacFUSE shares pretty much nothing (except the user-kernel interface definition) with Linux FUSE. So, the semantics of certain things (blocksize, for example) aren't quite the same for both. On May 14, 5:01 pm, Dan Villiom Podlaski Christiansen <[EMAIL PROTECTED]> wrote: > I was unable to reproduce it with MacFUSE 0.3.0 and similar sshfs, but > I experienced something similar in earlier releases. My suggestions > would be: > 1) Try disabling the cache in sshfs using -o cache=no > 2) Try forcing compression to be disabled using -o Compression=no > 3) Try disabling FUSE caching using -o direct_io > 4) Try increasing the block size > > They did make a slight difference, this time, though. The three first > seemed to make a difference and increase the throughput from 5-6MB/s > to about 7-8MB/s. However, I was able to get 9-10MB/s using raw ssh. > > -- > > - Dan Villiom Podlaski Christiansen > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---
