Hello AMJAD MUKATTASH,
Greetings! Welcome to Microsoft Q&A Platform.
I understand that your SMB file share on Mac machine is taking more time to fetch a file in the folder and one possible cause of slow performance is disabled caching. Caching can be useful if you are accessing a file repeatedly, otherwise, it can be an overhead. Check if you are using the cache before disabling it. Slow performance on an Azure file share mounted on a Linux VM
This article lists some common problems related to Azure file shares. It provides potential causes and workarounds for when you encounter these problems: Troubleshoot Azure file shares performance issues
This problem occurs because the SMB client sometimes has the option to delay certain network operations to improve overall I/O performance by using cached results or cached handles to remote files. This includes caching handles to remote files after applications have closed their handles to the files.
In some scenarios that involve I/O-intensive workloads and that perform buffered I/O to many files, caching handles may cause Continuously Available SMB shares to take longer than usual to fail over the file server resources from one cluster node to another. This occurs after the application closes the caching handles.
Additional information: Azure File Sync performance metrics
Sometime if there is any configuration issue on mounting also may create performance issue and hence ensure you have followed the correct steps in configuration by reviewing the following doc- https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-mac, https://learn.microsoft.com/en-us/azure/storage/files/smb-performance#optimizing-performance
Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.
Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.