Slow SMB speed beetween Windows machines

ravenich

Active Member
Apr 9, 2018
8
0
41
34
Hello. I have problem with slow file transfer speed beetween Windows VM and Windows physical machine.
Virtual Environment 5.1-46 4.13.16-1-pve
PC-1 (physical):
IP addr: 192.168.0.195/24
Windows 10 x64
CrystalDisk 6
pc.png
PC-2 (VM):
IP addr: 192.168.0.72/24
Windows 7 x86
win7-01.png
Crystal Disk 6
win7-02.png

1 Gb link beetween machines:
Iperf:
iperf-01.png
Everething looks fine
But, when i copy (for example) 4,6 Gb install.wim file from PC-1 to PC-2 (from physical to VM) speed is really low:
speed.png
How can i improve transfer speed?
 
i guess your disk is too slow, try running the disk benchmark with bigger files (instead of 1gb)
the copy graph suggests, that the memory is running full and writing to disk is simply slow
(also 512mb and only one core for a windows vm is very low)
 
i guess your disk is too slow, try running the disk benchmark with bigger files (instead of 1gb)
the copy graph suggests, that the memory is running full and writing to disk is simply slow
(also 512mb and only one core for a windows vm is very low)
I've changed cpu core to 2 and added 512 Gb of RAM:
chars.png
CrystalDiskMark 6 (16 GB test):
win7-prox-01.png
But copy speed is the same (average 15 MB/s):
copy.png
 
what is your underlying storage of both servers? the disk benchmark has awfull 4k values, so depending on how samba writes/reads
that can be the issue
 
what is your underlying storage of both servers? the disk benchmark has awfull 4k values, so depending on how samba writes/reads
that can be the issue
On the proxmox i use local storage (WDC-WD10EZEX 1Tb), one disk, no raid. On the physical machine same model.
 
Just for test i shutdown windows VM and create debian 9 linux vm with 256 mb RAM and one core. Install samba and share a directory.
Speed from the same physical machine to VM:
copy_linux.png
 
then i guess the problem is somewhere inside the windows 7 smb server
 
then i guess the problem is somewhere inside the windows 7 smb server
Hmm, i have another proxmox server in production. There are windows and linux VM's and situation the same. From physical Windows to VM Windows speed is very slow, from physical Windows to VM linux speed is fast. VM Windows is 2 sockets 2 core 4GB RAM, Windows 2008.
Proxmox version on the prod server is 5.1-46. Local storage RAID10 (4 x WD10EZEX 1Tb).

I can install another disk (seagate maybe), create storage and move vm disk to it and test speed again.

I remembered that i upgrade this (test) proxmox machine from version 4. Maybe problem in that?
 
I remembered that i upgrade this (test) proxmox machine from version 4. Maybe problem in that?
this should not make a difference

I can install another disk (seagate maybe), create storage and move vm disk to it and test speed again.
for ruling out the disk, yeah this could help

could you also test with a window 10 vm as smb server? maybe windows 10 does not like the 'old' smb servers
 
Here some tests (WDC_WD20EADS-65R - green disk, WDC_WD10EZEX-00W - blue disk):
I find physycal machine with Win7 and added to test
Physical machine with win7:
ph-w7.png
Speed beetween physical win7 and physical win 10:
ph-w7-2-ph-w10.png
Speed beetween physical win10 and physical win7:
ph-w10-2-ph-w7.png

I create new VM and install clean Win 7, here is config with blue disk:
vm-w7-config-blue.png
Crystal disk (blue disk) (maybe error on write speed):
vm-blue-w7.png
Physical W7 to VM W7 (blue) avg - 20 MB - really slow:
ph-w7-2-vm-w7-blue.png
Physical W10 to VM W7 (blue) avg - 30-35 MB - slow:
ph-w10-2-vm-w7-blue.png

Also i created VM with win10:
Config - with blue disk:
vm-w10-config-blue.png
Physical W7 to VM W10 avg 50-60 really good:
ph-w7-2-vm-w10-blue.png
Physical W10 to VM W10 avg 50-60 really good:
ph-w10-2-vm-w10-blue.png
 
And same tests but with green disk:
W7 VM:
vm-w7-green.png
pW7 to vW7:
ph-w7-2-vm-w7-green.png
pW10 to vW7:
ph-w10-2-vm-w10-green.png

W10 VM - green disk:
vm-w10-green.png
pW7 to vW10:
ph-w7-2-vm-w10-green.png
pW10 to vW10:
ph-w10-2-vm-w10-green.png
 
why arent you using Virt disk?
Recomendation from proxmox wiki
"
Proxmox recommends using SCSI with VirtIO SCSI as SCSI Controller Type for VM disks, to have the most features and best performance.

VirtIO block may get deprecated in the future.
"
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!