Znalazłem co jest nie halo!

Jak się okazało mam walniętą kartę sieciową PCI w moim stacjonarnym PC.

Po podłączeniu z inną maszyną transfery ftp stabilne na poziomie:
Odczyt: 11,5MB/s
Zapis: 6,7MB/s

Cezary jeszcze raz dzięki za przeprowadzone testy.

Dzięki za testy i za podpowiedź z forum openrouter.info.

Zastanawia mnie tylko fakt czemu na oryginalnym firmware wyniki były znośne czyli takie jak u ciebie na OpenWrt i ntfs.

Czyli masz transfery tak jak ja na oryginalnym firmware. Jak dla mnie to i tak byłby bardzo duży wzrost wydajności do tego co mam obecnie.

Podpytam jeszcze jaki dokładnie model macie TP-LINKA. U mnie jest to TL-WR1043ND Ver 1.4

Widzę że też masz dysk WB My Passport...
2MBps to i tak już coś. To był zapis czy odczyt ? Jakiego typu partycji używasz...

Test z partycją NTFS bo taką obsługuje oryginalny firmware

Oryginalny firmware:
Zapis: 2,5MB/s
Odczyt: 6,5MB/s

Chwile później instalacja OpenWrt i test tej samej partycji montowanej za pomocą ntfs-3g:
Zapis: 300kB/s
Odczyt: 300kB/s

Jak widać na oryginalnym sofcie śmiga to "całkiem" przyzwoicie. Znalazłem nawet test TP-LINKA (http://twojepc.pl/artykuly.php?id=test_ … p;strona=3) gdzie wyniki są identyczne.

Wygląda na to że problemu trzeba by szukać gdzieś po stronie softu OpenWrt, tylko gdzie... sad

Sugerujesz wgrać oryginalny firmware, wykonać testy na nim i ew. oddać sprzęt do reklamacji ??

Wydaję mi się że problem z dyskiem możemy raczej wykluczyć. Podłączyłem jakiegoś PenDrive noname 4GB USB2.0 który zachowuje się identycznie. Współpracując z laptopem śmiga 5MB/s natomiast po wpięciu do routera transfery 500kB/s.

Czy w takim razie winy należy szukać po stronie routera ?

P.S. Dysk rzeczywiście daje rade ok 30MB/s przy połączeniu z laptopem. PS Tune podał wyniki benchmarku min=18,5MB/s max=31,9MB/s avg=29,7MB/s

Dysku jestem pewnien - nówka sztuka testowana z laptopem.
Tam transfer jest na poziomie 11MB/s.

Testowałem z innym systemem plików ext3 i ntfsa ale nadal transfer 600-700kB/s

Dorzucam info jak linux widzi dysk oraz huba usb.

lsusb -v

Bus 001 Device 002: ID 1058:070a Western Digital Technologies, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x1058 Western Digital Technologies, Inc.
  idProduct          0x070a
  bcdDevice           10.32
  iManufacturer           1 Western Digital
  iProduct                2 My Passport 070A
  iSerial                 3 575847314131304437393630
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength         8192
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.32.10 ehci_hcd
  iProduct                2 Atheros AR91xx built-in EHCI controller
  iSerial                 1 ar71xx-ehci
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength         6400
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             1
  wHubCharacteristic 0x0009
    Per-port power switching
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
Device Status:     0x0001
  Self Powered
usb-devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev=02.06
S:  Manufacturer=Linux 2.6.32.10 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1058 ProdID=070a Rev=10.32
S:  Manufacturer=Western Digital
S:  Product=My Passport 070A
S:  SerialNumber=575847314131304437393630
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

Need help...
Niestety nie wiem jak router radził sobie na oryginalnym firmware.

Transfer na dysk i z dysku na poziomie 600-700 kB/s gdy dysk podłączony jest do routera (samba,ftp, itp.). Strasznie wolno, a dysk jest USB2.0.
Sprawdzałem dysk działa poprawnie gdy podłączę do laptopa, transfery są rewelacyjne natomiast współpracując z routerem masakra sad

Na ruterze zainstalowany jest OpenWrt Backfire 10.03 zgodnie z opisem: http://eko.one.pl/?p=openwrt-wr1043nd#g … azdotestw,
Build: openwrt-ar71xx-tl-wr1043nd-v1-squashfs-factory.bin 19 kwietnia 2010, 21:53:30
Dysk: WD My Passport 500GB 2,5" USB2.0, partycje sformatowane ext2, montowane z fstab z parametrami rw,sync

Czy może to być kwestia firmware ? A może kwestia ustawień w linuxie...

Testowałem dysk za pomocą hdparm

hdparm -t -T /dev/sda1

/dev/sda1:
Timing cached reads:   128 MB in  2.03 seconds =  62.96 MB/sec
Timing buffered disk reads:   52 MB in  3.02 seconds =  17.21 MB/sec