Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2009 11:53:57 +0100
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: umass performance
Message-ID:  <1bd550a00903170353g1cce09day43d418c420ccd426@mail.gmail.com>
In-Reply-To: <49BF7F56.4080107@netfence.it>
References:  <49BF7F56.4080107@netfence.it>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 3/17/09, Andrea Venturoli <ml@netfence.it> wrote:
> Hello.
>
> I'm using dd to clone an 8GB USB memory into an identical one.
>
>
>
> # dd if=/dev/da2 of=/dev/da1
> load: 0.01  cmd: dd 12026 [physwr] 0.00u 0.01s 0% 904k
> 396+0 records in
> 395+0 records out
> 202240 bytes transferred in 1.453741 secs (139117 bytes/sec)
> 15925248+0 records in
> 15925248+0 records out
> 8153726976 bytes transferred in 31722.194052 secs (257035 bytes/sec)
>
>
> As you can see the process is VERY slow, taking nearly 9 hours.
> Anything to try?
>
>
> Some info:
>
> # uname -a
> FreeBSD xxx.xxx.xx 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #0: Fri Jan 23
> 13:02:07 CET 2009
> root@xxxx.xxx.xx:/usr/obj/usr/src/sys/XXXXXXXX  amd64
> h24#
>
>
> # usbdevs -v
> Controller /dev/usb0:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x0000), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb1:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x0000), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb2:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x0000), rev 1.00
>  port 1 addr 2: full speed, power 90 mA, config 1, USB <-> Serial(0x6001),
> FTDI(0x0403), rev 4.00
>  port 2 powered
> Controller /dev/usb3:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> Intel(0x0000), rev 1.00
>  port 1 powered
>  port 2 powered
> Controller /dev/usb4:
> addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
> Intel(0x0000), rev 1.00
>  port 1 powered
>  port 2 powered
>  port 3 powered
>  port 4 powered
>  port 5 powered
>  port 6 powered
>  port 7 addr 2: high speed, power 100 mA, config 1, DISK 2.0(0x1000),
> USB(0x090c), rev 4.03
>  port 8 addr 3: high speed, power 100 mA, config 1, DISK 2.0(0x1000),
> USB(0x090c), rev 4.03
> Controller /dev/usb5:
> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000),
> (0x103c)(0x0000), rev 1.00
>  port 1 addr 2: full speed, self powered, config 1, Virtual
> Keyboard(0x1027), HP(0x03f0), rev 0.02
>  port 2 addr 3: full speed, self powered, config 1, Virtual Hub(0x1327),
> HP(0x03f0), rev 0.01
>  port 1 powered
>  port 2 powered
>  port 3 powered
>  port 4 powered
>  port 5 powered
>  port 6 powered
>  port 7 powered

I had a similiar problem with a 4 GB USB device, in both Linux and
FreeBSD 7. It turned out to be a non standard device, so the system
was "restarting" the device every now and then.

I don't know if this is your problem, but taking a look at the system
log while copying might be worthy.

>
>
> Any hint appreciated.
>
>  bye & Thanks
>        av.
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?1bd550a00903170353g1cce09day43d418c420ccd426>