From owner-freebsd-stable@FreeBSD.ORG Thu Feb 22 10:47:17 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 1429016A400 for ; Thu, 22 Feb 2007 10:47:17 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from crow.padonki.org.ua (crow.padonki.org.ua [213.186.192.71]) by mx1.freebsd.org (Postfix) with ESMTP id C063413C441 for ; Thu, 22 Feb 2007 10:47:16 +0000 (UTC) (envelope-from minotaur@padonki.org.ua) Received: from minotaur by crow.padonki.org.ua with local (Exim 4.66 (FreeBSD)) (envelope-from ) id 1HKBTj-000DvG-0o; Thu, 22 Feb 2007 12:47:11 +0200 Date: Thu, 22 Feb 2007 12:47:10 +0200 From: Alexander Shikoff To: freebsd-stable@FreeBSD.ORG, wangyi6854@sohu.com Message-ID: <20070222104710.GA51949@crete.org.ua> References: <20070222084828.GA49942@crete.org.ua> <200702220945.l1M9j3Tj031803@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-u Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200702220945.l1M9j3Tj031803@lurza.secnetix.de> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Alexander Shikoff Cc: Subject: Re: Very slow umass in 6.2-RC2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Shikoff List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 10:47:17 -0000 On Thu, Feb 22, 2007 at 10:45:03AM +0100, Oliver Fromme wrote: > E.g. I have this one: > > umass0: vendor 0x090c Cn Memory, rev 2.00/11.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: < Cn Memory 1100> Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 1935MB (3963904 512 byte sectors: 255H 63S/T 246C) > > dev.umass.0.%parent: uhub4 > dev.uhub.4.%parent: usb4 > > usb4: EHCI version 1.0 > usb4: on ehci0 > uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > ehci0: mem 0xb0040000-0xb00403ff irq 23 at device 29.7 on pci0 Ok. Now I have a time to make some tests. What do I have: 1. FreeBSD 6.2-STABLE (updated yesterday near 20.00 GMT), non-SMP, SCHED_4BSD 2. Apacer 4GB Handy Steno AH320 Flash Drive (http://www.apacer.com/en/products/Handy_Steno_AH320_features.htm) 3. Trancend 1GB JF110 Flash Drive (http://www.transcendusa.com/Products/ModDetail.asp?ModNo=68&SpNo=1&LangNo=0) 4. File of size 550MB: -rw-r--r-- 1 minotaur minotaur 557092864 6 лют 14:29 test.avi Thus both drives support hi-speed. ----- I. Testing writing speed with Apacer (drive is empty) * dmesg 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) * usbdevs -v Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 4 addr 2: high speed, power 200 mA, config 1, USB FLASH DRIVE(0xb113), vendor 0x1005(0x1005), rev 1.00 * time cp test.avi /mnt/usb 0.007u 2.821s 18:44.26 0.2% 21+285k 4348+136010io 0pf+0w ----- II. Testing writing speed with Transcend (drive is empty) * dmesg da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-2 device da0: 40.000MB/s transfers da0: 980MB (2007040 512 byte sectors: 64H 32S/T 980C) * usbdevs -v Controller /dev/usb4: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 4 addr 2: high speed, power 98 mA, config 1, USB Mass Storage Device(0x0151), vendor 0x0457(0x0457), rev 1.00 * time cp test.avi /mnt/usb 0.015u 2.392s 1:48.00 2.2% 20+275k 4280+34003io 0pf+0w ---- III. Testing reading speed with Apacer: * time cp /mnt/usb/test.avi ~/ 0.022u 4.661s 1:48.09 4.3% 21+281k 136091+4250io 0pf+0w ---- IV. Testing reading speed with Transcend: * time cp /mnt/usb/test.avi ~/ 0.028u 3.557s 1:07.37 5.2% 22+298k 34011+4250io 0pf+0w ------------------------------------------------------------------------------ Resume. As you can see Apacer is very slow on writing operations. -- Kind Regards, Alexander Shikoff minotaur@crete.org.ua Mob.: +380 67 946 31 49