From owner-freebsd-fs@FreeBSD.ORG Thu Oct 18 11:31:18 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 198DF110 for ; Thu, 18 Oct 2012 11:31:18 +0000 (UTC) (envelope-from alexey.w.tyurikov@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9A35A8FC19 for ; Thu, 18 Oct 2012 11:31:17 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so4998877eek.13 for ; Thu, 18 Oct 2012 04:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=CbGdq374FBaG91gie8azM2d6jCuKS8acNgQdiq4pp1k=; b=reEU29cJSvODAwWeE6zDFAp1mDx3mA0OxuyOAxL6q7IHXFa+6xoHpI/ZiVVJuP/C5P vVA+U5rTEi2ECVdzYtK6PFP/74gSFkQgOc/dvuw6Q+NPGa0fJv8HFoWSV5Zmks74RpYv DnM3sBK3kkLcNnzHzJGA273/vurImaO4nI1AmmNyqvzTnwjg8Jj6s1NawnunVCvEdhqF lmuwfHtsgntaCfdjec4v9poWcyKyc4LIfxf9dH3xRq1RdB9cf9o/VFxuQcqKUPM1k775 4Vbad4ZFT5U1Rrj8k0sR0WKtM4qu74e2NX0mirdPQ0+zjmbLTZHRW+rZaWtU23iBVDbi QT8w== MIME-Version: 1.0 Received: by 10.14.203.69 with SMTP id e45mr30819295eeo.38.1350559870985; Thu, 18 Oct 2012 04:31:10 -0700 (PDT) Sender: alexey.w.tyurikov@gmail.com Received: by 10.14.179.201 with HTTP; Thu, 18 Oct 2012 04:31:10 -0700 (PDT) In-Reply-To: <20121018093517.GS9028@thebe.jupiter.sigsegv.be> References: <20121018093517.GS9028@thebe.jupiter.sigsegv.be> Date: Thu, 18 Oct 2012 13:31:10 +0200 X-Google-Sender-Auth: _E7vkIK5nbME1yGrE83ZpxAvttE Message-ID: Subject: Re: ZFS over NFS issue with linux clients From: Alexey Tyurikov To: Kristof Provost Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:31:18 -0000 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