|
From: Boris B. <ba...@en...> - 2009-01-16 00:41:12
|
Hi, I'm using sshfs to mount a directory on several machines, allowing work on a single central copy of files from home, work or on the move. However, for some uses (compiling latex documents is what itches at the moment) performance over the network (e.g. home to work server over DSL) is too slow for comfort. (Note that I am happy to use only one computer at a time, which may simplify synchronisation problems below.) sshfs appears to have a local cache, so I was hoping that it could be configured such that the reads and writes required for a latex document compilation (for instance) could all occur locally and therefore quickly and then be copied over the slow network alter but automatically. However, even if I set the large number of sshfs and fuse cache timeout settings to very large values (1800s = 30 minutes, where the defaults were 1s), performance is still too slow (i.e. not local). My fstab entry looks something like this: sshfs#username@server:<remote_directory> <local_mount_point> noauto,user,uid=<X>,gid=<X>,allow_other,cache_timeout=1800, cache_dir_timeout=1800,cache_stat_timeout=1800,cache_link_timeout=1800, entry_timeout=1800,negative_timeout=1800,attr_timeout=1800,defaults 0 0 Is what I'm trying to do possible? Have I misunderstood how the cache works? Have I missed an option (I _think_ I got all those in the man)? Help greatly appreciated. I couldn't seem to find anything very relevant in the mailing list archives. Best regards, Boris |