From owner-svn-src-head@FreeBSD.ORG Wed Mar 16 20:37:51 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90B111065670; Wed, 16 Mar 2011 20:37:51 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id F20378FC16; Wed, 16 Mar 2011 20:37:50 +0000 (UTC) Received: by qyk35 with SMTP id 35so3526985qyk.13 for ; Wed, 16 Mar 2011 13:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=2gBirjjSGErUHGlpukR/FQmROnVbQnKgNLKerCo5G6k=; b=dVWqwXlIhhf5H5/AJxElQ0JZ5gon5HWbNwNUorYLu2FvVAsj9xH1etLKgm6MfTnDwy p9v2t25YtQBai+tMEzkQ3qlC49mbEZQIlzq147cKnnMlvVLO//EZ0EBQMBgtCsXpDLQB EWQLXa0+Aearv6lIfKOVpqvLgQ2KVWZXtowYc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; b=tsIqCS4f9b1A2Zj754PDhsAhJ8+LvnTZq4cmYVyICb7PDt6xzvOSEXwGs9h2kPnzW7 0DQjm/DQ7OfASHh8eU5a/aK+Fuca1vimOiLnYVGLQ1WM7g1yPMvqYhhi2sWwO3jXOhM0 l4PjeA7PNQuxLHAaCSxXyvPQlyJV+2CaxporU= Received: by 10.229.111.225 with SMTP id t33mr473181qcp.61.1300307870084; Wed, 16 Mar 2011 13:37:50 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.229.78.193 with HTTP; Wed, 16 Mar 2011 13:37:10 -0700 (PDT) In-Reply-To: References: <201103161622.p2GGMxNp097642@svn.freebsd.org> <20110316174642.GB6367@freebsd.org> From: Ivan Voras Date: Wed, 16 Mar 2011 21:37:10 +0100 X-Google-Sender-Auth: xVTzh_smmyqSVA7MawtfieKLSuk Message-ID: To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, Roman Divacky , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r219699 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 20:37:51 -0000 On 16 March 2011 20:59, Garrett Cooper wrote: > On Wed, Mar 16, 2011 at 12:51 PM, Ivan Voras wrote: >> On 16 March 2011 18:46, Roman Divacky wrote: >>> >>> On Wed, Mar 16, 2011 at 04:22:59PM +0000, Ivan Voras wrote: >>> > Author: ivoras >>> > Date: Wed Mar 16 16:22:59 2011 >>> > New Revision: 219699 >>> > URL: http://svn.freebsd.org/changeset/base/219699 >>> > >>> > Log: >>> > =C2=A0 The hardware has caught up; improvements are now observed even= at 128, >>> > =C2=A0 but stay conservative and bump read_max to "only" 64 (it will = probably be >>> > =C2=A0 a good idea to increase this to 128 after the next major relea= se). >>> >>> how did you measure this? >> >> Specifically for this commit: my desktop 2xSATA 7200 RPM drives, >> gmirror, single read "dd" stream, bs=3D1m. (Are there any ready read >> multi-stream read tests which are not trivial i.e. they start from >> different positions in the file?) > > Would be interesting to see how well things work with the new > geom_raid bits and with other drives (SAS, SCSI). Yes, I'd be interested in that; I'll try it when I get the chance to test new hardware. For now, there's a report (which actually inspired me to retest and commit this) from someone who tried this on 2x 15k RPM SAS drives, with much better results using read_max=3D128 (thread "gmirror performance" on freebsd-fs@). I estimate that because his drives were 15kRPM from the start, the improvement isn't as drastic going from 8 to 128 as on these SATA drives I tested on (faster seeks). He went from ~~ 195 MB/s to ~~ 258 MB/s while I go from ~~ 50 MB/s to ~~ 140 MB/s.