From owner-freebsd-questions@freebsd.org Wed Aug 30 20:13:27 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3F66E094FE for ; Wed, 30 Aug 2017 20:13:26 +0000 (UTC) (envelope-from raf@rafal.net) Received: from mxout-08.mxes.net (mxout-08.mxes.net [216.86.168.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D1DD57E741 for ; Wed, 30 Aug 2017 20:13:26 +0000 (UTC) (envelope-from raf@rafal.net) Received: from edina.glencottage.net (unknown [86.40.118.125]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C4173509B6 for ; Wed, 30 Aug 2017 16:13:24 -0400 (EDT) From: Rafal Lukawiecki Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Does NFS client cache? Message-Id: <206BE5FE-7A80-4CCA-8107-F3BBD3FC00FA@rafal.net> Date: Wed, 30 Aug 2017 21:13:22 +0100 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 20:13:27 -0000 Apologies for my FreeBSD newbieness=E2=80=A6coming from CentOS/Amazon = Linux and on a fast knowledge ramp-up at the moment. I would like to know if the NFS client in FreeBSD performs any/some/none = caching of the files clients fetch. I am used to installing fscache = (cachefilesd, see = http://people.redhat.com/~dhowells/fscache/FS-Cache.pdf) on Linuxes, = with an fstab mount flag =E2=80=9Cfsc=E2=80=9D to perform persistent = caching to the local *disk*. This gives me significant performance = improvements on the Linuxes I have used. Is this not done at all, or = done in some other way on FreeBSD? I could not find any relevant ports. The use case is cloud-based servers caching centrally managed NFS files = that contain rarely changing config and dev data, however all = speed-critical data is locally rsynced. Many thanks and my regards from Ireland, Rafal -- Rafal Lukawiecki Data Scientist and Director=20 Project Botticelli Ltd