From owner-freebsd-stable@FreeBSD.ORG Thu Feb 24 17:15:49 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6B3E1065673 for ; Thu, 24 Feb 2011 17:15:49 +0000 (UTC) (envelope-from boydjd@jbip.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 38C458FC1E for ; Thu, 24 Feb 2011 17:15:48 +0000 (UTC) Received: by fxm19 with SMTP id 19so844205fxm.13 for ; Thu, 24 Feb 2011 09:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jbip.net; s=google; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=sLh9eSZJllicjNsZggpAqFybvMGHezmh1bcGO22/SoU=; b=TMVEw2WZac3Drz4xvxyJ78L7tqOaJMWyonMSujPxp52xet2UKVjwEThMTpVW+juiJ/ DuNx7h5R1M/E+kX1or6Qdfh4+t1sNRoBKLM1+SS/QPf7q+8OY8sdyERceqr/9qzPYofJ xo9VPnzfkbDk9IDua91rEot27/wZRsBGRQlwM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=jbip.net; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=Fi+J6fCYyMw/9I5f/WyKh7y/YGLYUTliFvyK4al/bvCD3LzG0Tb6y2wLi8c3gc9DwA FG2D9NNwwUVQN1Al4AaPPBMr8ewGJoYQJ/BI0/24YuXxfndbNCPrQuT60Hc+hWhQecZf JU5BXP4KzMRCb2eHun0lfKAEAZF4b8pT4lFzQ= Received: by 10.223.72.207 with SMTP id n15mr1343438faj.49.1298567719439; Thu, 24 Feb 2011 09:15:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.109.148 with HTTP; Thu, 24 Feb 2011 09:14:08 -0800 (PST) In-Reply-To: <20110224075517.GA18146@icarus.home.lan> References: <4D660909.6090202@my.gd> <20110224075517.GA18146@icarus.home.lan> From: Joshua Boyd Date: Thu, 24 Feb 2011 12:14:08 -0500 Message-ID: To: Jeremy Chadwick Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-stable@freebsd.org" Subject: Re: ZFS - abysmal performance with samba since upgrade to 8.2-RELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2011 17:15:49 -0000 On Thu, Feb 24, 2011 at 2:55 AM, Jeremy Chadwick wrote: > On Thu, Feb 24, 2011 at 08:30:17AM +0100, Damien Fleuriot wrote: >> Hello list, >> >> I've recently upgraded my home box from 8.2-PRE to 8.2-RELEASE and since >> then I've been experiencing *abysmal* performance with samba. >> >> We're talking transfer rates of say 50kbytes/s here, and I'm the only >> client on the box. > > I have a similar system with significantly less disks (two pools, one > disk each; yes, no redundancy). =A0The system can push, via SMB/CIFS > across the network about 65-70MBytes/sec, and 80-90MByte/sec via FTP. > I'll share with you my tunings for Samba, ZFS, and the system. =A0I spent > quite some time messing with different values in Samba and FreeBSD to > find out what got me the "best" performance without destroying the > system horribly. > Hey Jeremy, Thanks for this post. These settings seem to have fixed my Samba configuration. I had configured with AIO previously, but apparently my tunings weren't spot on. I'd get buffering over 100Mbit with 1080p video, but 720p video would work just fine. Looks like this is what I needed to be able to ditch using DLNA for streaming to my Popbox! --=20 Joshua Boyd JBipNet E-mail: boydjd@jbip.net http://www.jbip.net