Re: Problem with an external usb HD - slow usb



Hi list and Patrick,

the default max_sectors is 240. I change this to 1024 like you said but the
problem continue.

If i try the speed:

time dd if=/dev/sdc1 of=/dev/null bs=1M count=5
i get that speed: 972 MB/s

but if i run rsync, the upload transfer rate is very slow ( begins at 4MB/s
and goes below until 0.7KB/s)

[]'s
Luigi Castro Cardeles


2010/3/6 Patrick O'Callaghan <pocallaghan@xxxxxxxxx>

On Sat, 2010-03-06 at 11:05 -0300, Luigi Castro Cardeles wrote:
Hi list,


I use fedora 12 on a dell inspiron 1545 laptop.
(2.6.31.12-174.2.22.fc12.x86_64).
i have a external usb hd and i can't make it connect like a usb 2.0
device.
this device is ntfs format


I check if the device is using ehci (dmesg after i plug the device)
[root@localhost ~]# dmesg | grep USB
usb 2-2: new high speed USB device using ehci_hcd and address 2


I check if this device is connected on a usb 2.0
[root@localhost ~]# lsusb
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 015: ID 0471:2021 Philips
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


I mount the device with this options:
/dev/sdc1 on /media/hd_backup type fuseblk
(rw,nosuid,nodev,allow_other,blksize=4096)


but when i use cp, mv or rsync, the max speed i get is max 6MB/s (a
lot 800kB/s).
If i use this device on Windows (tested with Vista and Seven), i get
much high transfer rate.
I read about sync and async options, but if i put sync or async on
fstab, it does not alter the transfer rate.


Is this the normal upload transfer rate? I am doing something wrong?

Try this as an experiment:

echo 1024 > /sys/block/sdc/device/max_sectors

and repeat your I/O measurement.

poc


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Relevant Pages

  • Re: usb name in /dev
    ... Subject: usb name in /dev ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: Booting USB squashfs with CD
    ... to load the image from the disc half way through, ... but then load the system image from the USB drive? ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • RE: Bootable usb stick with the fedora install
    ... Bootable usb stick with the fedora install ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: Boot Fedora from USB
    ... I have Ubuntu 10.04 and i would like to create a USB live to try Fedora, ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: Problems when creating Live-boot usb stick
    ... I made a live bootable Fedora-13 on Buffalo 8G usb stick using Linux command ... To unsubscribe or change subscription options: ...
    (Fedora)