hello paul, comments below... ----- Original Message ----- From: "Paul Patrick Carpio Prantilla" <[EMAIL PROTECTED]> To: "PLUG" <[EMAIL PROTECTED]> Sent: Wednesday, May 05, 2004 9:23 AM Subject: [plug] Caching Issues in NFS
> Hello, > > I'm trying to conduct an experiment wherein I measure file-caching > performances over wireless connections. My basic setup includes one > client and two servers. In a nutshell, what the experiment does is to > make the client copy a fixed number of random files from a file pool > found in both servers. The client then caches the files it copies, so > the next time it tries to copy the exact file, it simply reads off the > cache. sounds like client-side caching :-> > Since I implemented my own caching mechanism, I'd like to now decide on > how the network file transfers are to be made. I initially thought scp > would be sufficient, but I'd like to ask the mailing list's opinion on > using NFS. The problem with NFS however, is that it seems like it > already has it's own caching procedures (which in turn, may screw my > test results just like Coda did). yup nfs has its own caching procedure on the client side to improve throughput and decrease latency as well as reduce network and server load.... nfs version 4 (rfc 2624) is improving this but still not supporting *disconnected client operation* unlike with coda, intermezzo and others... > I heard of the ability to "disable nfs caching" from browsing the net. > However, I'm not sure of what this does exactly and whether it is > sufficient (there may be other caching procedures and NFS-related > factors that may affect my test procedure, not necessarily > file-caching). yup you can disable nfs caching... man 5 nfs and look for *noac" option... > I plan to do more research on this, but I would highly > appreciate any additional insights. Thank you for your time. samba is another network filesystem that available on linux and has its own client-side caching also but you can disable this by putting this at your smb.conf: csc policy = disable i believe all network filesystem implemented client-side caching to improve throughput and reduce latency but of course there is always an option to disable it :-> fooler. -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
