Closed emanresu2 closed 1 year ago
How did you measure the throughput? Also, can you try setting the MTU to 9000 to see if that improves the throughput?
To measured the speed I just started copying a large file (always the same file) to/from the NAS via a mapped network drive in Windows and looked at the speed it settles at after a few seconds. It's not very scientific. I did find a program called "NAS performance tester" which basically does the same but slightly fancier.
I set the MTU to 9000 and that did something. Here are the results reported by that NAS tester:
Club 3D: Running a 2000MB file write on X: 5 times... Iteration 1: 295,22 MB/sec Iteration 2: 290,58 MB/sec Iteration 3: 200,15 MB/sec Iteration 4: 194,64 MB/sec Iteration 5: 178,86 MB/sec Average (W): 231,89 MB/sec
Running a 2000MB file read on X: 5 times... Iteration 1: 305,12 MB/sec Iteration 2: 306,10 MB/sec Iteration 3: 301,41 MB/sec Iteration 4: 306,42 MB/sec Iteration 5: 307,53 MB/sec Average (R): 305,32 MB/sec
QNAP: Running a 2000MB file write on X: 5 times... Iteration 1: 409,45 MB/sec Iteration 2: 406,10 MB/sec Iteration 3: 341,45 MB/sec Iteration 4: 308,99 MB/sec Iteration 5: 294,06 MB/sec Average (W): 352,01 MB/sec
Running a 2000MB file read on X: 5 times... Iteration 1: 425,19 MB/sec Iteration 2: 443,75 MB/sec Iteration 3: 395,01 MB/sec Iteration 4: 447,17 MB/sec Iteration 5: 432,61 MB/sec Average (R): 428,75 MB/sec
Unfortunately the QNAP adapter works somewhat unstable. I did a stress test and at around 7 TB of reading/writing I went and downloaded a thing (25 MB/sec or less) to the network drive and it just went unresponsive. Any program that tried to access the drive just froze. The DiskStation still worked normally over the 1G port, LAN 3 still says connected and the logs don't mention anything. Only the Windows Event Viewer says "{Delayed Write Failed} Windows was unable to save all the data for the file \172.16.254.1\home\Files\Downloads\Unconfirmed 64677.crdownload; the data has been lost. This error may be caused by network connectivity issues. Please try to save this file elsewhere."
In further tests it would also happen after just a few GB without additional load. It seems to happen every few minutes now if too much data is being transferred. Getting it to work again is a bit weird too. In rare cases the network drive becomes available again after like 2 minutes. Sometimes just restarting my PC helps and other times I have to restart the DiskStation. It seems random. I already tried a completely fresh install of Windows 11 to rule out problems caused by any program but it didn't help.
Also tried both USB ports and disabling the SSD read/write cache.
The speed also varies quite a bit. Here is another QNAP test I just took:
Running a 2000MB file write on X: 5 times... Iteration 1: 409,73 MB/sec Iteration 2: 284,62 MB/sec Iteration 3: 212,69 MB/sec Iteration 4: 207,02 MB/sec Iteration 5: 247,85 MB/sec Average (W): 272,38 MB/sec
Running a 2000MB file read on X: 5 times... Iteration 1: 447,42 MB/sec Iteration 2: 435,77 MB/sec Iteration 3: 448,78 MB/sec Iteration 4: 432,71 MB/sec Iteration 5: 441,15 MB/sec Average (R): 441,17 MB/sec
My network knowledge is kind of limited so I don't know if that's expected or not. Maybe the DiskStation was busy with something else, though I wouldn't know what. Or maybe it's the program.
I guess that instability of performance is caused by storage and cache. So could you try to measure pure network throughput using iperf? http://www.jadahl.com/iperf-arp-scan/DSM_7.0/
I close this issue due to no response. Please feel free to re-open.
Description of the problem
Not quite sure if this is even related to the driver. Initially I had the Club 3D 2.5G adapter (with r8152-apollolake-2.15.0-5.spk) and it ran without problems. Reading and writing reached around 280 MB/sec. I didn't do any configuration changes. Yesterday I got my hands on a QNA-UC5G1T and installed it just to see how much of a difference it makes (using aqc111-apollolake-1.3.3.0-5.spk). I can't quite remember but I'm pretty sure the write speed increased to about 360 MB/sec. Reading went up to 390 MB/sec. Today I noticed that the write speed went down to around 220 MB/sec (reading is still at 390). I rebooted NAS, PC and router (just in case), reinstalled the driver, used the other USB port and checked if the Club 3D adapter still performs as before (it does). I also undid some of my cable management to make sure that no other cables get near the adapter. The only thing I didn't test was replacing the USB C to A cable because I noticed that I don't have one with USB 3.
In short: 2.5G: 280/280 5G yesterday: 360/390 5G today: 220/390
I have no idea what changed.
Description of your products
DS1019+ Linux DS1019 4.4.180+ #42218 SMP Mon Oct 18 19:17:56 CST 2021 x86_64 GNU/Linux synology_apollolake_1019+ DSM 7.0.1-42218 Update 2 QNAP QNA-UC5G1T
Description of your environment
DS1019+ is directly connected to an AQtion AQC107 (10G, onboard) with a CAT 8.1 cable.
Output of
dmesg
commandOutput of
lsusb
commandOutput of
ifconfig -a
command