[OpenAFS] pre-fetch cache

Jeffrey Altman jaltman@columbia.edu
Tue, 19 Jul 2005 09:07:37 -0400


This is a cryptographically signed message in MIME format.

--------------ms020309080102030707000903
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Brian May wrote:
> The replicated copy could be installed on a fast LAN when the master
> server is on a slower WAN.

This is what replicated read-only volumes are for.

> Examples of large files could include video files, CAD designs, etc.

These are items that change infrequently and are appropriate for
distribution via read-only volumes.

> The argument was "we don't want to load the network during peak
> periods". I suspect not much thought was put into this.

You will have heavy loads under two circumstances:

(1) the content of the data on the servers change

(2) the quantity of data you are accessing from the network exceeds the
size of the cache.

> Am I correct in my understanding of AFS that any file writes require
> the entire file be copied back to the master server as soon as the
> program calls close() on that file? I think my client forgot to
> consider this.

Or when the cache needs to flush dirty pages.

> I guess I should go back to the client to clarify requirements and
> bring some sort of reality into the discussion. I don't know of
> anything that meets their requirements, but I think AFS is the closest
> I have seen.

Probably a good idea.


--------------ms020309080102030707000903
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJPzCC
AvowggJjoAMCAQICAw7NrDANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwNTI3MTc0MjQzWhcNMDYwNTI3MTc0MjQz
WjBrMQ8wDQYDVQQEEwZBbHRtYW4xFTATBgNVBCoTDEplZmZyZXkgRXJpYzEcMBoGA1UEAxMT
SmVmZnJleSBFcmljIEFsdG1hbjEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBjb2x1bWJpYS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