Abstract.In this paper, we study the resource allocation at the infrastructure level, instead of studying how to map the physical resources to virtual resources for better resource utilization in a cloud computing environment. We propose a new algorithm to resource allocation for infrastructure that dynamically allocate the virtual machines among the cloud computing applications based on approach algorithm deadlock detection and can use the threshold method to optimize the decision of resource reallocation. We have implemented and performed our algorithm proposed by using CloudSim simulator. The experiment results show that our algorithm can quickly detect deadlock and then resolve the situation of approximately orders of magnitude in practical cases.Keywords: Cloud Computing, Resource Allocation, Heterogeneous Platforms, Deadlock Detection.
Introduction"Recently, there has been a dramatic increase in the popularity of cloud computing systems that rent computing resources on-demand, bill on a pay-as-you-go basis, and multiply many users on the same physical infrastructure. These cloud computing environments provide an illusion of infinite computing resources to cloud users that they can increase or decrease their resources. In many cases, the need for these resources only exists in a very short period of time"Since them system of information and communication technology (ICT) was introduced, and has played a significant role in the lives of smart cities, the role of information technology infrastructure virtualization has contributed significantly to the solution of the major problem of the succession system of distributed computing, grid computing and parallel computing. In particular, tend to use cloud computing as a key is distributing virtual servers.