We run 3 Windows 2019 servers. One of them acts as the SMB server, and the other 2 nodes have symlinks pointing to the SMB share. All of them are IIS servers.
Our application is PHP, and we're using Wincache for file system cache, and Opcache for opcode caching.
The problem is that, for the nodes that access the SMB share, the website is significantly slower. About 1 second slower.
All of the nodes have the same CPU/memory/SSD storage.
We verified that this is an SMB issue, by copying files for testing, to the other nodes, and indeed it was as fast as the main server (where the SMB share is located).
Searching around I found that Wincache is supposed to fix that, but it seems that still there's data going back and forth for the SMB share, making the website much slower compared to when the files are local.
Is this an SMB performance issue, or maybe a configuration issue?