With the rapid growth of cloud computing, Datacenter is getting bigger and using more energy. There is a need to develop these efficient energy storage systems to reduce massive energy consumption. In this paper,we focused on reducing energy consumption and has a performance decline due to migration. Different algorithms are analyzed and the Local regression Maximum Correlation (LrMc) is taken which effectively reduces energy consumption in a static and dynamicenvironment.