1. A computer-implemented method to reduce access to a shared data storage, the computer-implemented method comprising: analyzing a multithreaded application to generate metadata associated with at least one access from the multithreaded application to the shared data storage; determining if the at least one access to the shared data storage is appropriate to access local data storage based on the metadata; and if so, applying an optimization to the multithreaded application, the application of the optimization to reduce access to the shared data storage from the multithreaded application when the multithreaded application executes on a plurality of processing elements.