Very slow web interface with external smb storage with approx 80000 files and folders

Hi,
We have installed nextcloud 16.0.3 on apache and php fpm 7.1 and mysql. Connected external storage via smb from windows server with approx 80000 files and folders. Root folder have approx 8000 folders. Every foldeer load takes tens of seconds. I went through a lot of discussion and did a series of recommended settings, but without success.

Thanks for any advice
Radek

I have the same problem. Do you fix it?