Theoretical calculation of memory transfer rate

Hello everyone, I encountered some problems while working on the project, and now I want to know some knowledge about memory transfer. How to calculate the theoretical transfer rate from global memory to shared memory? What factors does this rate have to do with? Will it be affected by the direction of transmission? thank you all.
Best wishes
A Cuda rookie