Virtual Machine Deployment Time Reduction via Temporary CPU Allocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In cloud computing environments, the deployment time for virtual machines is prolonged due to the lack of multithreading capability, as only single or sub-core CPU allocations are available, limiting the simultaneous execution of multiple threads and thus extending initialization times for operating system and middleware tiers.
Innovation Solution
Temporarily allocating additional CPU resources during the initial deployment of virtual machines to enable a multithreaded startup, allowing for quicker initialization of the operating system and middleware tiers by provisioning the virtual machine with more CPU capacity than requested, and then restoring the original configuration once deployment is complete.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If single or sub-core CPU allocation is used to achieve high density consolidation, then resource consolidation is improved, but deployment time increases
Solution Approach 1:
The system dynamically adjusts CPU capacity allocation based on the operational stage of the virtual machine. During initial deployment, the virtual machine is provisioned with increased CPU capacity (e.g., 2-4 cores) to enable multithreaded initialization. Once deployment is complete, the CPU capacity is reduced to the originally requested single or sub-core allocation. This dynamic adjustment resolves the contradiction by temporarily sacrificing resource consolidation during the brief deployment phase to achieve fast initialization, then restoring high density consolidation for ongoing operation.
2Productivity
If multithreaded startup is implemented to reduce initialization time, then deployment speed is improved, but CPU resource requirements increase
Solution Approach 1:
The system performs preliminary action by allocating additional CPU capacity specifically during the initial deployment and initialization phase. This temporary resource boost enables the operating system and middleware tiers to initialize using multithreaded startup, significantly reducing initialization time. After the deployment is complete and the virtual machine is operational, the additional CPU capacity is removed and the system returns to the originally requested single or sub-core allocation, thus resolving the resource requirement contradiction.
Data Source
AI summary
A method, system and computer program product for optimizing virtual machine deployment time. A cloud controller receives a request from a user to configure a virtual machine with a designated CPU capacity. If the designated CPU capacity is less than or equal to a threshold, then the cloud controller determines if there are additional cloud resources available to be allocated to deploy the virtual machine. If so, then the cloud controller allocates additional CPU capacity to the designated CPU capacity to be used to provision the virtual machine thereby enabling a multithreaded startup to initialize the operating system and middleware tiers so as to reduce the deployment time of the virtual machine. The additional resources would only be available during the initial deployment time of the virtual machine and removed before the user is granted access to the system when it comes online.


