From owner-freebsd-fs@FreeBSD.ORG Thu Oct 18 11:52:39 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 56580B5F for ; Thu, 18 Oct 2012 11:52:39 +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 DA1338FC0C for ; Thu, 18 Oct 2012 11:52:38 +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 65FC9366; Thu, 18 Oct 2012 13:52:37 +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 C10926BE4; Thu, 18 Oct 2012 13:52:36 +0200 (CEST) Received: by thebe.jupiter.sigsegv.be (Postfix, from userid 1000) id 817D1B048; Thu, 18 Oct 2012 13:52:36 +0200 (CEST) Date: Thu, 18 Oct 2012 13:52:36 +0200 From: Kristof Provost To: Alexey Tyurikov Subject: Re: ZFS over NFS issue with linux clients Message-ID: <20121018115236.GT9028@thebe.jupiter.sigsegv.be> References: <20121018093517.GS9028@thebe.jupiter.sigsegv.be> 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 11:52:39 -0000 I track stable/9 in 'production', where production is on my home gateway/file/mail server. Regards, Kristof On 2012-10-18 13:31:10 (+0200), Alexey Tyurikov wrote: > Yes, I can confirm, the issue doesn't exist on FreeBSD 9.1. Affected > releases: 8.3, 9.0 > > @Kristof: thank you for the answer! do you use 9.1 in production? > > Best regards > Alexey > > 2012/10/18 Kristof Provost > > > 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 > > > > > > > -- > Alexey Tyurikov