[OpenAFS] Re: avoid writing temporary files to the server

Juan Carlos Schroeder jcsc@adinet.com.uy
Mon, 13 Sep 2004 16:07:44 -0300

Well, I tried the "fs storebehind" for all files in Linux (OpenAFS 1.2.11,
RedHat8) and it didn't improve performance. Does it work?
It is really painful to use the application like this because each time I
save the 200KB file it takes about a minute and a half to save it to the
server (apparently the protocol used by AFS has also a quite low
performance) because I'm using low bandwidth connections (64Kbps).

Juan Carlos

"Juan Carlos Schroeder" <jcsc@adinet.com.uy> escribió en el mensaje
> Hi:
> I'm using the an editor (OpenOffice Writer) with AFS. It happens that the
> application generates some ".tmp" (temporary) files when saving the file.
> The file is deleted after the "save" operation finishes.
> I'm not sure, but I think I've read somewhere that NFS client waits some
> time (in seconds) before updating the server with the changes to avoid
> kind of "writes" (temporary).
> Is there anything similar in AFS?
> I've seen the "storebehind" option of "fs" but I don't know if I can use
> because the file *doesn't* exist before starting to edit the file with the
> editor, so I can't specify which file to "storebehind".
> Is applying the "storebehind" option to a whole dir a bad idea?. The
> documentation says: "It is best not to enable asynchronous writes unless
> machine's users are sophisticated enough to understand the potential
> problems and how to avoid them.". This will be the case.
> Thanks,
> Juan Carlos