From owner-freebsd-current@FreeBSD.ORG Mon Jan 7 12:49:51 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 26793FF0 for ; Mon, 7 Jan 2013 12:49:51 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) by mx1.freebsd.org (Postfix) with ESMTP id DA8C17F1 for ; Mon, 7 Jan 2013 12:49:50 +0000 (UTC) Received: by mail-vb0-f46.google.com with SMTP id b13so19021702vby.5 for ; Mon, 07 Jan 2013 04:49:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=QcaZlOiLTZEzwf55lmh0tbNtUh9x0rF8Ku/G/WZiokM=; b=c5dOn5mY7dL+nM9sAvpRxASpGzdpjTceW3jSTXyowjRIJMCmQznU5YXT9xkOyuLNFc HM/y637p9jE9/OyJrPfYL49t/ctICCRE0nPHCwLWPLgMT8DfFTk4tTikDQHn4RiQmMr7 qFRqowkvBRCLJsIjWglgx+GRv2mZisXoJlVUqDo6PXDYuyI97txHH+I3ALpTng4BcO2T Ly5Oofoy7fZKTr0rKXyYaeb8rwomSqD23Dx/RWfVpCH7nIrF8n951zfGjGlYqS/UJaSv iDAr5qDFQn1XvldHKcOH8/984bKXgj75tS0aqgCYBcTeTc2xSxQ4uA1lhTkNrsqdWH5K bZFA== Received: by 10.220.238.148 with SMTP id ks20mr82806591vcb.5.1357562984648; Mon, 07 Jan 2013 04:49:44 -0800 (PST) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.58.164.100 with HTTP; Mon, 7 Jan 2013 04:49:24 -0800 (PST) In-Reply-To: <74D89D84-CC53-49A9-8D69-AF255A8323E0@my.gd> References: <50E6DE91.7010404@zedat.fu-berlin.de> <1ADC2ECB-70FF-4DDD-9D62-16E2EEECDD8B@my.gd> <74D89D84-CC53-49A9-8D69-AF255A8323E0@my.gd> From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Date: Mon, 7 Jan 2013 13:49:24 +0100 X-Google-Sender-Auth: QHTteTv3tfHBeNjpB90CGMmW5Rw Message-ID: Subject: Re: ZFS/RAIDZ and SAMBA: abyssimal performance To: Fleuriot Damien Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 12:49:51 -0000 On Mon, Jan 7, 2013 at 11:20 AM, Fleuriot Damien wrote: > > > Well perhaps the code to handle auto tuning isn't present in the driver i= tself. > > I'm not a huge fan of the idea, I believe it would be rather taxing to im= plement all the exceptions and that some could easily be overlooked. > > I believe it's better to have a more user-friendly documentation and let = users tune the hardware to suit their needs. > 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 This will kept default conservative value and guide the user to tune by itself its system. Regards, Olivier