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

Success DVA3219 (Denverton) with RTL8156B, DSM 7.0.1, driver 2.15.0-4 works fine in one direction #161

Open
ossource opened this issue Oct 20, 2021 · 3 comments

Comments

@ossource
Copy link

Description of the problem

PC -> NAS : 115MB/s
NAS-> PC: 240MB/S

I know the cards are not on the tested list, yet.

Description of your products

DVA3219
- and output of uname -a command

Linux 4.4.180+ #42218 SMP Fri CST 2021 x86_64 GNU/Linux synology_denverton_dva3219

DSM version 7.0.1 - "42218"
Noname USB 3.0 Ethernet Adapter Net work Card Hub 2500Mbps 2.5G RJ45 Lan Adapter Laptop

Description of your environment

  • connect using a hub
    • PC: NIC model - PCIE Karte 2.5Gbps Gigabit 10/100/1000Mbps RTL8125B RJ45 Ethe Q5Y1
    • Hub: Trendnet TEG 5350
    • cable Cat.6

Output of dmesg command


[   65.728592] usb 2-3: reset SuperSpeed USB device number 2 using xhci_hcd
[   69.957008] fuse init (API version 7.23)
[   72.820682] tcmu daemon: command reply support 1.
[   76.454612] netif_napi_add() called with weight 256 on device eth%d
[   76.461337] r8152 2-3:1.0 eth4: v2.15.0 (2021/04/15)
[   76.466453] r8152 2-3:1.0 eth4: This product is covered by one or more of the following patents:
                        US6,570,884, US6,115,776, and US6,327,625.

[   76.482160] r8152 2-3:1.0 eth4: chip rev 14
[   77.442275] Synotify use 16384 event queue size
[   80.684047] IPv6: ADDRCONF(NETDEV_UP): eth4: link is not ready
[   80.832367] IPv6: ADDRCONF(NETDEV_CHANGE): eth4: link becomes ready
[   80.838979] r8152 2-3:1.0 eth4: carrier on
[   82.139660] audit_printk_skb: **96 callbacks suppressed**
[   82.144871] audit: type=1325 audit(1634759966.775:44): table=nat family=2 entries=0
[   82.440013] audit: type=1325 audit(1634759967.075:45): table=filter family=2 entries=31
[   82.470124] audit: type=1325 audit(1634759967.105:46): table=filter family=10 entries=23
[   82.517229] audit: type=1325 audit(1634759967.152:47): table=filter family=2 entries=4
[   82.536137] audit: type=1325 audit(1634759967.171:48): table=filter family=2 entries=8
[   82.552966] audit: type=1325 audit(1634759967.188:49): table=filter family=2 entries=9
[   82.578567] audit: type=1325 audit(1634759967.214:50): table=filter family=2 entries=10
[   82.594638] audit: type=1325 audit(1634759967.230:51): table=filter family=2 entries=11
[   82.609732] audit: type=1325 audit(1634759967.245:52): table=filter family=2 entries=12
[   82.625046] audit: type=1325 audit(1634759967.260:53): table=filter family=2 entries=13

Output of lsusb command

|__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:3100 00  3.20 **5000MBit/s** 256mA 1IF  (Realtek USB 10/100/1G/2.5G LAN 001000001)

Output of ifconfig -a command

eth4      Link encap:Ethernet  HWaddr 00:E0:4C:68:02:4E
          inet addr:192.168.0.114  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5151007 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2537166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:7458333986 (6.9 GiB)  TX bytes:1941254379 (1.8 GiB)

Output of hdparm -t volume command

 hdparm -t /dev/mapper/cachedev_0

/dev/mapper/cachedev_0:
 Timing buffered disk reads: 1604 MB in  3.00 seconds = 534.03 MB/sec

@bb-qq
Copy link
Owner

bb-qq commented Jan 23, 2022

Are you using the built-in Ethernet port at the same time? If you are, are the two ports configured for the same network segment?

@ossource
Copy link
Author

2.5GbE adapter only, with two ports there would be routing issues ;)
I wait till SMB Multichannel will be supported in DSM7.1 :)

@bb-qq
Copy link
Owner

bb-qq commented Jan 24, 2022

Ok, I understood there is no routing issue.

Increasing MTU to 9000 and setting the SMB protocol version to v3 may help to improve performance. Try it if you like.

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

2 participants