From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 23 Jun 2007 20:15:37 -0700 From: Lyndon Nerenberg To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] 9P optimization In-Reply-To: <8ccc8ba40706232004t38102644r7d5dd145ee15d026@mail.gmail.com> Message-ID: <20070623200857.H1471@orthanc.ca> References: <20070623043028.A0A7C1E8C51@holo.morphisms.net> <20070623174825.A31325@orthanc.ca> <8ccc8ba40706232004t38102644r7d5dd145ee15d026@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Topicbox-Message-UUID: 86526244-ead2-11e9-9d60-3106f5b1d025 > The problem with cfs is that you still suffer the RPC to check for validity. > With 100ms of RTT, count 5 and you have a second. Also, for synthesized > files, > the cache does not save you from doing a walk, open, read. I'll be accused of being a heretic, but let me claim that much of the design of IMAP is geared towards avoiding those RTTs for that very reason. A good IMAP client wins by doing intelligent cacheing, and it gets there by using the subtle aspects of the protocol that accomodate that. Much as people slag the protocol, it does work well over slow (high latency) links, given a client that understands the protocol (sadly, most don't). I'm very curious about the efficiency of cfs, but my P9 environment doesn't have a remote terminal. It would be interesting to instrument cfs and collect some stats on the protocol behaviour behind the cache ... --lyndon