From owner-freebsd-fs@FreeBSD.ORG Wed Sep 3 14:19:37 2008 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0FBE1065670 for ; Wed, 3 Sep 2008 14:19:37 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from aeryn.cs.uoguelph.ca (aeryn.cs.uoguelph.ca [131.104.20.160]) by mx1.freebsd.org (Postfix) with ESMTP id 73CD48FC28 for ; Wed, 3 Sep 2008 14:19:37 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by aeryn.cs.uoguelph.ca (8.13.1/8.13.1) with ESMTP id m83EJabV028196; Wed, 3 Sep 2008 10:19:36 -0400 Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id m83EW1c00289; Wed, 3 Sep 2008 10:32:01 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Wed, 3 Sep 2008 10:32:01 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: ProAce In-Reply-To: <737a6d270809012309w2be16ba3s8937623841107557@mail.gmail.com> Message-ID: References: <737a6d270809012309w2be16ba3s8937623841107557@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.63 on 131.104.20.161 Cc: freebsd-fs@freebsd.org Subject: Re: how to cache nfs file in local disk X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 14:19:37 -0000 On Tue, 2 Sep 2008, ProAce wrote: > The question I posted on freebsd-question last week, maybe I post > wrong mailing list. I describe the question here again. :) > > In order to reduce the throughput and ops for nas server, I just want > to cache file from nfs to nfs client's local disk. > And the cache system can controller the total size of cache file > automatically ( the capacity of nas is more more more larger than > local disk ). > > There are the cachefs on Solaris and FS-Cache on RedHat can cache file > from nfs to local disk, does any similar software can be run on > FreeBSD? Since no one else has answered, I toss out "None that I am aware of". I am planning on doing some work caching files on local disk when they are delegated to the client, but that will be NFSv4 specific and at least next summer before it is available. I also consider it experimental work, so it may never end up usable in a near production environment. To be honest, for LAN environments, ny hunch is that local disk caching will only help if the client keeps accessing the same files over and over again. But that's just a hunch at this point. rick