From owner-freebsd-current@FreeBSD.ORG Fri Jan 4 14:45:27 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A8AEB87C for ; Fri, 4 Jan 2013 14:45:27 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f53.google.com (mail-oa0-f53.google.com [209.85.219.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA7E73A for ; Fri, 4 Jan 2013 14:45:27 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id j6so15053762oag.26 for ; Fri, 04 Jan 2013 06:45:21 -0800 (PST) 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=IpRk0vVul+zkUwyTPQD1ghKLA5poW8gV2qzTSodeCkw=; b=n1M1gvLyOH8SBB9KngqNiHzcgk09UyAjo3AYCdp67XwiXLlAGSIEgmiJ/RTOc/O1XY IVI+G5rThNb92rc8BxrdqikHqJqQskdooSAKXAGEdq7JNVQ9lL2X62A6sXYUCGYRq4at CboiD5hMOWLZvODs3jjvVYlPPrOoQxI2VrmweXPmCA+h4yyE56eeKmmule1TA6756HxF 6t7ja6Fpwf0jk/hn6anhKZSyv2RquIpkI34MmPd9SJGz9TH9rNnkSE8u+8t8RWfmF9wD jSAL7GIbaDY1p6qDiaWuoPm6B63ORv4wz5HDw4kRpCqVBfG8s1hf6BOOspGkYORGK6TK SSiQ== MIME-Version: 1.0 Received: by 10.60.172.178 with SMTP id bd18mr30747947oec.133.1357310721512; Fri, 04 Jan 2013 06:45:21 -0800 (PST) Received: by 10.76.143.33 with HTTP; Fri, 4 Jan 2013 06:45:21 -0800 (PST) In-Reply-To: <1ADC2ECB-70FF-4DDD-9D62-16E2EEECDD8B@my.gd> References: <50E6DE91.7010404@zedat.fu-berlin.de> <1ADC2ECB-70FF-4DDD-9D62-16E2EEECDD8B@my.gd> Date: Fri, 4 Jan 2013 06:45:21 -0800 Message-ID: Subject: Re: ZFS/RAIDZ and SAMBA: abyssimal performance From: Garrett Cooper To: Fleuriot Damien Content-Type: text/plain; charset=ISO-8859-1 Cc: Current FreeBSD , "O. Hartmann" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 04 Jan 2013 14:45:27 -0000 On Fri, Jan 4, 2013 at 6:06 AM, Fleuriot Damien wrote: ... > And this is under [global] in /usr/local/etc/smb.conf: > min receivefile size = 16384 > aio read size = 16384 > aio write size = 16384 > aio write behind = yes These are still pretty low, depending on what your networking/disk setup is like; my important performance settings are: socket options = SO_RCVBUF=64240 SO_SNDBUF=64240 TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT write cache size = 65536 aio read size = 65536 aio write size = 65536 directory name cache size = 0 HTH, -Garrett