Host is Proxmox 7.
Doing my part for the environment and my electrical bill, I've been moving a bunch of services from an old 2nd gen i7 I was using as a home server to a low power mini PC using Celeron J4125. Unfortunately, this thing has a garbage Realtek ethernet device which has been behaving really bizarrely.
What I found was upload speed was perfectly fine, but download speed on it was incredibly slow. Tried the usual tricks disabling whatever hardware offload features I could but it made no difference. Even tried other cables out of desperation without change. ethtool reports everything looks fine with a full duplex gigabit link speed. dmesg doesn't show any errors related to the device.
Finally I decided to break out a really long cable and start trying to use different ports I had around, and finally I got much better (but still under what I would have expected) speeds in both directions but ONLY if I have a specific old tplink switch in the middle - if I connect directly to my main netgear switch or ubiquiti switch the problem remains, but if I put an old tplink switch in the middle it's much improved. I suspect some kind of autonegotiation problem but can't see any evidence that the negotiated link speed is wrong either way.
Someone suggested the difference might be energy efficient ethernet support, but I tried disabling EEE on the adapter with ethtool when connected directly to my main switch and when the link was up again my speed test results were the same (~30 Mbit/s download, > 700 Mbit/s upload). As soon as I plugged it back in to the tplink switch which itself is connected to a port on the main switch, the download speed was again within expected parity of upload.
Any suggestions on where to go next with this? Should I just forget that port exists and use an (ugh) USB3 ethernet adapter with a chipset from a different vendor or is there possibly some way to save this device?
lspci:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Doing my part for the environment and my electrical bill, I've been moving a bunch of services from an old 2nd gen i7 I was using as a home server to a low power mini PC using Celeron J4125. Unfortunately, this thing has a garbage Realtek ethernet device which has been behaving really bizarrely.
What I found was upload speed was perfectly fine, but download speed on it was incredibly slow. Tried the usual tricks disabling whatever hardware offload features I could but it made no difference. Even tried other cables out of desperation without change. ethtool reports everything looks fine with a full duplex gigabit link speed. dmesg doesn't show any errors related to the device.
Finally I decided to break out a really long cable and start trying to use different ports I had around, and finally I got much better (but still under what I would have expected) speeds in both directions but ONLY if I have a specific old tplink switch in the middle - if I connect directly to my main netgear switch or ubiquiti switch the problem remains, but if I put an old tplink switch in the middle it's much improved. I suspect some kind of autonegotiation problem but can't see any evidence that the negotiated link speed is wrong either way.
Someone suggested the difference might be energy efficient ethernet support, but I tried disabling EEE on the adapter with ethtool when connected directly to my main switch and when the link was up again my speed test results were the same (~30 Mbit/s download, > 700 Mbit/s upload). As soon as I plugged it back in to the tplink switch which itself is connected to a port on the main switch, the download speed was again within expected parity of upload.
Any suggestions on where to go next with this? Should I just forget that port exists and use an (ugh) USB3 ethernet adapter with a chipset from a different vendor or is there possibly some way to save this device?
lspci:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)