From owner-freebsd-questions@FreeBSD.ORG Thu Mar 28 09:12:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D95D5AA4 for ; Thu, 28 Mar 2013 09:12:47 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id A226292E for ; Thu, 28 Mar 2013 09:12:47 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1UL8t7-0008L9-21 for freebsd-questions@freebsd.org; Thu, 28 Mar 2013 09:12:49 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1UL8t3-000EPj-Nl for freebsd-questions@freebsd.org; Thu, 28 Mar 2013 09:12:45 +0000 Date: Thu, 28 Mar 2013 09:12:45 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Copying memstick image to a USB (flash/thumb) drive Message-Id: <20130328091245.c5eecadea50b45f92e8363db@sohara.org> In-Reply-To: <5153FEFF.4090305@sneakertech.com> References: <14008.1364453112@server1.tristatelogic.com> <5153FEFF.4090305@sneakertech.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 09:12:47 -0000 On Thu, 28 Mar 2013 04:27:43 -0400 Quartz wrote: > > > I have filed the following PR: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177431 > > Er, don't take my word for law: I have *no* idea if 1M is a good idea > for most systems, I'm not even sure if it's optimal for mine. I did a > single test with three random values at different orders of magnitude > and picked the fastest. I do think that 10k is probably way under the > right value, but someone should do proper testing on a variety of > hardware before changing all the docs. The 1M will work fine, it's way bigger than any physical write. In theory the performance should max out when the block size matches the maximum physical write size of the controller (often 64K), but that assumes zero read latency on the data feed so in practice larger block sizes help, but except for things like tape they don't help much once you pass the device/controller max write block size. -- Steve O'Hara-Smith