Loading ...
Sorry, an error occurred while loading the content.

OpenSlug & USB 2.0 Disks - Super slow performance

Expand Messages
  • mystiqu
    Hey I´m using OpenSlug 3.10 Beta with 2 USB 2.0 external disks (1 Maxtor 250GB, 1 WD 320GB) connected via a USB hub. The root filesystem is stored on a
    Message 1 of 4 , Aug 7 7:40 AM
    • 0 Attachment
      Hey

      I´m using OpenSlug 3.10 Beta with 2 USB 2.0 external disks (1 Maxtor 250GB,
      1 WD 320GB) connected via a USB hub. The root filesystem is stored on a
      Twinmos USB 2.0 4GB flash memory.

      My problem is that it takes ages (literally) to copy data to/from the disks.
      Moving 10GB (large files ~ 500mb) from one disk to the other takes approx 3
      hours.

      Also, if a start 2 cp sessions the performance really go down.
      If I have 1 cp session, it takes approx 25% cpu (using top), but if I have 2
      simultaneous cp sessions the cpu load goes from ~25% to < 1% / session,
      which seems a bit strange(?).... and those 3 hours it took to move 10GB of
      data gets closer to 3 weeks (instead of maybe twice the time).

      If the disks are directly connected to a windows workstation, it works alot
      better (< 30min for 10GB data).

      Have anyone else come across this problem?

      Here is the ouput from /proc/bus/usb/devices:

      T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
      B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
      D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
      P: Vendor=0000 ProdID=0000 Rev= 2.06
      S: Manufacturer=Linux 2.6.16 ohci_hcd
      S: Product=OHCI Host Controller
      S: SerialNumber=0000:00:01.1
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
      I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
      E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

      T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
      B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
      D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
      P: Vendor=0000 ProdID=0000 Rev= 2.06
      S: Manufacturer=Linux 2.6.16 ohci_hcd
      S: Product=OHCI Host Controller
      S: SerialNumber=0000:00:01.0
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
      I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
      E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

      T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
      B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
      D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
      P: Vendor=0000 ProdID=0000 Rev= 2.06
      S: Manufacturer=Linux 2.6.16 ehci_hcd
      S: Product=EHCI Host Controller
      S: SerialNumber=0000:00:01.2
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
      I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
      E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

      T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
      D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
      P: Vendor=04b4 ProdID=6560 Rev= 0.0b
      C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
      I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
      E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
      I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
      E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms

      T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
      D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
      P: Vendor=0d49 ProdID=3210 Rev=77.f8
      S: Manufacturer=Maxtor Corporation
      S: Product=Maxtor 3200
      S: SerialNumber=602010046597
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
      I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

      T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 5 Spd=480 MxCh= 0
      D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
      P: Vendor=1058 ProdID=0910 Rev= 1.06
      S: Manufacturer=Western Digital
      S: Product=External HDD
      S: SerialNumber=574341505A30323836393334
      C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
      I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

      T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
      D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
      P: Vendor=126f ProdID=0169 Rev= 1.00
      S: Manufacturer=USB2.0
      S: Product=Mobile Disk
      S: SerialNumber=9992a271530712
      C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
      I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
      E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
      E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
      E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=16ms


      Any help is appreciated!

      Regards
      Mikael
      --
      View this message in context: http://www.nabble.com/OpenSlug---USB-2.0-Disks---Super-slow-performance-tf4230274.html#a12034789
      Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
    • mystiqu
      Anyone? I made some basic tests when copying a 20mb file to/from my usb disks. from Flash - USB: 1mb/s from USB1 - USB2: 1mb/s from USB - Flash:
      Message 2 of 4 , Aug 8 2:34 AM
      • 0 Attachment
        Anyone?

        I made some basic tests when copying a 20mb file to/from my usb disks.

        from Flash -> USB: 1mb/s
        from USB1 -> USB2: 1mb/s
        from USB -> Flash: <0.3mb/s

        One thing I also noticed is that I must replace the poor usb flash memory.
        Could it somehow be related to the poor flash memory, where my root
        filesystem is stored?

        Regards
        Mikael


        mystiqu wrote:
        >
        > Hey
        >
        > I´m using OpenSlug 3.10 Beta with 2 USB 2.0 external disks (1 Maxtor
        > 250GB, 1 WD 320GB) connected via a USB hub. The root filesystem is stored
        > on a Twinmos USB 2.0 4GB flash memory.
        >
        > My problem is that it takes ages (literally) to copy data to/from the
        > disks.
        > Moving 10GB (large files ~ 500mb) from one disk to the other takes approx
        > 3 hours.
        >
        > Also, if a start 2 cp sessions the performance really go down.
        > If I have 1 cp session, it takes approx 25% cpu (using top), but if I have
        > 2 simultaneous cp sessions the cpu load goes from ~25% to < 1% / session,
        > which seems a bit strange(?).... and those 3 hours it took to move 10GB of
        > data gets closer to 3 weeks (instead of maybe twice the time).
        >
        > If the disks are directly connected to a windows workstation, it works
        > alot better (< 30min for 10GB data).
        >
        > Have anyone else come across this problem?
        >
        > Here is the ouput from /proc/bus/usb/devices:
        >
        > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
        > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
        > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        > P: Vendor=0000 ProdID=0000 Rev= 2.06
        > S: Manufacturer=Linux 2.6.16 ohci_hcd
        > S: Product=OHCI Host Controller
        > S: SerialNumber=0000:00:01.1
        > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
        > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
        > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
        >
        > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
        > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
        > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        > P: Vendor=0000 ProdID=0000 Rev= 2.06
        > S: Manufacturer=Linux 2.6.16 ohci_hcd
        > S: Product=OHCI Host Controller
        > S: SerialNumber=0000:00:01.0
        > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
        > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
        > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
        >
        > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
        > B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
        > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
        > P: Vendor=0000 ProdID=0000 Rev= 2.06
        > S: Manufacturer=Linux 2.6.16 ehci_hcd
        > S: Product=EHCI Host Controller
        > S: SerialNumber=0000:00:01.2
        > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
        > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
        > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
        >
        > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
        > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
        > P: Vendor=04b4 ProdID=6560 Rev= 0.0b
        > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
        > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
        > E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
        > I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
        > E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
        >
        > T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
        > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        > P: Vendor=0d49 ProdID=3210 Rev=77.f8
        > S: Manufacturer=Maxtor Corporation
        > S: Product=Maxtor 3200
        > S: SerialNumber=602010046597
        > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
        > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
        > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        >
        > T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 5 Spd=480 MxCh= 0
        > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        > P: Vendor=1058 ProdID=0910 Rev= 1.06
        > S: Manufacturer=Western Digital
        > S: Product=External HDD
        > S: SerialNumber=574341505A30323836393334
        > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
        > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
        > E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        >
        > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
        > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
        > P: Vendor=126f ProdID=0169 Rev= 1.00
        > S: Manufacturer=USB2.0
        > S: Product=Mobile Disk
        > S: SerialNumber=9992a271530712
        > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
        > I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
        > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
        > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
        > E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=16ms
        >
        >
        > Any help is appreciated!
        >
        > Regards
        > Mikael
        >

        --
        View this message in context: http://www.nabble.com/OpenSlug---USB-2.0-Disks---Super-slow-performance-tf4230274.html#a12049862
        Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
      • mystiqu
        Hey everyone! After alot of reading in other forums I found a solution that works. Settings the option async when mounting the usb devices really speed
        Message 3 of 4 , Aug 8 11:27 AM
        • 0 Attachment
          Hey everyone!

          After alot of reading in other forums I found a solution that works.
          Settings the option "async" when mounting the usb devices really speed
          things up.

          Write mb/s (sync): ~1mb/s
          Write mb/s (async): ~10mb/s

          The only thing left now is how I can get the devices to get mounted with the
          "async" option during boot.
          Can I modify that or do I have to write a script that remounts the devices
          (after boot) with the proper option and call that script from e.g.
          /etc/profile??

          Regards
          Mikael


          mystiqu wrote:
          >
          > Hey
          >
          > I´m using OpenSlug 3.10 Beta with 2 USB 2.0 external disks (1 Maxtor
          > 250GB, 1 WD 320GB) connected via a USB hub. The root filesystem is stored
          > on a Twinmos USB 2.0 4GB flash memory.
          >
          > My problem is that it takes ages (literally) to copy data to/from the
          > disks.
          > Moving 10GB (large files ~ 500mb) from one disk to the other takes approx
          > 3 hours.
          >
          > Also, if a start 2 cp sessions the performance really go down.
          > If I have 1 cp session, it takes approx 25% cpu (using top), but if I have
          > 2 simultaneous cp sessions the cpu load goes from ~25% to < 1% / session,
          > which seems a bit strange(?).... and those 3 hours it took to move 10GB of
          > data gets closer to 3 weeks (instead of maybe twice the time).
          >
          > If the disks are directly connected to a windows workstation, it works
          > alot better (< 30min for 10GB data).
          >
          > Have anyone else come across this problem?
          >
          > Here is the ouput from /proc/bus/usb/devices:
          >
          > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
          > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
          > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
          > P: Vendor=0000 ProdID=0000 Rev= 2.06
          > S: Manufacturer=Linux 2.6.16 ohci_hcd
          > S: Product=OHCI Host Controller
          > S: SerialNumber=0000:00:01.1
          > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
          > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
          > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
          >
          > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
          > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
          > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
          > P: Vendor=0000 ProdID=0000 Rev= 2.06
          > S: Manufacturer=Linux 2.6.16 ohci_hcd
          > S: Product=OHCI Host Controller
          > S: SerialNumber=0000:00:01.0
          > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
          > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
          > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
          >
          > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
          > B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
          > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
          > P: Vendor=0000 ProdID=0000 Rev= 2.06
          > S: Manufacturer=Linux 2.6.16 ehci_hcd
          > S: Product=EHCI Host Controller
          > S: SerialNumber=0000:00:01.2
          > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
          > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
          > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
          >
          > T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
          > D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
          > P: Vendor=04b4 ProdID=6560 Rev= 0.0b
          > C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
          > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
          > E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
          > I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
          > E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
          >
          > T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
          > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
          > P: Vendor=0d49 ProdID=3210 Rev=77.f8
          > S: Manufacturer=Maxtor Corporation
          > S: Product=Maxtor 3200
          > S: SerialNumber=602010046597
          > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
          > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
          > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
          > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
          >
          > T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 5 Spd=480 MxCh= 0
          > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
          > P: Vendor=1058 ProdID=0910 Rev= 1.06
          > S: Manufacturer=Western Digital
          > S: Product=External HDD
          > S: SerialNumber=574341505A30323836393334
          > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
          > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
          > E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
          > E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
          >
          > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
          > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
          > P: Vendor=126f ProdID=0169 Rev= 1.00
          > S: Manufacturer=USB2.0
          > S: Product=Mobile Disk
          > S: SerialNumber=9992a271530712
          > C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
          > I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
          > E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
          > E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
          > E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=16ms
          >
          >
          > Any help is appreciated!
          >
          > Regards
          > Mikael
          >

          --
          View this message in context: http://www.nabble.com/OpenSlug---USB-2.0-Disks---Super-slow-performance-tf4230274.html#a12059162
          Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
        • bitjes
          Mikael, I have uslung 6.8. My results of copying 82mb file. (USB=Maxtor 3200 Flash=Corsair Voyager 2Gb) from USB to Flash: 3.0 mb/s from Flash to USB: 3.1 Mb/s
          Message 4 of 4 , Aug 12 4:08 AM
          • 0 Attachment
            Mikael,

            I have uslung 6.8.
            My results of copying 82mb file. (USB=Maxtor 3200 Flash=Corsair Voyager 2Gb)

            from USB to Flash: 3.0 mb/s
            from Flash to USB: 3.1 Mb/s

            I have changed my mount settings of flash and USB stick.

            /dev/sda1 on /share/flash/data type ext3 (rw,noatime)
            /dev/sda2 on /share/flash/conf type ext3 (rw,noatime)
            /dev/sdb1 on /share/hdd/data/HDD_1_1_1 type ufsd (rw,noatime)

            You can change flash with:
            /bin/mount -o remount,rw,noatime /dev/sda2
            /bin/mount -o remount,rw,noatime /dev/sda1

            And usb with:
            /bin/mount -o rw,noatime /dev/sdb1 /share/hdd/data/HDD_1_1_1

            Maybe you can tune some settings with hdparm..

            Grtnx,
            Andre.


            mystiqu wrote:
            >
            > Anyone?
            >
            > I made some basic tests when copying a 20mb file to/from my usb disks.
            >
            > from Flash -> USB: 1mb/s
            > from USB1 -> USB2: 1mb/s
            > from USB -> Flash: <0.3mb/s
            >
            > One thing I also noticed is that I must replace the poor usb flash memory.
            > Could it somehow be related to the poor flash memory, where my root
            > filesystem is stored?
            >
            > Regards
            > Mikael
            >
            >
            > mystiqu wrote:
            >>
            >> Hey
            >>
            >> I´m using OpenSlug 3.10 Beta with 2 USB 2.0 external disks (1 Maxtor
            >> 250GB, 1 WD 320GB) connected via a USB hub. The root filesystem is stored
            >> on a Twinmos USB 2.0 4GB flash memory.
            >>
            >> My problem is that it takes ages (literally) to copy data to/from the
            >> disks.
            >> Moving 10GB (large files ~ 500mb) from one disk to the other takes approx
            >> 3 hours.
            >>
            >> Also, if a start 2 cp sessions the performance really go down.
            >> If I have 1 cp session, it takes approx 25% cpu (using top), but if I
            >> have 2 simultaneous cp sessions the cpu load goes from ~25% to < 1% /
            >> session, which seems a bit strange(?).... and those 3 hours it took to
            >> move 10GB of data gets closer to 3 weeks (instead of maybe twice the
            >> time).
            >>
            >> If the disks are directly connected to a windows workstation, it works
            >> alot better (< 30min for 10GB data).
            >>
            >> Have anyone else come across this problem?
            >>
            >> Here is the ouput from /proc/bus/usb/devices:
            >>
            >> T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
            >> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
            >> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
            >> P: Vendor=0000 ProdID=0000 Rev= 2.06
            >> S: Manufacturer=Linux 2.6.16 ohci_hcd
            >> S: Product=OHCI Host Controller
            >> S: SerialNumber=0000:00:01.1
            >> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
            >> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
            >> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
            >>
            >> T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
            >> B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
            >> D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
            >> P: Vendor=0000 ProdID=0000 Rev= 2.06
            >> S: Manufacturer=Linux 2.6.16 ohci_hcd
            >> S: Product=OHCI Host Controller
            >> S: SerialNumber=0000:00:01.0
            >> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
            >> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
            >> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
            >>
            >> T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 5
            >> B: Alloc= 0/800 us ( 0%), #Int= 1, #Iso= 0
            >> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
            >> P: Vendor=0000 ProdID=0000 Rev= 2.06
            >> S: Manufacturer=Linux 2.6.16 ehci_hcd
            >> S: Product=EHCI Host Controller
            >> S: SerialNumber=0000:00:01.2
            >> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
            >> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
            >> E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
            >>
            >> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
            >> D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=02 MxPS=64 #Cfgs= 1
            >> P: Vendor=04b4 ProdID=6560 Rev= 0.0b
            >> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
            >> I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=01 Driver=hub
            >> E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
            >> I: If#= 0 Alt= 1 #EPs= 1 Cls=09(hub ) Sub=00 Prot=02 Driver=hub
            >> E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
            >>
            >> T: Bus=01 Lev=02 Prnt=02 Port=02 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
            >> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
            >> P: Vendor=0d49 ProdID=3210 Rev=77.f8
            >> S: Manufacturer=Maxtor Corporation
            >> S: Product=Maxtor 3200
            >> S: SerialNumber=602010046597
            >> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
            >> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
            >> E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
            >> E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
            >>
            >> T: Bus=01 Lev=02 Prnt=02 Port=03 Cnt=02 Dev#= 5 Spd=480 MxCh= 0
            >> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
            >> P: Vendor=1058 ProdID=0910 Rev= 1.06
            >> S: Manufacturer=Western Digital
            >> S: Product=External HDD
            >> S: SerialNumber=574341505A30323836393334
            >> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
            >> I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
            >> E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
            >> E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
            >>
            >> T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
            >> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
            >> P: Vendor=126f ProdID=0169 Rev= 1.00
            >> S: Manufacturer=USB2.0
            >> S: Product=Mobile Disk
            >> S: SerialNumber=9992a271530712
            >> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr= 98mA
            >> I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
            >> E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
            >> E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
            >> E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl=16ms
            >>
            >>
            >> Any help is appreciated!
            >>
            >> Regards
            >> Mikael
            >>
            >
            >

            --
            View this message in context: http://www.nabble.com/OpenSlug---USB-2.0-Disks---Super-slow-performance-tf4230274.html#a12104602
            Sent from the Nslu2 - Linux mailing list archive at Nabble.com.
          Your message has been successfully submitted and would be delivered to recipients shortly.