bb-qq / r8152

Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
GNU General Public License v2.0
2.19k stars 190 forks source link

DS214+ Very slow speed with r8152-armadaxp-2.15.0-4.spk #162

Open motorrad opened 3 years ago

motorrad commented 3 years ago

I have 2 DS214+ with DSM7 (WD-Red) installed. The Connection ist shown as 2.5gbit but Transferrates are 300 Mb/s max.. With Bond and 1gbit i had about 500-600 Mb/s Transferrate. With DS715+ and DS718+ (WD-Red) its working perfect 800 - 900 Mb/s! TUC-ET2G DSM Version: 7.0.1-42218 Driver installed on DS214+ is r8152-armadaxp-2.15.0-4.spk any Idea?

bb-qq commented 3 years ago

I guess that the performance of DS214 is not enough to handle multi-Giga USB ethernet adapters because generally, USB ethernet driver consumes much CPU processing power and memory than built-in ethernet devices due to USB transaction.

Increasing MTU to 9000 might help to reduce the number of transactions and processing power, but its effect is limited.

motorrad commented 3 years ago

It seems not to be so. I made this Screenshot during a complete Backupimage

Screenshot DS214+

bb-qq commented 3 years ago

Can you compare the load average value obtained by the top command between the built-in NIC and the r8152 NIC? The DSM performance monitor doesn't give a good indication of the state of the kernel or the IO Wait.

I would also like to know if there is any change in the load average if increasing the MTU to 9000 and setting the SMB version to v3 has no effect.

motorrad commented 3 years ago

Sorry I can`t compare between both NICs because my old Switch is already sold. There is no change in the load average with MTU 9000 :-(

motorrad commented 3 years ago

Got anothet Switch to Test 👍 There isno change with MTU 9000 (Pic is with MTU 1500

motorrad commented 3 years ago

Pic2 PIC3

motorrad commented 3 years ago

But you can see the differend Speed in at the Bottom of the Picture. The Traffic is routed through the 2 Build-In NICs (Bond) 192.168.97.100

bb-qq commented 2 years ago

I have no idea what else to try at the moment.

There have been cases where performance and stability have improved when using a USB hub, but in this case it doesn't seem to matter much.