Re: about sfs and local file-caching

Emil Sit <[email protected]> Fri, 16 Dec 2005 00:32:40 -0500
Newsgroups gmane.comp.file-systems.sfs.general
Message-ID <[email protected]>
Eric,

On Tue, 13 December 2005 at 21:08 (+0900), Eric Kjeldergaard wrote:
> using this over the internet instead of a LAN.  My Export is read-only
> and my DSL connection is rather unfortunately bursty.  I've noticed

If you're not already, a traffic shaper on your uplink might help
reduce the impact of any buffering done by your DSL provider on your
throughput.

> that it is difficult to use files over sfs quickly in this situation. 
> For instance, I'm unable to play high-bitrate music files without
> skips.  I was wondering if there is a setting for local file caching
> or (if it is caching locally) to increase the size of the cache. 

I imagine that your problem isn't so much that data is being evicted
from the cache but that your app is processing data faster than it is
being read over the network.  For audio, you can often instruct the
player to read-ahead/buffer more data at the application level which
would help with this problem.  (I don't think SFS has a separate
data cache beyond what your OS might generically provide at the
VFS layer.)

-- 
Emil Sit / MIT: CSAIL PDOS, SIPB, OLC / http://web.mit.edu/sit/www/