From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 07:40:23 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5B6E1065674 for ; Mon, 23 Jul 2012 07:40:23 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 1E5E48FC08 for ; Mon, 23 Jul 2012 07:40:22 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q6N7eKbk007635; Mon, 23 Jul 2012 09:40:21 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q6N7eKjr007632; Mon, 23 Jul 2012 09:40:20 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Mon, 23 Jul 2012 09:40:20 +0200 (CEST) From: Wojciech Puchar To: Jakub Lach In-Reply-To: <1342994216549-5729035.post@n5.nabble.com> Message-ID: References: <1342992043358-5729028.post@n5.nabble.com> <1342994216549-5729035.post@n5.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Mon, 23 Jul 2012 09:40:21 +0200 (CEST) Cc: freebsd-questions@freebsd.org Subject: Re: "da0: 40.000MB/s transfers" What was rationale behind pegging USB 2.0 at 40MB/s? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 07:40:23 -0000 > dd if=/dev/zero of=/dev/da0 bs=1 to 15M > > runs, 13-14MB/s from actual files copied > in mc to flash and 36-39MB/s file copied > from flash to hdd in mc. > > dd if=/dev/da0 of=/dev/zero bs=15m > > gives 33MB/s read. and this is incredibly high as of any pendrive. Consider few things: - pendrive flash mappers are incredibly dumb, they work in usable speed when you do linear write only. - today lies are standard. never believe in stated performance unless you measure it. > even recognized in FreeBSD as device. what i do with any pendrive: dd if=/dev/zero of=/dev/da0 bs=64k count=1 newfs_msdosfs /dev/da0 (if i want FAT filesystem) partition table is not needed in any OS, including Windows starting from XP. msdosfs in FreeBSD isn't high performance too. try writing small amount of huge files.