Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good downstream, poor upstream with DS920+ #56

Closed
wdwms opened this issue Nov 28, 2021 · 7 comments
Closed

Good downstream, poor upstream with DS920+ #56

wdwms opened this issue Nov 28, 2021 · 7 comments

Comments

@wdwms
Copy link

wdwms commented Nov 28, 2021

From DS920+ to my machine I get 1.1gbe, from the machine to the DS920+ I get 2.37gbe

DS920+ has a QNA-UC5G1T; main machine has a RealTech 2.5gbe NIC; only a 5gbe switch between the two.

Here is the iperf results from my DS920+ to my main machine,

iperf3 -c 192.168.2.2 -P
Connecting to host 192.168.2.2, port 5201
[ 5] local 192.168.2.25 port 54880 connected to 192.168.2.2 port 5201
[ 7] local 192.168.2.25 port 54882 connected to 192.168.2.2 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 58.4 MBytes 490 Mbits/sec 0 218 KBytes
[ 7] 0.00-1.00 sec 56.0 MBytes 469 Mbits/sec 0 218 KBytes
[SUM] 0.00-1.00 sec 114 MBytes 959 Mbits/sec 0


[ 5] 1.00-2.00 sec 56.3 MBytes 472 Mbits/sec 0 218 KBytes
[ 7] 1.00-2.00 sec 56.8 MBytes 477 Mbits/sec 0 218 KBytes
[SUM] 1.00-2.00 sec 113 MBytes 949 Mbits/sec 0


[ 5] 2.00-3.00 sec 56.3 MBytes 472 Mbits/sec 0 218 KBytes
[ 7] 2.00-3.00 sec 56.8 MBytes 477 Mbits/sec 0 218 KBytes
[SUM] 2.00-3.00 sec 113 MBytes 949 Mbits/sec 0


[ 5] 3.00-4.00 sec 56.5 MBytes 474 Mbits/sec 0 218 KBytes
[ 7] 3.00-4.00 sec 56.5 MBytes 474 Mbits/sec 0 218 KBytes
[SUM] 3.00-4.00 sec 113 MBytes 948 Mbits/sec 0


[ 5] 4.00-5.00 sec 56.2 MBytes 472 Mbits/sec 0 218 KBytes
[ 7] 4.00-5.00 sec 56.9 MBytes 477 Mbits/sec 0 218 KBytes
[SUM] 4.00-5.00 sec 113 MBytes 949 Mbits/sec 0


[ 5] 5.00-6.00 sec 56.8 MBytes 477 Mbits/sec 0 218 KBytes
[ 7] 5.00-6.00 sec 56.5 MBytes 474 Mbits/sec 0 218 KBytes
[SUM] 5.00-6.00 sec 113 MBytes 951 Mbits/sec 0


[ 5] 6.00-7.00 sec 56.4 MBytes 473 Mbits/sec 0 218 KBytes
[ 7] 6.00-7.00 sec 56.6 MBytes 475 Mbits/sec 0 218 KBytes
[SUM] 6.00-7.00 sec 113 MBytes 948 Mbits/sec 0


[ 5] 7.00-8.00 sec 56.7 MBytes 476 Mbits/sec 0 218 KBytes
[ 7] 7.00-8.00 sec 56.6 MBytes 475 Mbits/sec 0 218 KBytes
[SUM] 7.00-8.00 sec 113 MBytes 950 Mbits/sec 0


[ 5] 8.00-9.00 sec 56.6 MBytes 475 Mbits/sec 0 218 KBytes
[ 7] 8.00-9.00 sec 56.6 MBytes 475 Mbits/sec 0 218 KBytes
[SUM] 8.00-9.00 sec 113 MBytes 949 Mbits/sec 0


[ 5] 9.00-10.00 sec 56.6 MBytes 475 Mbits/sec 0 218 KBytes
[ 7] 9.00-10.00 sec 56.7 MBytes 476 Mbits/sec 0 218 KBytes
[SUM] 9.00-10.00 sec 113 MBytes 951 Mbits/sec 0


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 567 MBytes 475 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 566 MBytes 475 Mbits/sec receiver
[ 7] 0.00-10.00 sec 566 MBytes 475 Mbits/sec 0 sender
[ 7] 0.00-10.00 sec 565 MBytes 474 Mbits/sec receiver
[SUM] 0.00-10.00 sec 1.11 GBytes 950 Mbits/sec 0 sender
[SUM] 0.00-10.00 sec 1.11 GBytes 949 Mbits/sec receiver

