Hallo zusammen,
ich betreibe einen Odroid XU4 (ARMv71) als Server und habe auf diesem Ubuntu mit u. a. Samba laufen. Dieser ist per Gigabit-Switch mit meinem Windows-10-PC verbunden.
Bis vor Kurzem konnte ich sowohl Uploads als auch Downloads auf den Odroid in vernünftigem Tempo durchführen. Bis vor Kurzem lief der Odroid noch auf Ubuntu 14.04 LTS. Ob ein Zusammenhang zwischen den beiden Aussagen besteht, weiß ich nicht.
Jetzt ergibt sich leider das Problem, dass Downloads vom Odroid sehr langsam sind (ca. 500 kbit/s), während der Upload ein normales Tempo (ca. 40-50 MB/s brutto) hat. Dieses Verhalten tritt immer dann auf, wenn der Odroid Daten hochlädt. Um Fehler auszuschließen habe ich die Geschwindigkeit zwischen dem Odroid, meinem PC, meinem Windows-10-Tablet und meinem Android-Handy gemessen. Auch ein Speedtest vom Odroid liefert das volle Download-Tempo (120 Mbit/s) aber nur 1,x Mbit/s Upload (statt 4-5 Mbit/s). Ich sehe das Problem daher definitiv auf dem Odroid.
Einige Ausgaben:
1 2 | uname -a Linux odroid 3.10.92-71 #1 SMP PREEMPT Fri Dec 18 00:38:54 BRST 2015 armv7l armv7l armv7l GNU/Linux |
1 2 3 4 5 6 | lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial |
iperf: Odroid als Server, PC verbindet sich
1 2 3 4 5 6 7 8 | iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 192.168.1.151 port 5001 connected with 192.168.1.100 port 54057 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 435 MBytes 365 Mbits/sec |
iperf: PC als Server, Odroid verbindet sich
1 2 3 4 5 6 7 8 | iperf -c 192.168.1.100 ------------------------------------------------------------ Client connecting to 192.168.1.100, TCP port 5001 TCP window size: 20.0 KByte (default) ------------------------------------------------------------ [ 3] local 192.168.1.151 port 54939 connected with 192.168.1.100 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-13.3 sec 896 KBytes 551 Kbits/sec |
Das Netzwerk-Interface des Odroid
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 | lsusb -v -s 006:002 Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0x8153 bcdDevice 30.00 iManufacturer 1 Realtek iProduct 2 USB 10/100/1000 LAN iSerial 6 000001000000 bNumConfigurations 2 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 57 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 64mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 0 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 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 3 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 3 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 8 bMaxBurst 0 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 98 bNumInterfaces 2 bConfigurationValue 2 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 64mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 2 Communications bInterfaceSubClass 6 Ethernet Networking bInterfaceProtocol 0 iInterface 5 CDC Communications Control CDC Header: bcdCDC 1.10 CDC Union: bMasterInterface 0 bSlaveInterface 1 CDC Ethernet: iMacAddress 3 001E063020B1 bmEthernetStatistics 0x00000000 wMaxSegmentSize 1514 wNumberMCFilters 0x0000 bNumberPowerFilters 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0010 1x 16 bytes bInterval 8 bMaxBurst 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 0 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 1 bNumEndpoints 2 bInterfaceClass 10 CDC Data bInterfaceSubClass 0 Unused bInterfaceProtocol 0 iInterface 4 Ethernet Data Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 3 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 3 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 22 bNumDeviceCaps 2 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x02 Latency Tolerance Messages (LTM) Supported wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 2 Lowest fully-functional device speed is High Speed (480Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 2047 micro seconds Device Status: 0x0010 (Bus Powered) Latency Tolerance Messaging (LTM) Enabled |
Verbindungseinstellungen
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ethtool eth0 Settings for eth0: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: Symmetric Receive-only Advertised auto-negotiation: Yes Link partner advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Link partner advertised pause frame use: No Link partner advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: g Current message level: 0x00007fff (32767) drv probe link timer ifdown ifup rx_err tx_err tx_queued intr tx_done rx_status pktdata hw wol Link detected: yes |
ifconfig
1 2 3 4 5 6 7 8 9 | ifconfig eth0 Link encap:Ethernet HWaddr 00:1e:06:30:22:b1 inet addr:192.168.1.151 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::21e:6ff:fe30:20b1/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3195796 errors:0 dropped:0 overruns:0 frame:0 TX packets:534166 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:355545164 (355.5 MB) TX bytes:79671584 (79.6 MB) |
ARP
1 2 3 4 5 | arp -a ? (192.168.1.100) at d0:50:99:14:a0:7a [ether] on eth0 ? (192.168.1.104) at c0:38:96:75:bc:e5 [ether] on eth0 ? (192.168.1.1) at 90:f6:52:24:3e:5c [ether] on eth0 ? (192.168.1.103) at 1c:99:4c:e6:5d:50 [ether] on eth0 |
Die über USB angeschlossene Festplatte limitiert nicht
1 2 3 4 5 | hdparm -tT /dev/sda1 /dev/sda1: Timing cached reads: 1482 MB in 2.00 seconds = 741.54 MB/sec Timing buffered disk reads: 82 MB in 3.05 seconds = 26.88 MB/sec |
lsmod
1 2 3 4 5 6 7 8 9 | lsmod Module Size Used by cdc_ether 4667 0 usbnet 22773 1 cdc_ether r8152 50099 0 spi_s3c64xx 14770 0 ppdev 6506 0 lp 8869 0 parport 22257 2 lp,ppdev |
Alles auf dem aktuellen Stand:
1 2 3 4 5 6 7 8 9 10 11 12 | apt-get update && apt-get upgrade Hit:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease Hit:2 http://apt.syncthing.net syncthing InRelease Hit:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease Hit:4 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease Hit:5 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. |
Moderiert von Cruiz:
Dieses Thema ist verschoben worden. Bitte beachte die als wichtig markierten Themen („Welche Themen gehören hier her und welche nicht?“)!