From owner-freebsd-current@FreeBSD.ORG Mon Jan 7 13:21:20 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97403A4E for ; Mon, 7 Jan 2013 13:21:20 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0E2739B0 for ; Mon, 7 Jan 2013 13:21:19 +0000 (UTC) Received: by mail-we0-f171.google.com with SMTP id u3so10215118wey.30 for ; Mon, 07 Jan 2013 05:21:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=N9/iXRMD4HrU4kdfBZXVs/HvnRDyXQDnbWP8Hjzc2qs=; b=jbwguZL1b0i4siVSWDmBBzO6G4DDj0hqaak6RZjyGHUR3TUHssp3+Buy7RdauW8OMF M0q6S+B4Sf1BCJV+rGQGAZ7z/C7V67zBW6pVizn/2/3fDIAS88IZfU4ov/+zdQLwQzlX iOq66/1+hYXaAMpMd/FxILaHDVaFWYXA+dTvT7GsRVgvYPoA2K9zWv3SpZl4xw9ocWFh vx8fM6RLg5NfgKdvlN5TY+Nq2lgiSpWxRDwPabGVQlw2ldyeHbXw/zYOQ5tjCWrZGErU En4MRQCT7AhD9TnroiBVwx0iYhqCzP8fihj7k38HC21Gvs4dTeIB0WyvfmYQgAoS0yiy z86w== X-Received: by 10.180.106.34 with SMTP id gr2mr9197907wib.18.1357564872933; Mon, 07 Jan 2013 05:21:12 -0800 (PST) Received: from [192.168.1.123] (tui75-3-88-168-239-38.fbx.proxad.net. [88.168.239.38]) by mx.google.com with ESMTPS id fv2sm12154167wib.4.2013.01.07.05.21.11 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Jan 2013 05:21:12 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: ZFS/RAIDZ and SAMBA: abyssimal performance From: Fleuriot Damien In-Reply-To: Date: Mon, 7 Jan 2013 14:21:10 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3E4CC481-6222-4AD5-8F39-C7532D6D67AF@my.gd> References: <50E6DE91.7010404@zedat.fu-berlin.de> <1ADC2ECB-70FF-4DDD-9D62-16E2EEECDD8B@my.gd> <74D89D84-CC53-49A9-8D69-AF255A8323E0@my.gd> To: =?windows-1252?Q?Olivier_Cochard-Labb=E9?= X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlPp8rDR02FsNliyyV8nFCAvyWcWYSoISBya3qMwtVQpXrpEJjhYGzouTR4PBOsTkncj+O9 Cc: Current FreeBSD , "O. Hartmann" , Daniel Kalchev 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: Mon, 07 Jan 2013 13:21:20 -0000 On Jan 7, 2013, at 1:49 PM, Olivier Cochard-Labb=E9 = wrote: > On Mon, Jan 7, 2013 at 11:20 AM, Fleuriot Damien wrote: >>=20 >>=20 >> Well perhaps the code to handle auto tuning isn't present in the = driver itself. >>=20 >> I'm not a huge fan of the idea, I believe it would be rather taxing = to implement all the exceptions and that some could easily be = overlooked. >>=20 >> I believe it's better to have a more user-friendly documentation and = let users tune the hardware to suit their needs. >>=20 >=20 > And why not to provide a "simple" shell script that: > 1. Collect the detected hardware device list > 2. Collect the sysctl value > 3. Popose all tunning tips regarding the detected hardware (including > RAM/number of CPU/etc=85) and the sysctl value >=20 > This will kept default conservative value and guide the user to tune > by itself its system. >=20 > Regards, >=20 > Olivier Tuning isn't simply dependent on your hardware, it also *heavily* = depends on what you want to do with your server. A large database, a fast httpd serving tiny 2kbytes files, or a samba = server have little in common and require different optimizations. While I understand the motivation behind your idea, I still don't think = it would be terrific. However, who am I to stop you ? Kindly feel free to conceptualize such a script and ask for testers here = on the mailing list, I for one would be delighted to help.=