CIFS slows down after upgrading to OpenWrt 24.10

Formerly I was using OpenWrt 23.05.5 on a Linksys WRT3200ACM Router using kmod-fs-cifs and kmod-fs-smbfs-common to mount a PC's network share to the OpenWrt router. This worked well and file transfers via cifs were fast.

After upgrading to OpenWrt 24.10.0 mounting the PC's share worked at a first glance. But after transfering more than approximately 2 GB of data, the transfer slows down more and more, until the speed goes to zero. Also SSH connections to the router become slow, or become unavailable at all. Luci responds also slow or not at all.

After forcefully cancelling the transfer, the router becomes accessible again, as long as I do not start another file transver via cifs.

I already tried to update all packages, but it did not help.

Any advice is highly appreciated.

Probably unrelated, but https://openwrt.org/meta/infobox/upgrade_packages_warning.

Thanks to @frollic for the advice on upgrading packages. I was not aware of that before and will keep that in mind.

I also installed the most recent snapshot. The issue still persists. After about 3GB of data transferred, transfer stalls and the system becomes almost non-responding.

As a workaround I downgraded to OpenWrt 23.05.5 and hope there might be a fix to that issue in the future.

Out of curiosity, why are you writing to a network share via the router, instead of writing directly to it ?

I am regularily uploading large files (several GB) to the router's SD card from a remote site. This takes hours or even days.

In order to distibute these uploaded files to several PCs (these PCs are local to the router), I mount the PC's drives to the router via cifs using "mount -t cifs //pc1/c$ /path/to/files/on/router -overs=2.0,user=usernae,pass=password`", and then copy the files manually via cifs to the PC's harddrives. This usually only takes a couple of minutes.

Maybe this is a clumsy way to do this. If there is a more elegant way to accomplish that, I would appreciate any advice.

By the way: I checked the SD card, so I am confident, the issue is unrelated to the SD card. And it perfectly works with OpenWrt 23.5.5 and before.

Not sure what you're trying to achieve, but have you considered Syncthing?

I finally found a solution/workaround:

When mounting with (leaving away option vers=2.0,)
mount -t cifs //pc1/c$ /path/to/files/on/router -ouser=username,pass=password

instead of
mount -t cifs //pc1/c$ /path/to/files/on/router -overs=2.0,user=username,pass=password

it works flawlessly again :slight_smile:.
It also works perfectly with vers=2.1 and vers=3.0.
Just fails with vers=2.0 and vers=1.0.

Thanks to @Date for mentioning Syncthing. I will have a closer look at it.