Closed Bkmz-GH closed 1 year ago
Small info update: rear ports are working with active USB-hub but speed is also around 1GB/s. As far as I understand similar problems were encountered here and here. Attached screens for iperf3 results and PC to PC copying file through the same switch as NAS attached to. So the problem is almost definitely NAS/driver specific.
Look at CPU usage of NAS during file copy. The USB driver relies on the CPU, thus having a CPU bottleneck will lower USB network speeds too.
Hm, copying file takes more I/O waits.
File copy CPU load: Iperf CPU load:
Have you set the SMB version to SMB3
?
hello,
Are you using SSD cache? It appears that disk access is the bottleneck, since iperf has no problems and the actual file transfer is fast for 10 seconds when uploading to the NAS. (I assume the first 10 seconds are being written to the cache in memory)
You seem to be right. Don't how and when I'll be able to check with faster disks, but in case you are right your driver works on DS718+ with that noname card sold on aliexpress:
Thanks for the great work!
Can we close this issue and re-open it if the symptoms do not resolve after verifying with a faster disk?
Can we close this issue and re-open it if the symptoms do not resolve after verifying with a faster disk?
ok, sure
Description of the problem
Hello! Card is connected to front USB port, not identified by the system when connected to rear ports. Card is identified by NAS as 2.5G, LEDs on card and unmanaged 2.5G capable switch are saying the same. Iperf3 tests from PC get expected results around 2.2-2.4G on send and receive. Card speed was also tested in direct connection between 2 PCs and with switch between them, both tests showing speed around 2.5G.
The strange thing is when it comes to copying files to/from NAS (SMB/FTP was tested) - speed is around 1G (~100Mb/s). When copying from NAS speed is always around 1G, but when uploading to NAS it starts at 2.5G but after some time (around 10 seconds) starts to decline ending at 1G.
Description of your products
NAS: DS718+ output of
`uname -a
: Linux bkmz-nas 4.4.180+ #42962 SMP Tue Oct 18 15:05:01 CST 2022 x86_64 GNU/Linux synology_apollolake_718+ DSM Version: DSM 7.1.1-42962 Update 2 NIC: Noname (10$ on Aliexpress) USB (Type A connector) 2.5G, identified by Windows as "RealTek PCIe 2.5 GBE family controller"Description of your environment
Output of
dmesg
commanddmesg.txt
Output of
lsusb
command|usb1 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub |1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 7F00883A2FCA6047) |usb2 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ xhci-hcd xHCI Host Controller 0000:00:15.0) hub |2-3 0bda:8156:3104 00 3.20 5000MBit/s 256mA 1IF (Realtek USB 10/100/1G/2.5G LAN 4013000001) |__usb3 1d6b:0002:0404 09 2.00 480MBit/s 0mA 1IF (Linux 4.4.180+ etxhci_hcd-170202 Etron xHCI Host Controller 0000:02:00.0) hub |__usb4 1d6b:0003:0404 09 3.00 5000MBit/s 0mA 1IF (Linux 4.4.180+ etxhci_hcd-170202 Etron xHCI Host Controller 0000:02:00.0) hub