From owner-freebsd-stable@FreeBSD.ORG Thu Feb 15 21:03:29 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 D544C16A402 for ; Thu, 15 Feb 2007 21:03:29 +0000 (UTC) (envelope-from SRS0=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 6665F13C48E for ; Thu, 15 Feb 2007 21:03:29 +0000 (UTC) (envelope-from SRS0=4bc846828a02e5d415a173830aae2b9c06dc95d4=247=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id UXS11528; Thu, 15 Feb 2007 13:03:28 -0800 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E554E45053; Thu, 15 Feb 2007 13:03:27 -0800 (PST) To: Ivan Voras In-Reply-To: Your message of "Thu, 15 Feb 2007 11:55:03 PST." <20070215195503.18C3A45055@ptavv.es.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1171573407_94867P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 15 Feb 2007 13:03:27 -0800 From: "Kevin Oberman" Message-Id: <20070215210327.E554E45053@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 21:03:29 -0000 --==_Exmh_1171573407_94867P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Thu, 15 Feb 2007 11:55:03 -0800 > From: "Kevin Oberman" > Sender: owner-freebsd-stable@freebsd.org > > --==_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.) To followup on my own message, Ivan is doing GREAT! FreeBSD 312 seconds Windows 12 seconds Wow! To say that these numbers do not make FreeBSD look good would be a huge understatement. Is Hans new umass available? If so, I might give it a try when I have a chance. Also, I just realized that I am on the wrong list as the system I'm doing this on is running current, not stable. -- 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_1171573407_94867P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFF1Mqfkn3rs5h7N1ERAr7wAJ9bXJI6Dc2JLvGi1Ic67XomId4x3wCgg6T0 MET8BmkbhksE9aRiImKZw+0= =TOgP -----END PGP SIGNATURE----- --==_Exmh_1171573407_94867P--