From owner-freebsd-fs@FreeBSD.ORG Thu Oct 18 09:35:50 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E82B67E1 for ; Thu, 18 Oct 2012 09:35:50 +0000 (UTC) (envelope-from kp@sigsegv.be) Received: from mercury.codepro.be (mercury.codepro.be [IPv6:2001:4b98:dc0:51:216:3eff:feb7:3147]) by mx1.freebsd.org (Postfix) with ESMTP id 7A66E8FC08 for ; Thu, 18 Oct 2012 09:35:50 +0000 (UTC) Received: from adrastea.jupiter.sigsegv.be (adrastea.jupiter.sigsegv.be [IPv6:2001:6f8:1498:1::3]) by mercury.codepro.be (Postfix) with ESMTP id B3F3D366; Thu, 18 Oct 2012 11:35:48 +0200 (CEST) Received: from thebe.jupiter.sigsegv.be (thebe.jupiter.sigsegv.be [172.16.1.5]) by adrastea.jupiter.sigsegv.be (Postfix) with ESMTP id 69A8F6AAF; Thu, 18 Oct 2012 11:35:18 +0200 (CEST) Received: by thebe.jupiter.sigsegv.be (Postfix, from userid 1000) id 4340C40F3B; Thu, 18 Oct 2012 11:35:18 +0200 (CEST) Date: Thu, 18 Oct 2012 11:35:18 +0200 From: Kristof Provost To: Alexey Tyurikov Subject: Re: ZFS over NFS issue with linux clients Message-ID: <20121018093517.GS9028@thebe.jupiter.sigsegv.be> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-PGP-Fingerprint: E114 D9EA 909E D469 8F57 17A5 7D15 91C6 9EFA F286 User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 09:35:51 -0000 On 2012-10-18 10:50:25 (+0200), Alexey Tyurikov wrote: > I'm looking for people using FreeBSD 9.0 amd64 ZFS over NFS (v3 and v4) > with Linux clients. My clients (last CentOS6 and Debian6) don't use cache > for files lying on ZFS over NFS. Tested: > > $ grep something /nfs_zfs/file-100MB # network activity, client read the > file over NFS (slow) > $ grep something /nfs_zfs/file-100MB # network activity, client read the > file over NFS once again (slow) > I'm unable to reproduce this behaviour with a Debian 6.0 client (ARM, because my openrd is the only client I can get to at the moment). That's a 2.6.32-5-kirkwood kernel. The server is FreeBSD 9.1-PRERELEASE #91 r241441 (amd64). I can't easily compare to UFS, because the server is ZFS only. I see network activity on the first read, but only very little (a single getattr + reply in fact) on the second read. Regards, Kristof