I observe a problem on one of my Windows clients since upgrade from PVE 7.4 to PVE 8:
I have defined Samba shares on local ZFS filesystems. The filesystems are also exported to VMs via NFSv4.
When I access these shares from Windows clients, sometimes the transfer speeds are extremely slow (<10 MBit/s). This is best shown when I open an Excel file and save it again. The first few times, this will be just seconds. When I leave the file for one minute and re-save, it takes a few seconds, then a popup shows up with a progress indicator.
Sometimes, after a while, the system speeds up again. I can also copy files back and forth and see slow speeds.
I have tried to eliminate possible other causes up to the point to deinstall my antivirus software. I can rule out network problems because I tested with iperf3 during these "slow" times and I can see no problem there. There is neither high CPU nor network load on either the server nor the client.
However, I am quite sure that it is the Samba daemon as when I restart it via "systemctl restart smbd", the next save is always fast, even when the file in Excel is still open.
Also, when I share the very same folder via NFSv4 to an Ubuntu 22.04 VM and share that via Samba, the problem does not happen.
I can see no obvious problems with the Samba config, I even removed anything pertaining to ZFS snapshots and tried disabling oplocks to no avail.
I am at a complete loss as to what is the problem here, but it started with the PVE upgrade.
Does anyone have an idea?
I have defined Samba shares on local ZFS filesystems. The filesystems are also exported to VMs via NFSv4.
When I access these shares from Windows clients, sometimes the transfer speeds are extremely slow (<10 MBit/s). This is best shown when I open an Excel file and save it again. The first few times, this will be just seconds. When I leave the file for one minute and re-save, it takes a few seconds, then a popup shows up with a progress indicator.
Sometimes, after a while, the system speeds up again. I can also copy files back and forth and see slow speeds.
I have tried to eliminate possible other causes up to the point to deinstall my antivirus software. I can rule out network problems because I tested with iperf3 during these "slow" times and I can see no problem there. There is neither high CPU nor network load on either the server nor the client.
However, I am quite sure that it is the Samba daemon as when I restart it via "systemctl restart smbd", the next save is always fast, even when the file in Excel is still open.
Also, when I share the very same folder via NFSv4 to an Ubuntu 22.04 VM and share that via Samba, the problem does not happen.
I can see no obvious problems with the Samba config, I even removed anything pertaining to ZFS snapshots and tried disabling oplocks to no avail.
I am at a complete loss as to what is the problem here, but it started with the PVE upgrade.
Does anyone have an idea?