From owner-freebsd-current@FreeBSD.ORG Wed Nov 9 07:02:53 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E43911065673 for ; Wed, 9 Nov 2011 07:02:53 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D9FE8FC13 for ; Wed, 9 Nov 2011 07:02:53 +0000 (UTC) Received: by ggnk3 with SMTP id k3so1990274ggn.13 for ; Tue, 08 Nov 2011 23:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3h5vViHl9K/c1wlcSeIPiOnD1HG81Y9B+P61iLm4T4k=; b=rDHQcHCTwsuCLV5/g6ciTko/1nFsG0CuwsBXQHKm/sU9Z435X8h+OFmfp5BX9Q2fql kAl+r2nBJF4NpVRnqDZ3bFBx14cqjcW+QQE52GPGb1XRaVI6ml2OTDoQMrhbcB1x3VA+ f9F3rhX4Mm5XODJwaRU0woEVAuEsM2TaZXRKw= MIME-Version: 1.0 Received: by 10.182.169.34 with SMTP id ab2mr230832obc.27.1320822172963; Tue, 08 Nov 2011 23:02:52 -0800 (PST) Received: by 10.182.122.33 with HTTP; Tue, 8 Nov 2011 23:02:52 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Nov 2011 23:02:52 -0800 Message-ID: From: Garrett Cooper To: "Daniel O'Connor" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Kurt Touet , freebsd-current@freebsd.org, Dan The Man Subject: Re: samba+zfs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 07:02:54 -0000 On Tue, Nov 8, 2011 at 10:28 PM, Daniel O'Connor wr= ote: > > On 09/11/2011, at 16:56, Daniel O'Connor wrote: >> On 09/11/2011, at 16:29, Kurt Touet wrote: >>> Is anyone else seeing problems like this with samba/zfs ? =A0 =A0Perhap= s >>> it's not exclusive to samba, either? >> >> Yep, I see this too. >> >> I can get 80-100Mbyte/sec reads out of a single disk but ZFS is (now) ve= ry slow - it reads & writes and much more slowly (10-30MB/sec). >> >> When the array was fresh it was nice and fast - it is now 68% full and h= asn't been much more full than that (I don't know but am pretty sure it nev= er reach past 75%). >> >> The frustrating thing is trying to find some way of measuring what's act= ually going on.. I haven't had much luck : > > > Note that this is not restricted to Samba and while the server is not com= pletely idle it's not doing very much. > > dd's of large files (spooled backups going to tape) to /dev/null are as s= low as Samba. - Dedupe? - Compression? - How much RAM? - What debug options do you have enabled in the kernel? I've been noticing a slowdown in some respects with NFS/SMB, but I suspected it was because I have an re(4) based NIC. ZFS has also wired down a lot of my system memory for the L2ARC... Thanks, -Garrett