From main machine to DS920+

S:\iperf-3.1.3-win64>iperf3.exe -c 192.168.2.20 -P 2
Connecting to host 192.168.2.20, port 5201
[ 4] local 192.168.2.2 port 50126 connected to 192.168.2.20 port 5201
[ 6] local 192.168.2.2 port 50127 connected to 192.168.2.20 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 144 MBytes 1.20 Gbits/sec
[ 6] 0.00-1.00 sec 140 MBytes 1.17 Gbits/sec
[SUM] 0.00-1.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 1.00-2.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 1.00-2.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 1.00-2.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 2.00-3.00 sec 148 MBytes 1.24 Gbits/sec
[ 6] 2.00-3.00 sec 135 MBytes 1.13 Gbits/sec
[SUM] 2.00-3.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 3.00-4.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 3.00-4.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 3.00-4.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 4.00-5.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 4.00-5.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 4.00-5.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 5.00-6.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 5.00-6.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 5.00-6.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 6.00-7.00 sec 142 MBytes 1.20 Gbits/sec
[ 6] 6.00-7.00 sec 140 MBytes 1.18 Gbits/sec
[SUM] 6.00-7.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 7.00-8.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 7.00-8.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 7.00-8.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 8.00-9.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 8.00-9.00 sec 141 MBytes 1.18 Gbits/sec
[SUM] 8.00-9.00 sec 283 MBytes 2.37 Gbits/sec


[ 4] 9.00-10.00 sec 142 MBytes 1.19 Gbits/sec
[ 6] 9.00-10.00 sec 140 MBytes 1.18 Gbits/sec
[SUM] 9.00-10.00 sec 282 MBytes 2.37 Gbits/sec


