Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2009 11:45:42 +0100
From:      Andrea Venturoli <ml@netfence.it>
To:        freebsd-questions@freebsd.org
Subject:   umass performance
Message-ID:  <49BF7F56.4080107@netfence.it>

Next in thread | Raw E-Mail | Index | Archive | Help
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


Any hint appreciated.

  bye & Thanks
	av.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?49BF7F56.4080107>