Method for allocating memory to virtual machine and the virtual machine
A technology for allocating memory and virtual machines. It is applied in the computer field and can solve problems such as inability to allocate memory.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0068] In order to solve the above technical problems, the general idea of the technical solutions in the embodiments of the present invention is as follows:
[0069] First, obtain the average memory size a of each of the N NUMA nodes to be allocated to the virtual machine, where the average memory size S is the size of the total memory to be allocated to the virtual machine, p is an integer multiple of the memory page size of the host machine of the virtual machine, K 1 Is the number of copies that can be distributed;
[0070] Then, obtain n of the N NUMA nodes to be allocated 1 Number of copies of the first remaining memory of each NUMA node K 2 , Wherein the number of copies of the first remaining memory K 2 =K 1 %N, n 1 Is greater than or equal to 1 and less than or equal to K 2 Integer
[0071] After that, when the size r of the second remaining memory is 0, based on the size a of the average memory and the number of copies of the first remaining memory K 2 , Allocate memory o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com