From owner-freebsd-stable@FreeBSD.ORG Thu Feb 15 20:07:18 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B94716A402 for ; Thu, 15 Feb 2007 20:07:18 +0000 (UTC) (envelope-from SRS1=4bc846828a02e5d415a173830aae2b9c06dc95d4=es.net==4bc846828a02e5d415a173830aae2b9c06dc95d4=247=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 0313813C478 for ; Thu, 15 Feb 2007 20:07:17 +0000 (UTC) (envelope-from SRS1=4bc846828a02e5d415a173830aae2b9c06dc95d4=es.net==4bc846828a02e5d415a173830aae2b9c06dc95d4=247=es.net=oberman@es.net) Received: from postal4.es.net (postal4.es.net [198.124.252.66]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id UVS24406 for ; Thu, 15 Feb 2007 11:55:06 -0800 Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id UVS32404; Thu, 15 Feb 2007 11:55:04 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 18C3A45055; Thu, 15 Feb 2007 11:55:03 -0800 (PST) To: Ivan Voras In-Reply-To: Your message of "Thu, 15 Feb 2007 19:12:40 +0100." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1171569303_99072P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 15 Feb 2007 11:55:03 -0800 From: "Kevin Oberman" Message-Id: <20070215195503.18C3A45055@ptavv.es.net> Cc: freebsd-stable@freebsd.org Subject: Re: Very slow umass in 6.2-RC2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 20:07:18 -0000 --==_Exmh_1171569303_99072P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: Ivan Voras > Date: Thu, 15 Feb 2007 19:12:40 +0100 > Sender: owner-freebsd-stable@freebsd.org > > Alexander Shikoff wrote: > > > umass0: vendor 0x1005 USB FLASH DRIVE, rev 2.00/1.00, addr 2 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: < USB FLASH DRIVE 34CH> Removable Direct Access SCSI-0 device > > da0: 40.000MB/s transfers > > da0: 3936MB (8060928 512 byte sectors: 255H 63S/T 501C) > > > > Writing to this device is very slooooow. > > > > Time taken to copy file of 1,4G is near 30 min. > > 1400/1800=0.77... which looks suspiciously like the rate I get while > copying over USB 1 port. What does "iostat 1" say while you're copying > the file? Looks a lot like a new 4GB drive I bought. It is painfully slow. Here is the result of iostat: tty ad0 da0 pass0 cpu tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 77 16.00 1 0.02 4.00 48 0.19 0.00 0 0.00 0 0 1 0 99 0 231 0.00 0 0.00 4.00 48 0.19 0.00 0 0.00 3 0 1 2 94 0 649 0.00 0 0.00 4.00 36 0.14 0.00 0 0.00 3 0 2 2 94 0 77 9.00 2 0.02 4.00 1 0.00 0.00 0 0.00 2 0 1 1 97 0 77 9.00 2 0.02 0.00 0 0.00 0.00 0 0.00 4 0 1 0 95 This is (obviously) from the end of the transfer. Transfer rate varies from .14 to .19 MB/s. While I have not one statistical analysis, it is clear that the mode is .14 and I'd guess the median is around 16 KB/s. (I calculated it over 20 samples in the middle of the transfer.) To say that this is dreadful is a major understatement, but I suspect it is an issue with the drive. I will try it on Windows and see it it works any better there. It might be crappy hardware. (At $30 for a 4GB drive, it was certainly cheap.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1171569303_99072P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFF1LqXkn3rs5h7N1ERAq9BAJ9Eo13uhK6G/QIUF+iki795yQUq4QCgtyyy C270Xa6om5atne2bEQEuEzA= =k6aT -----END PGP SIGNATURE----- --==_Exmh_1171569303_99072P--