From owner-freebsd-fs@FreeBSD.ORG Thu Aug 29 14:16:34 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E32F43BD for ; Thu, 29 Aug 2013 14:16:34 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A227D2AFE for ; Thu, 29 Aug 2013 14:16:34 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id ib11so346503vcb.14 for ; Thu, 29 Aug 2013 07:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qOLArIvyBtTf+fdrfqV7qDw1f1/rVSSThF1/D8eXAGI=; b=EJRpfWfuRGYxY3EuXu6iq/PwaiQhzRuInXZ13fVjS0l3Vdf5tPlzALNssCURFIuvEs LkA3089dB73r6Z4Q6/T82Knj3GxfyhJ90aIa9AClyIj5wDd0o/QtTsVjWVblRl2BYlY0 vaVfc8I0xX1/cpNdtzcYjIbM/K2SuqwYx2jJpZsK3e5ozhhjuFbeSaJ58xwEhw2bMCZ4 kyV/eJLAFwZDawplYVh6xkY5VX8/dmWpyFMd0hUOi7rsLGuf9JwYADq8500pzF/RZOEc gjdI6E7mfKcDc73t+GcrYxtqdzwhVtpefsS7yURCAoK7EP6XDIAXCT7elXGUIoHfm4sN kT9Q== MIME-Version: 1.0 X-Received: by 10.220.181.136 with SMTP id by8mr3341906vcb.11.1377785793796; Thu, 29 Aug 2013 07:16:33 -0700 (PDT) Received: by 10.220.96.78 with HTTP; Thu, 29 Aug 2013 07:16:33 -0700 (PDT) In-Reply-To: <1079189088.15197172.1377784177805.JavaMail.root@uoguelph.ca> References: <1079189088.15197172.1377784177805.JavaMail.root@uoguelph.ca> Date: Thu, 29 Aug 2013 10:16:33 -0400 Message-ID: Subject: Re: NFS on ZFS pure SSD pool From: "Sam Fourman Jr." To: Rick Macklem Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD FS 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, 29 Aug 2013 14:16:35 -0000 On Thu, Aug 29, 2013 at 9:49 AM, Rick Macklem wrote: > Sam Fourman Jr wrote: > > > > > > > > > > > > > > On Wed, Aug 28, 2013 at 2:27 PM, Eric Browning < > > ericbrowning@skaggscatholiccenter.org > wrote: > > > > > > Rick, > > > > Sam and I applied the patch (kernel now at r254983M) and set > > vfs.nfsd.tcphighwater=5000 > > in sysctl.conf and my CPU is still slammed. SHould I up it to 10000? > > > > > > > > > > > > > > Hello, list > > I am helping Eric debug and test this situation as much as I can. > > > > > > So to clarify and recap, here is the situation: > > > > > > > > This is a production setting, in a school, that has 200+ students > > using a mix of systems,with the primary client being OSX 10.8. > > and the primary function is using NFS. > > > I haven't touched a Mac in several years, but I think Finder probes at > regular intervals to see if directories (oops, I meant folders;-) have > changed. I think there is a way to increase the interval time between > probes. > Also, I think there are tunables for the metadata cache in ZFS, which > might be useful for increasing the metadata cache sizes, since the probes > will be checking metadata (attributes). > > Can does anyone here on the list, have clues on where to start with ZFS metadata turntables, and a command or two to profile the kernel for CPU usage? I'm willing to read up on kernel profiling as well, I'm just not sure where to start > -- Sam Fourman Jr.