From owner-freebsd-usb@FreeBSD.ORG Wed Nov 17 13:43:42 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96A61065670 for ; Wed, 17 Nov 2010 13:43:42 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id 38D7B8FC0A for ; Wed, 17 Nov 2010 13:43:41 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=gl0LPzB4YDQuuzpDoHYit7deEV0cOo++Sg28kyvF6vg= c=1 sm=1 a=M4YSOkT-fgUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8QIXNKRKugDFIO5eqVYA:9 a=OxGuVhD0ojtUCug3lUoA:7 a=FBvmddIH6boCFyB7RDGVqPZOiucA:4 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 49930367; Wed, 17 Nov 2010 14:43:40 +0100 From: Hans Petter Selasky To: Matthias Apitz Date: Wed, 17 Nov 2010 14:44:35 +0100 User-Agent: KMail/1.13.5 (FreeBSD/8.1-STABLE; KDE/4.4.5; amd64; ; ) References: <20101117120852.GA2458@current.Sisis.de> <201011171314.19524.hselasky@c2i.net> <20101117133914.GA2895@current.Sisis.de> In-Reply-To: <20101117133914.GA2895@current.Sisis.de> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201011171444.35916.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: restore(8) to USB key: terrible slow X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 13:43:42 -0000 On Wednesday 17 November 2010 14:39:14 Matthias Apitz wrote: > El d=EDa Wednesday, November 17, 2010 a las 01:14:19PM +0100, Hans Petter= =20 Selasky escribi=F3: > > > after around 90 minutes of restore the taget file system says 19 MByte > > > used (i.e restored): > > >=20 > > > $ df -kh /mnt > > > Filesystem Size Used Avail Capacity Mounted on > > > /dev/da0s1a 3.6G 19M 3.3G 1% /mnt > > >=20 > > > What is wrong with this? If this does matter: 8-CURRENT. > > >=20 > > > Thanks > > >=20 > > > matthias > >=20 > > Hi, > >=20 > > Maybe you get some answers from: > >=20 > > sysctl hw.usb.umass.debug=3D-1 > >=20 > > Kernel needs to be compiled with: > >=20 > > options USB_DEBUG >=20 > Thanks; I have to build a kernel for this ... >=20 > When I write the key just with dd(1) it performs normal with big blocks: >=20 > # dd if=3D/home/guru/usb9root.dmp of=3D/dev/da0 bs=3D1m count=3D100 > 100+0 records in > 100+0 records out > 104857600 bytes transferred in 16.650550 secs (6297546 bytes/sec) >=20 > and slow with 512 byte blocks: >=20 > # dd if=3D/home/guru/usb9root.dmp of=3D/dev/da0 count=3D100 > 100+0 records in > 100+0 records out > 51200 bytes transferred in 1.997130 secs (25637 bytes/sec) >=20 > any idea or do we need the debug output? >=20 > matthias What block size does the dump utility use? =2D-HPS