[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.39 GBytes 1.20 Gbits/sec sender
[ 4] 0.00-10.00 sec 1.39 GBytes 1.20 Gbits/sec receiver
[ 6] 0.00-10.00 sec 1.37 GBytes 1.18 Gbits/sec sender
[ 6] 0.00-10.00 sec 1.37 GBytes 1.18 Gbits/sec receiver
[SUM] 0.00-10.00 sec 2.76 GBytes 2.37 Gbits/sec sender
[SUM] 0.00-10.00 sec 2.76 GBytes 2.37 Gbits/sec receiver
iperf Done.
`
|__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-2 0764:0601:0200 00 2.00 12MBit/s 2mA 1IF (CPS OR700LCDRM1Ua GA5LP2000250)
|__1-4 f400:f400:0100 00 2.00 480MBit/s 200mA 1IF (Synology DiskStation 7F00119D9113F229)
|__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-1 1c04:0015:0101 00 3.20 5000MBit/s 896mA 1IF (QNAP QNAP QNA-UC5G1T USB to 5GbE Adapter 16I00486)

@bb-qq
Copy link
Owner

bb-qq commented Jan 4, 2022

There are no performance issues with the DS920+ generation hardware, so I suspect that there is something wrong with your network configuration.

So, could you please tell us more about the network configuration of how the PC and DS920+ are connected?

If you are using both built-in NICs and USB NICs, I am especially curious whether each subnet is split to avoid routing issues.

@bb-qq
Copy link
Owner

bb-qq commented Jan 9, 2022

Also, could you try to increase vm.min_free_kbytes?

  • read: sysctl -n vm.min_free_kbytes
  • write: sysctl -w vm.min_free_kbytes=XXXX

@Brandoskey
Copy link

Brandoskey commented Feb 26, 2022

I seem to be having the same issue on a ds918+

Running iperf3 from the ds918 to a ds1821 with a synology 10gbe network card I get:

[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 740 MBytes 620 Mbits/sec 0 sender
[ 5] 0.00-10.04 sec 740 MBytes 618 Mbits/sec receiver
[ 7] 0.00-10.00 sec 737 MBytes 618 Mbits/sec 0 sender
[ 7] 0.00-10.04 sec 736 MBytes 615 Mbits/sec receiver
[ 9] 0.00-10.00 sec 720 MBytes 604 Mbits/sec 0 sender
[ 9] 0.00-10.04 sec 720 MBytes 601 Mbits/sec receiver
[ 11] 0.00-10.00 sec 696 MBytes 584 Mbits/sec 0 sender
[ 11] 0.00-10.04 sec 696 MBytes 582 Mbits/sec receiver
[ 13] 0.00-10.00 sec 704 MBytes 591 Mbits/sec 0 sender
[ 13] 0.00-10.04 sec 704 MBytes 589 Mbits/sec receiver
[SUM] 0.00-10.00 sec 3.51 GBytes 3.02 Gbits/sec 0 sender
[SUM] 0.00-10.04 sec 3.51 GBytes 3.00 Gbits/sec receiver

Running iperf3 from the ds918 to the ds1821 with the -R (reverse) flag i get:

[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 521 MBytes 437 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 515 MBytes 432 Mbits/sec receiver
[ 7] 0.00-10.00 sec 436 MBytes 365 Mbits/sec 0 sender
[ 7] 0.00-10.00 sec 430 MBytes 361 Mbits/sec receiver
[ 9] 0.00-10.00 sec 524 MBytes 440 Mbits/sec 0 sender
[ 9] 0.00-10.00 sec 518 MBytes 435 Mbits/sec receiver
[ 11] 0.00-10.00 sec 446 MBytes 374 Mbits/sec 1 sender
[ 11] 0.00-10.00 sec 440 MBytes 369 Mbits/sec receiver
[ 13] 0.00-10.00 sec 443 MBytes 372 Mbits/sec 0 sender
[ 13] 0.00-10.00 sec 437 MBytes 367 Mbits/sec receiver
[SUM] 0.00-10.00 sec 2.32 GBytes 1.99 Gbits/sec 1 sender
[SUM] 0.00-10.00 sec 2.29 GBytes 1.96 Gbits/sec receiver

Testing from another machine to the ds1821 with a 10gbe connection I get 10gbe both ways

All 3 machines run through a unifi flex xg 10gbe switch capable of multi gig (1/2.5/5/10) The ds918 reports 5000mbit full duplex

File transfers over smb and NFS show similar results

@Brandoskey
Copy link

Brandoskey commented Feb 26, 2022

Decided to test the QNAP UC5G1T on my desktop and I think the device is the issue. Uploads top out around 3.2 Gbit but downloads are only hitting 1.2 Gbit. I've tried updating the firmware but there seems to be an issue with the device. I have it plugged into a usb 3.2 gen2 (maybe, usb naming is convoluted but it's a 10gig port)

Is there a better device to use than the QNAP?

Edit: I had the speeds reversed, it's shocking that transmitting (uploading) from the qnap adapter doesn't seem to suffer, but receiving (downloading) to it I barely get 1.2 gbit

@bb-qq
Copy link
Owner

bb-qq commented Mar 6, 2022

@Brandoskey, have you tried to configure MTU to 9k?

It is known that some platforms do not perform well enough due to USB host controllers or other causes, but at least geminilake should be able to provide adequate performance.

Is there a better device to use than the QNAP?

As far as I know, QNAP is the better device in terms of heat dissipation among the products using the AQC111U.

@Brandoskey
Copy link

@Brandoskey, have you tried to configure MTU to 9k?

It is known that some platforms do not perform well enough due to USB host controllers or other causes, but at least geminilake should be able to provide adequate performance.

Is there a better device to use than the QNAP?

As far as I know, QNAP is the better device in terms of heat dissipation among the products using the AQC111U.

It definitely appears to be a hardware limitation. Amazon reviews aren't good and I can't find any solid data showing up and down speeds being symmetrical.

Either that or I just got a bad unit.

I've tried it on my desktop and my ds918 and the ds918 actually performed better. When connected to my desktop I tried adjusting nearly every driver setting and never got better than the 2gbit I get when connected to the ds918

@bb-qq
Copy link
Owner

bb-qq commented Jun 15, 2024

I had not able to suggest increasing the MTU values of all communicating devices, so I'm leaving a link as a note.
https://github.com/bb-qq/r8152/wiki/Troubleshooting#increase-mtu

Since there has been no response for a long time, this issue is closed. Please feel free to re-open it if you have any questions.

@bb-qq bb-qq closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants