Jump to content

Windows to Unraid - slow smb (Proxmox)


kto

Recommended Posts

Posted (edited)

Hi all,

 

My issue: I can't upload any big file to Unraid from my Windows machine in a reasonable amount of time.

I see a speed of around 300 Kbps.

300.thumb.png.207644ac98a8fd547bf02e204284fb8d.png

 

My setup:

Omada network with multiple LANs.

ProxMox PC (PC1) with Windows 11 VM. Bouth on LAN 1.

ProxMox PC (PC2) with Unraid and other VMs. ALL on LAN 20.

Android phone on LAN 1.

 

Windows 11 (PC1) installed with all necessary drivers from Proxmox and using best practices in configuration.

Unraid (PC2) has direct access to HHD drives, but Virtual to SSD. No issues there.

 

What I tried:

I moved PC1 with Windows VM to LAN 20 - no changes. Rolled it back.

Checked different settings on Windows trying with or Without a Firewall - no changes. Rolled it back.

Enabling and disabling LSO for outbound traffic - no changes. Rolled it back.

Trying different virtual Network adapters on my Windows VM - no changes. Rolled it back to the recommended option.

 

Tests:

OpenSpeedTest from Windows VM(PC1) to Unraid(PC2)

Screenshot2024-09-21120613.thumb.png.a9209801c37f4af8f1eb0321cda25858.png

 

OpenSpeedTest from Android mobile (same LAN as PC1) to Unraid(PC2)

Screenshot2024-09-21120912.thumb.png.e45a446d13f06d6c45f29facef705375.png

 

My Note: Looks like a problem with Windows or somewhere in the middle of the connection.

But the problem is not because of different LANs for machines. 

 

 

iperf3:

From Unraid (PC2) to Windows VM (PC1):

root@unraid:/# iperf3 -c 192.168.69.22   
Connecting to host 192.168.69.22, port 5201
[  5] local 192.168.20.26 port 41528 connected to 192.168.69.22 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  58.8 MBytes   493 Mbits/sec   17    242 KBytes       
[  5]   1.00-2.00   sec  56.2 MBytes   472 Mbits/sec    0    297 KBytes       
[  5]   2.00-3.00   sec  53.8 MBytes   451 Mbits/sec    0    279 KBytes       
[  5]   3.00-4.00   sec  55.0 MBytes   461 Mbits/sec    0    277 KBytes       
[  5]   4.00-5.00   sec  58.8 MBytes   493 Mbits/sec    0    328 KBytes       
[  5]   5.00-6.00   sec  52.5 MBytes   440 Mbits/sec    0    259 KBytes       
[  5]   6.00-7.00   sec  55.0 MBytes   461 Mbits/sec    0    282 KBytes       
[  5]   7.00-8.00   sec  53.8 MBytes   451 Mbits/sec    0    279 KBytes       
[  5]   8.00-9.00   sec  55.0 MBytes   461 Mbits/sec    0    277 KBytes       
[  5]   9.00-10.00  sec  53.8 MBytes   451 Mbits/sec   16    299 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   552 MBytes   463 Mbits/sec   33             sender
[  5]   0.00-10.00  sec   549 MBytes   461 Mbits/sec                  receiver

iperf Done.

 

From Unraid (PC2) to Windows VM (PC1) but Reverse:

root@unraid:/# iperf3 -c 192.168.69.22 -R
Connecting to host 192.168.69.22, port 5201
Reverse mode, remote host 192.168.69.22 is sending
[  5] local 192.168.20.26 port 51462 connected to 192.168.69.22 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  42.8 KBytes   350 Kbits/sec                  
[  5]   1.00-2.00   sec  42.8 KBytes   350 Kbits/sec                  
[  5]   2.00-3.00   sec  20.0 KBytes   164 Kbits/sec                  
[  5]   3.00-4.00   sec  31.4 KBytes   257 Kbits/sec                  
[  5]   4.00-5.00   sec   133 KBytes  1.09 Mbits/sec                  
[  5]   5.00-6.00   sec  81.3 KBytes   666 Kbits/sec                  
[  5]   6.00-7.00   sec  55.6 KBytes   456 Kbits/sec                  
[  5]   7.00-8.00   sec  51.3 KBytes   420 Kbits/sec                  
[  5]   8.00-9.00   sec  25.7 KBytes   210 Kbits/sec                  
[  5]   9.00-10.00  sec  49.9 KBytes   409 Kbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  16.8 MBytes  14.0 Mbits/sec                  sender
[  5]   0.00-10.00  sec   533 KBytes   437 Kbits/sec                  receiver

iperf Done.

 

Windows VM (PC1) iperf server output for prev 2 tests:

-----------------------------------------------------------
Server listening on 5201 (test #11)
-----------------------------------------------------------
Accepted connection from 192.168.20.26, port 41516
[  5] local 192.168.69.22 port 5201 connected to 192.168.20.26 port 41528
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.01   sec  55.1 MBytes   457 Mbits/sec
[  5]   1.01-2.01   sec  56.5 MBytes   475 Mbits/sec
[  5]   2.01-3.00   sec  53.6 MBytes   453 Mbits/sec
[  5]   3.00-4.01   sec  54.5 MBytes   454 Mbits/sec
[  5]   4.01-5.01   sec  58.8 MBytes   495 Mbits/sec
[  5]   5.01-6.01   sec  52.9 MBytes   440 Mbits/sec
[  5]   6.01-7.01   sec  54.8 MBytes   459 Mbits/sec
[  5]   7.01-8.01   sec  54.0 MBytes   453 Mbits/sec
[  5]   8.01-9.01   sec  55.0 MBytes   461 Mbits/sec
[  5]   9.01-10.00  sec  54.1 MBytes   458 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec   549 MBytes   461 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #12)
-----------------------------------------------------------
Accepted connection from 192.168.20.26, port 51454
[  5] local 192.168.69.22 port 5201 connected to 192.168.20.26 port 51462
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  16.8 MBytes   140 Mbits/sec
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec
[  5]   2.00-3.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   3.01-4.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   4.01-5.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   5.01-6.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   6.01-7.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   7.01-8.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   8.01-9.01   sec  0.00 Bytes  0.00 bits/sec
[  5]   9.01-10.00  sec  0.00 Bytes  0.00 bits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  16.8 MBytes  14.0 Mbits/sec                  sender

 

My Note: Looks like something is wrong on the Windows 11 side or with ProxMox PC1.

 

Same tests, but for PC1 (ProxMox with Windows 11 VM)

From Unraid (PC2) to PC1:

 

Connecting to host 192.168.69.21, port 5201
[  5] local 192.168.20.26 port 41312 connected to 192.168.69.21 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   114 MBytes   955 Mbits/sec  130    311 KBytes       
[  5]   1.00-2.00   sec   113 MBytes   945 Mbits/sec    0    308 KBytes       
[  5]   2.00-3.00   sec   113 MBytes   951 Mbits/sec    0    402 KBytes       
[  5]   3.00-4.00   sec   112 MBytes   944 Mbits/sec  100    308 KBytes       
[  5]   4.00-5.00   sec   111 MBytes   933 Mbits/sec  231    308 KBytes       
[  5]   5.00-6.00   sec   112 MBytes   944 Mbits/sec  121    308 KBytes       
[  5]   6.00-7.00   sec   112 MBytes   944 Mbits/sec    0    314 KBytes       
[  5]   7.00-8.00   sec   111 MBytes   933 Mbits/sec    0    308 KBytes       
[  5]   8.00-9.00   sec   112 MBytes   944 Mbits/sec    0    308 KBytes       
[  5]   9.00-10.00  sec   112 MBytes   944 Mbits/sec    0    577 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.10 GBytes   944 Mbits/sec  582             sender
[  5]   0.00-10.00  sec  1.09 GBytes   939 Mbits/sec                  receiver

iperf Done.

 

From Unraid (PC2) to PC1 but Reverse:

root@unraid:/# iperf3 -c 192.168.69.21 -R
Connecting to host 192.168.69.21, port 5201
Reverse mode, remote host 192.168.69.21 is sending
[  5] local 192.168.20.26 port 51708 connected to 192.168.69.21 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   112 MBytes   938 Mbits/sec                  
[  5]   1.00-2.00   sec   112 MBytes   939 Mbits/sec                  
[  5]   2.00-3.00   sec   112 MBytes   937 Mbits/sec                  
[  5]   3.00-4.00   sec   110 MBytes   922 Mbits/sec                  
[  5]   4.00-5.00   sec   110 MBytes   921 Mbits/sec                  
[  5]   5.00-6.00   sec   112 MBytes   938 Mbits/sec                  
[  5]   6.00-7.00   sec   111 MBytes   935 Mbits/sec                  
[  5]   7.00-8.00   sec   112 MBytes   938 Mbits/sec                  
[  5]   8.00-9.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   9.00-10.00  sec   112 MBytes   940 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.09 GBytes   937 Mbits/sec  1259             sender
[  5]   0.00-10.00  sec  1.09 GBytes   935 Mbits/sec                  receiver

iperf Done.

 

My note: After this test, I think that there is no problem with PC1 to connect Unraid (PC2).

 

 

Same tests, but for checking different VM on PC2

From Media (PC2) to Windows VM (PC1):

kto@vault-media:~$ iperf3 -c 192.168.69.22
Connecting to host 192.168.69.22, port 5201
[  5] local 192.168.20.31 port 60656 connected to 192.168.69.22 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  53.0 MBytes   445 Mbits/sec    0   2.10 MBytes       
[  5]   1.00-2.00   sec  41.2 MBytes   346 Mbits/sec    0   2.10 MBytes       
[  5]   2.00-3.00   sec  47.5 MBytes   398 Mbits/sec    0   2.10 MBytes       
[  5]   3.00-4.00   sec  53.8 MBytes   451 Mbits/sec    0   2.10 MBytes       
[  5]   4.00-5.00   sec  52.5 MBytes   440 Mbits/sec    0   2.10 MBytes       
[  5]   5.00-6.00   sec  50.0 MBytes   419 Mbits/sec   14   1.47 MBytes       
[  5]   6.00-7.00   sec  45.0 MBytes   378 Mbits/sec    0   1.63 MBytes       
[  5]   7.00-8.00   sec  48.8 MBytes   409 Mbits/sec    0   1.76 MBytes       
[  5]   8.00-9.00   sec  50.0 MBytes   419 Mbits/sec   22   1.81 MBytes       
[  5]   9.00-10.00  sec  52.5 MBytes   440 Mbits/sec    0   1.39 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   494 MBytes   415 Mbits/sec   36             sender
[  5]   0.00-10.00  sec   490 MBytes   411 Mbits/sec                  receiver

iperf Done.

 

From Media (PC2) to Windows VM (PC1) but Reverse:

kto@vault-media:~$ iperf3 -c 192.168.69.22 -R
Connecting to host 192.168.69.22, port 5201
Reverse mode, remote host 192.168.69.22 is sending
[  5] local 192.168.20.31 port 41372 connected to 192.168.69.22 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   112 MBytes   941 Mbits/sec                  
[  5]   1.00-2.00   sec   112 MBytes   943 Mbits/sec                  
[  5]   2.00-3.00   sec   113 MBytes   944 Mbits/sec                  
[  5]   3.00-4.00   sec   113 MBytes   949 Mbits/sec                  
[  5]   4.00-5.00   sec   113 MBytes   948 Mbits/sec                  
[  5]   5.00-6.00   sec   113 MBytes   948 Mbits/sec                  
[  5]   6.00-7.00   sec   112 MBytes   937 Mbits/sec                  
[  5]   7.00-8.00   sec   113 MBytes   947 Mbits/sec                  
[  5]   8.00-9.00   sec   113 MBytes   946 Mbits/sec                  
[  5]   9.00-10.00  sec   113 MBytes   948 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  1.10 GBytes   947 Mbits/sec                  sender
[  5]   0.00-10.00  sec  1.10 GBytes   945 Mbits/sec                  receiver

iperf Done.

 

Windows VM (PC1) iperf server output for prev 2 tests:

-----------------------------------------------------------
Server listening on 5201 (test #13)
-----------------------------------------------------------
Accepted connection from 192.168.20.31, port 60640
[  5] local 192.168.69.22 port 5201 connected to 192.168.20.31 port 60656
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.01   sec  49.9 MBytes   413 Mbits/sec
[  5]   1.01-2.01   sec  41.4 MBytes   347 Mbits/sec
[  5]   2.01-3.01   sec  48.2 MBytes   406 Mbits/sec
[  5]   3.01-4.01   sec  53.2 MBytes   445 Mbits/sec
[  5]   4.01-5.00   sec  52.4 MBytes   445 Mbits/sec
[  5]   5.00-6.01   sec  49.1 MBytes   409 Mbits/sec
[  5]   6.01-7.01   sec  46.2 MBytes   387 Mbits/sec
[  5]   7.01-8.01   sec  47.9 MBytes   402 Mbits/sec
[  5]   8.01-9.01   sec  50.4 MBytes   422 Mbits/sec
[  5]   9.01-10.00  sec  51.8 MBytes   437 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec   490 MBytes   411 Mbits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201 (test #14)
-----------------------------------------------------------
Accepted connection from 192.168.20.31, port 41370
[  5] local 192.168.69.22 port 5201 connected to 192.168.20.31 port 41372
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.01   sec   116 MBytes   956 Mbits/sec
[  5]   1.01-2.01   sec   112 MBytes   942 Mbits/sec
[  5]   2.01-3.01   sec   113 MBytes   945 Mbits/sec
[  5]   3.01-4.01   sec   112 MBytes   948 Mbits/sec
[  5]   4.01-5.01   sec   113 MBytes   948 Mbits/sec
[  5]   5.01-6.02   sec   114 MBytes   948 Mbits/sec
[  5]   6.02-7.02   sec   112 MBytes   937 Mbits/sec
[  5]   7.02-8.02   sec   113 MBytes   945 Mbits/sec
[  5]   8.02-9.00   sec   111 MBytes   948 Mbits/sec
[  5]   9.00-10.00  sec   113 MBytes   947 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.00  sec  1.10 GBytes   947 Mbits/sec                  sender

 

My Note: Looks like Windows 11 (PC1) doesn't have any issues with Media VM (PC2).

 

 

So, and now I'm completely lost.

I see that:

  1. PC1 has Normal speed to Unraid (PC2)
  2. Windows 11 (PC1) has Low speed to Unraid (PC2)
  3. Windows 11 (PC1) has Normal speed to Media VM(PC2)
  4. Android phone (same lan as PC1) has Normal speed to Unraid (PC2)
  5. Windows 11 (PC1) has Normal speed to public servers and SpeedTest (didn't add it here, because the post is already huge).

 

Because of points 1. and 3. It doesn't look like an issue in PC1 or PC2.

Points 1. 3. 4. and 5. show that it's less likely with internet equipment.

Points 1. and 4. show that there are no problems with Unraid (PC2).

Points 3. and 5. show that there are no problems with Windows 11 (PC1).

 

But if everything is correct why do I also have point 2?

Maybe I'm missing something obvious?

Do you need any extra information from my side?

unraid-diagnostics-20240921-1149.zip

Edited by kto
Posted
14 minutes ago, JorgeB said:

See the release notes, there's a kernel issue with virtio, try virtio-net for example.

Missed that.

Then I will wait for the next release, it's not a big deal. I found a few workarounds on how I can upload big files.

 

My Windows VM is on a ProxMox(PC1) machine, I tried to select a different adapter (E1000), but it's slower in general and didn't solve the issue.

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...