Trynn Posted July 5, 2020 Posted July 5, 2020 Hi guys, I think i do need a little help to further trace my current network issues. Details Unraid-OS: Version: 6.8.3 Network-Settings on Unraid HOST: Bonding: no Bridging: yes Bridging-Members: eth0 IPv4 Only All IPs / gateways are static Local DNS Server on Router. MTU: 1500 Vlans: no Where i'm coming from In summary, i do host a database as docker on my unraid machine. Storage is on the cache NVME drive. Now i have a bunch of operations that should take around 20 seconds to execute. Now i wanted to excess this docker-container from within a a Win10-VM running on the same Unraid Host, which took about 15 minutes. Accessing the same docker-database from an external workstation, it takes the estimated 20 seconds. So from my point of view, it's not: - the storage / hardware ressources - the docker container - the database system After some searching, i do think it is related to the network. So i tested the connections speeds with iPerf. Unraid-Host: 192.168.1.10 VM: 192.168.1.200 .\iperf3.exe -c 192.168.1.10 Connecting to host 192.168.1.10, port 5201 [ 4] local 192.168.1.200 port 60584 connected to 192.168.1.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 433 MBytes 3.63 Gbits/sec [ 4] 1.00-2.00 sec 422 MBytes 3.54 Gbits/sec [ 4] 2.00-3.00 sec 444 MBytes 3.72 Gbits/sec [ 4] 3.00-4.00 sec 436 MBytes 3.66 Gbits/sec [ 4] 4.00-5.00 sec 426 MBytes 3.57 Gbits/sec [ 4] 5.00-6.00 sec 440 MBytes 3.69 Gbits/sec [ 4] 6.00-7.00 sec 439 MBytes 3.68 Gbits/sec [ 4] 7.00-8.00 sec 445 MBytes 3.74 Gbits/sec [ 4] 8.00-9.00 sec 428 MBytes 3.59 Gbits/sec [ 4] 9.00-10.00 sec 449 MBytes 3.76 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 4.26 GBytes 3.66 Gbits/sec sender [ 4] 0.00-10.00 sec 4.26 GBytes 3.66 Gbits/sec receiver iperf Done. .\iperf3.exe -c 192.168.1.10 -R Connecting to host 192.168.1.10, port 5201 Reverse mode, remote host 192.168.1.10 is sending [ 4] local 192.168.1.200 port 60587 connected to 192.168.1.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 22.8 KBytes 187 Kbits/sec [ 4] 1.00-2.00 sec 25.7 KBytes 210 Kbits/sec [ 4] 2.00-3.00 sec 20.0 KBytes 164 Kbits/sec [ 4] 3.00-4.00 sec 21.4 KBytes 175 Kbits/sec [ 4] 4.00-5.00 sec 20.0 KBytes 164 Kbits/sec [ 4] 5.00-6.00 sec 20.0 KBytes 164 Kbits/sec [ 4] 6.00-7.00 sec 21.4 KBytes 175 Kbits/sec [ 4] 7.00-8.00 sec 20.0 KBytes 163 Kbits/sec [ 4] 8.00-9.00 sec 20.0 KBytes 164 Kbits/sec [ 4] 9.00-10.00 sec 20.0 KBytes 164 Kbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 328 KBytes 269 Kbits/sec 50 sender [ 4] 0.00-10.00 sec 211 KBytes 173 Kbits/sec receiver iperf Done. As you can see, the network speeds from VM => Host are totally fine with 3.66Gbit/sec. But the reverse-Connection Host => VM is utterly garbage. And i'm kind of stuck now and out of ideas how to trace this further and what could possibly be the issue here. Any advice is heartly welcome. PS: Please just let me know if you need more informations. i'll provide whatever i can. Quote
Trynn Posted July 7, 2020 Author Posted July 7, 2020 can anyone may test the those iperf benchmarks on their maschine? couldn't find any reverse-test so far, and would be good to know if the speeds should be faster. Quote
JorgeB Posted July 7, 2020 Posted July 7, 2020 20 minutes ago, Trynn said: can anyone may test the those iperf benchmarks on their maschine? Sure: C:\iperf>iperf3 -c 192.168.1.10 Connecting to host 192.168.1.10, port 5201 [ 4] local 192.168.1.6 port 51796 connected to 192.168.1.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 356 MBytes 2.98 Gbits/sec [ 4] 1.00-2.00 sec 263 MBytes 2.20 Gbits/sec [ 4] 2.00-3.00 sec 474 MBytes 3.98 Gbits/sec [ 4] 3.00-4.00 sec 467 MBytes 3.90 Gbits/sec [ 4] 4.00-5.00 sec 371 MBytes 3.13 Gbits/sec [ 4] 5.00-6.00 sec 464 MBytes 3.89 Gbits/sec [ 4] 6.00-7.00 sec 447 MBytes 3.75 Gbits/sec [ 4] 7.00-8.00 sec 543 MBytes 4.56 Gbits/sec [ 4] 8.00-9.00 sec 619 MBytes 5.19 Gbits/sec [ 4] 9.00-10.00 sec 712 MBytes 5.98 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth [ 4] 0.00-10.00 sec 4.61 GBytes 3.96 Gbits/sec sender [ 4] 0.00-10.00 sec 4.61 GBytes 3.96 Gbits/sec receiver iperf Done. C:\iperf>iperf3 -c 192.168.1.10 -R Connecting to host 192.168.1.10, port 5201 Reverse mode, remote host 192.168.1.10 is sending [ 4] local 192.168.1.6 port 51814 connected to 192.168.1.10 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-1.00 sec 462 MBytes 3.87 Gbits/sec [ 4] 1.00-2.00 sec 369 MBytes 3.10 Gbits/sec [ 4] 2.00-3.01 sec 378 MBytes 3.15 Gbits/sec [ 4] 3.01-4.00 sec 320 MBytes 2.70 Gbits/sec [ 4] 4.00-5.01 sec 349 MBytes 2.90 Gbits/sec [ 4] 5.01-6.01 sec 384 MBytes 3.22 Gbits/sec [ 4] 6.01-7.00 sec 427 MBytes 3.61 Gbits/sec [ 4] 7.00-8.00 sec 417 MBytes 3.50 Gbits/sec [ 4] 8.00-9.00 sec 443 MBytes 3.72 Gbits/sec [ 4] 9.00-10.00 sec 379 MBytes 3.18 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 3.84 GBytes 3.30 Gbits/sec 7 sender [ 4] 0.00-10.00 sec 3.84 GBytes 3.30 Gbits/sec receiver iperf Done. Quote
Trynn Posted July 7, 2020 Author Posted July 7, 2020 thank you very much. <3 that should proof pretty much that i'm on the right track and it's not normal behaviour. Quote
Jerky_san Posted July 8, 2020 Posted July 8, 2020 (edited) 23 minutes ago, Trynn said: any ideas? If QEMU/KVM works anything like VMWare the switching should basically go as fast as the system will allow it to process. The odd thing with yours is it's only one direction having an issue. I guess I could suggest you try disabling flow control/nic offloading in "Tipsandtweaks" (an app you must first get from the app place) and see if that does anything for you. Honestly though I don't know if will give you any benefit. Also if you've not go download the latest virtio iso and install the latest drivers. Edited July 8, 2020 by Jerky_san Quote
JorgeB Posted July 9, 2020 Posted July 9, 2020 You can also try a different NIC driver, new default one (virtio-net) apparently doesn't perform as well as for example virtio, but it still shouldn't do that. Quote
Trynn Posted July 22, 2020 Author Posted July 22, 2020 switched from virtio-win-0.1.126_stable to virtio-win-0.1.185.iso. Installed with now included "virtio-win-gt-x64.msi" installer. Network improved now to Vm-To-Host: 9.x GBit/s Host-To-VM: 7.x GBit/s so issue solved by driver updates and got a really good improvement too. Issue solved for me. 1 Quote
DaMAN Posted June 8 Posted June 8 fix for me was to change the VM network model in the setup from virtio-net to virtio, I went from 0.9Gbit to 10Gbit, extremely happy!....Ive had my VM running slow for years until now! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.