From owner-freebsd-hackers Wed Nov 27 5:23:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32ABB37B401 for ; Wed, 27 Nov 2002 05:23:14 -0800 (PST) Received: from pohoda.cz (pohoda.pohoda.cz [194.228.111.151]) by mx1.FreeBSD.org (Postfix) with SMTP id D46EB43EC2 for ; Wed, 27 Nov 2002 05:23:12 -0800 (PST) (envelope-from plusik@pohoda.cz) Received: (qmail 4925 invoked from network); 27 Nov 2002 13:23:15 -0000 Received: from plusik@pohoda.cz by pohoda.cz by uid 513 with qmail-scanner-1.15 ( Clear:. Processed in 0.937901 secs); 27 Nov 2002 13:23:15 -0000 Received: from saturn.netcore.cz (HELO localhost.localdomain) (212.67.74.6) by pohoda.pohoda.cz with SMTP; 27 Nov 2002 13:23:14 -0000 Received: by localhost.localdomain (Postfix, from userid 1000) id 37A4B1CBA3A; Wed, 27 Nov 2002 14:23:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 22A461CBA39; Wed, 27 Nov 2002 14:23:09 +0100 (CET) Date: Wed, 27 Nov 2002 14:23:09 +0100 (CET) From: Tomas Pluskal X-X-Sender: plusik@localhost.localdomain To: Nick Hibma Cc: freebsd-hackers@freebsd.org Subject: umass driver speed In-Reply-To: <20020824101044.F3912-100000@heather.van-laarhoven.org> Message-ID: <20021127141637.A343-100000@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, It seems to me that the slowness of umass driver is not caused by msdosfs. I know about the msdosfs problems, for example when I run dd from my ZIP drive (with FAT) with request size of 2048, it's extremely slow. When I change request size to 64K, it gains normal speed (about 1MB/s). But with my camera (umass), I get: # dd if=/dev/da0s1 of=/tmp/nikon bs=2048 count=10 10+0 records in 10+0 records out 20480 bytes transferred in 0.379587 secs (53953 bytes/sec) # dd if=/dev/da0s1 of=/tmp/nikon bs=4096 count=10 10+0 records in 10+0 records out 40960 bytes transferred in 0.719477 secs (56930 bytes/sec) # dd if=/dev/da0s1 of=/tmp/nikon bs=8192 count=10 10+0 records in 10+0 records out 81920 bytes transferred in 1.389069 secs (58975 bytes/sec) # dd if=/dev/da0s1 of=/tmp/nikon bs=65536 count=10 10+0 records in 10+0 records out 655360 bytes transferred in 10.832928 secs (60497 bytes/sec) # dd if=/dev/da0s1 of=/tmp/nikon bs=524288 count=1 1+0 records in 1+0 records out 524288 bytes transferred in 8.668605 secs (60481 bytes/sec) The speed is nearly the same, no matter about the request size. What do you think about it ? Tomas On Sat, 24 Aug 2002, Nick Hibma wrote: > > Yes, unfortunately it is a known issue in the msdos file system. The > requests it makes are too small for the driver to take advantage of the > speed of USB. > > Nick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message