Statistics for Performance optimization for distributed-shared-data systems