WO2015186088A1 - Selecting a host for a virtual machine using a hardware multithreading parameter - Google Patents

Selecting a host for a virtual machine using a hardware multithreading parameter Download PDF

Info

Publication number
WO2015186088A1
WO2015186088A1 PCT/IB2015/054229 IB2015054229W WO2015186088A1 WO 2015186088 A1 WO2015186088 A1 WO 2015186088A1 IB 2015054229 W IB2015054229 W IB 2015054229W WO 2015186088 A1 WO2015186088 A1 WO 2015186088A1
Authority
WO
WIPO (PCT)
Prior art keywords
hardware
host computer
computer system
hardware multithreading
cpus
Prior art date
Application number
PCT/IB2015/054229
Other languages
French (fr)
Inventor
Jeffrey Wayne TENNER
Joseph William CROPPER
Kyle Lane HENDERSON
Original Assignee
International Business Machines Corporation
Ibm United Kingdom Limited
IBM Japan Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US14/297,707 external-priority patent/US9400672B2/en
Priority claimed from US14/297,724 external-priority patent/US9304805B2/en
Priority claimed from US14/297,677 external-priority patent/US9384027B2/en
Application filed by International Business Machines Corporation, Ibm United Kingdom Limited, IBM Japan Limited filed Critical International Business Machines Corporation
Priority to GB1620786.2A priority Critical patent/GB2541340B/en
Priority to JP2016570094A priority patent/JP6628742B2/en
Priority to CN201580024412.1A priority patent/CN106462446B/en
Priority to DE112015000216.2T priority patent/DE112015000216T5/en
Priority to KR1020167033176A priority patent/KR101884549B1/en
Publication of WO2015186088A1 publication Critical patent/WO2015186088A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5044Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering hardware capabilities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing

Definitions

  • This disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to selecting a host for a virtual machine using a hardware multithreading parameter.
  • a cloud manager deploys virtual machines to host computer systems to create virtual servers.
  • the cloud manager receives a request that specifies what the virtual machine image requires for system resources, such as memory, disk and CPU.
  • the cloud manager determines available host computer systems that have the required system resources, selects one of the available host computers systems, and deploys the virtual machine to the selected host computer system.
  • OpenStack is open-source software for building private and public clouds.
  • virtual hardware templates called "flavors" specify system resources needed for virtual machines.
  • a flavor in OpenStack can specify size of memory, root disk size, and number of virtual CPUs for a virtual machine.
  • a call is made to the cloud manager with the flavor specifying the needed resources for the virtual machine.
  • the cloud manager finds one or more host computer systems that has the resources specified in the flavor, and deploys the virtual machine on one of the host computer systems that satisfies the flavor.
  • Hardware multithreading in a host can complicate the provisioning of virtual machines to a host computer system.
  • hyperthreading is enabled on the host computer system, the number of hardware threads are considered when selecting a host computer system for a virtual machine and virtual CPUs are allocated to hardware threads without regard to the physical cores.
  • hyperthreading is not enabled on the host computer system, only physical processor cores are considered when selecting a host computer system for a virtual machine, and virtual CPUs are allocated only to physical processor cores when a VM is provisioned on the selected host computer system.
  • split core processors refers to a CPU core that can be split into multiple subcores which may each contain multiple hardware threads and where the subcore appears as a core to the guest operating system. For example, a core capable of split core with 8 hardware threads, may be split into 4 subcores each capable of supporting 2 hardware threads.
  • Split core enablement is dynamic, meaning the splitting can be changed programmatically on the host operating system.
  • Known cloud managers do not treat split core processors any differently than processors that do not have split cores. As a result, known cloud managers cannot realize the advantages of using split core processors when provisioning virtual machines.
  • an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed and that further determines number of hardware threads supported by each CPU on the plurality of host computer systems; and a host selection mechanism that receives a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter, wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request.
  • VM virtual machine
  • a computer-implemented method executed by at least one processor for selecting a host computer system for deploying a virtual machine comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter; and selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request.
  • VM virtual machine
  • the invention may be implemented as a computer program.
  • a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems.
  • the cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies the amount of hardware multithreading required on the host computer system.
  • the cloud manager selects a host computer system for the VM taking the hardware multithreading parameter into consideration.
  • VM virtual machine
  • this disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to deploying virtual CPUs to a host computer system using a hardware multithreading parameter.
  • this disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to deploying virtual CPUs using a hardware multithreading parameter to a host computer system that includes one or more split core processors.
  • an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed and that further determines number of hardware threads supported by each CPU on the plurality of host computer systems; a host selection mechanism that receives a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter, wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request; and a virtual CPU (vCPU) placement mechanism that uses the hardware multithreading parameter to place a plurality of virtual CPUs (vCPUs) on the selected host computer system.
  • VM virtual machine
  • vCPU virtual CPU
  • a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter; selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request; and using the hardware multithreading parameter to place the plurality of vCPUs on the selected host computer system.
  • VM virtual machine
  • a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system comprising: determining number of CPUs, amount of memory, and amount of disk space available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes: a memory requirement that specifies a minimum amount of memory for the VM; a disk requirement that specifies a minimum amount of disk for the VM; and a CPU
  • VM virtual machine
  • a first value of the hardware multithreading parameter indicates hardware multithreading is turned off
  • a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads
  • a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system
  • selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request
  • using the hardware multithreading parameter to place the plurality of vCPUs on the selected host computer system by placing each vCPU in the VM on a different physical core in the selected host computer system when the hardware multithreading parameter indicates hardware multithreading is turned off and by placing each vCPU in the VM on a different hardware thread in the selected host computer system when the hardware multithreading parameter indicates the number of hardware threads.
  • an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines: a number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; a number of hardware threads supported by each CPU on the plurality of host computer systems; and whether split core is enabled for each CPU on the plurality of host computer systems; a host selection mechanism that receives a virtual machine (VM) request that includes: a number of virtual CPUs; and a hardware multithreading parameter; wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
  • VM virtual machine
  • a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; determining whether each CPU on the plurality of host computer system has split core enabled, and if so, a number of subcores per core; receiving a virtual machine (VM) request that includes a number of virtual CPUs, a hardware multithreading parameter; and selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
  • VM virtual machine
  • a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system comprising: determining number of CPUs, amount of memory, and amount of disk space available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; determining whether each CPU on the plurality of host computer systems has split core enabled; receiving a virtual machine (VM) request that includes: a memory requirement that specifies a minimum amount of memory for the VM; a disk requirement that specifies a minimum amount of disk for the VM; and a CPU requirement that specifies a number of virtual CPUs for the VM and a hardware
  • VM virtual machine
  • a first value of the hardware multithreading parameter indicates hardware multithreading is turned off
  • a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads
  • a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system
  • selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request
  • using the hardware multithreading parameter and the split core settings of the selected host computer system to place the plurality of vCPUs on the selected host computer system by placing each vCPU in the VM on a different physical core in the selected host computer system when the hardware multithreading parameter indicates hardware multithreading is turned off and by placing each vCPU in the VM on a different hardware thread in a subcore in a CPU in the selected host computer system when the hardware multithreading
  • a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems.
  • the cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system.
  • the cloud manager selects a host computer system for the VM taking the hardware multithreading parameter into consideration.
  • the VM is then placed on the selected host computer system using the hardware
  • a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and whether or not the CPUs have split core enabled.
  • the cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system.
  • the cloud manager selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings.
  • the VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine.
  • FIG. 1 is a block diagram of a cloud computing node in accordance with a preferred embodiment of the present invention
  • FIG. 2 is a block diagram of a cloud computing environment in accordance with a preferred embodiment of the present invention.
  • FIG. 3 is a block diagram of abstraction model layers in accordance with a preferred embodiment of the present invention.
  • FIG. 4 is a block diagram showing some features of a cloud manager in accordance with a preferred embodiment of the present invention.
  • FIG. 5 is a block diagram showing some features of a cloud VM request in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a flow diagram of a method for a cloud manager to log available resources on potential host computer systems in accordance with a preferred embodiment of the present invention
  • FIG. 7 is a flow diagram of a method for a cloud manager to provision a VM on a host computer system in accordance with a preferred embodiment of the present invention
  • FIG. 8 is a block diagram of a prior art x86 dual core CPU
  • FIG. 9 is a flow diagram of a prior art method for a cloud manager to select a host for a VM request
  • FIG. 10 is a block diagram showing how CPU requirements are specified in a prior art cloud VM request
  • FIG. 11 is a block diagram of a potential host computer system showing three x86 dual core processors in accordance with a preferred embodiment of the present invention
  • FIG. 12 is a block diagram showing virtual machines that include vCPUs that can be allocated to the potential host in FIG. 11 in accordance with a preferred embodiment of the present invention
  • FIG. 13 is a flow diagram of a prior art method for placing vCPUs on physical cores in a host computer system
  • FIG. 14 is a block diagram showing architecture of a Power8 six core CPU, showing two of the six cores in accordance with a preferred embodiment of the present invention
  • FIG. 15 is a flow diagram of a method for using a hardware multithreading parameter to select a host and to control placement for vCPUs on the host in accordance with a preferred embodiment of the present invention
  • FIG. 16 is a sample CPU requirement that includes number of vCPUs and a hardware multithreading parameter in accordance with a preferred embodiment of the present invention
  • FIG. 17 is a first sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention.
  • FIG. 18 shows a potential Power8 host that satisfies the CPU requirement in FIG.
  • FIG. 19 shows a second sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention
  • FIG. 20 shows a potential Power8 host that satisfies the CPU requirement in FIG.
  • FIG. 21 shows a third sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention
  • FIG. 22 shows a potential Power8 host that satisfies the CPU requirement in FIG.
  • FIG. 23 shows a fourth sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention
  • FIG. 24 shows a potential Power8 host that satisfies the CPU requirement in FIG.
  • FIG. 25 is a flow diagram of a method for selecting a host that satisfies a CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention
  • FIG. 26 is a flow diagram of a method for placing vCPUs on a selected host computer system using a hardware multithreading parameter
  • FIG. 27 is a block diagram showing a host-level statistic gathered for each potential host in accordance with a preferred embodiment of the present invention.
  • FIG. 28 is a block diagram showing an extra specification that could be implemented in an OpenStack flavor to specify the hardware multithreading parameter in accordance with a preferred embodiment of the present invention.
  • FIG. 29 is a flow diagram of a method for performing a resize operation on an existing VM that may include a hardware multithreading parameter.
  • FIG. 30 is a block diagram showing architecture of a Power8 six core CPU with split core enabled showing two of the six cores;
  • FIG. 31 is a sample CPU requirement that includes number of vCPUs and a hardware multithreading parameter
  • FIG. 32 is a first sample CPU requirement that includes a hardware multithreading parameter
  • FIG. 33 shows a potential Power8 host that satisfies the CPU requirement in FIG. 32;
  • FIG. 34 shows a second sample CPU requirement that includes a hardware multithreading parameter
  • FIG. 35 shows a potential Power8 host that satisfies the CPU requirement in FIG. 34;
  • FIG. 36 shows a third sample CPU requirement that includes a hardware multithreading parameter
  • FIG. 37 shows a potential Power8 host that satisfies the CPU requirement in FIG.
  • FIG. 38 shows a fourth sample CPU requirement that includes a hardware multithreading parameter
  • FIG. 39 shows a potential Power8 host that satisfies the CPU requirement in FIG. 38;
  • FIG. 40 is a flow diagram of a method for selecting a host that satisfies a CPU requirement that includes a hardware multithreading parameter and that accounts for when a host has split cores;
  • a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and whether or not the CPUs have split core enabled. .
  • the cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system (or in one embodiment, the amount of hardware multithreading required on the host computer system).
  • the cloud manager selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings.
  • the VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine.
  • Cloud computing is a model of service delivery for enabling convenient, on- demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service.
  • This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
  • On-demand self-service a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
  • Resource pooling the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
  • Rapid elasticity capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
  • Measured service cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
  • level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts).
  • SaaS Software as a Service: the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure.
  • the applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail).
  • a web browser e.g., web-based e-mail
  • the consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
  • PaaS Platform as a Service
  • the consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
  • IaaS Infrastructure as a Service
  • the consumer does not manage or control the underlying cloud
  • Private cloud the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
  • Community cloud the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
  • Public cloud the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
  • Hybrid cloud the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for loadbalancing between clouds).
  • a cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability.
  • An infrastructure comprising a network of interconnected nodes.
  • Cloud computing node 100 is only one example of a suitable cloud computing node and is not intended to suggest any limitation as to the scope of use or functionality of embodiments of the invention described herein. Regardless, cloud computing node 100 is capable of being implemented and/or performing any of the functionality set forth
  • cloud computing node 100 there is a computer system/server 110, which is operational with numerous other general purpose or special purpose computing system environments or configurations.
  • Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 110 include, but are not limited to, personal computer systems, server computer systems, tablet computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
  • Computer system/server 110 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system.
  • program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types.
  • Computer system/server 110 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
  • FIG. 1 computer system/server 110 in cloud computing node 100 is shown in the form of a general-purpose computing device.
  • the components of computer system/server 110 may include, but are not limited to, one or more processors or processing units 120, a system memory 130, and a bus 122 that couples various system components including system memory 130 to processing unit 120.
  • Bus 122 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
  • bus architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
  • Computer system/server 110 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 1 10, and it includes both volatile and non-volatile media, removable and nonremovable media. An example of removable media is shown in FIG. 1 to include a Digital Video Disc (DVD) 192.
  • DVD Digital Video Disc
  • System memory 130 can include computer system readable media in the form of volatile or non-volatile memory, such as firmware 132.
  • Firmware 132 provides an interface to the hardware of computer system/server 1 10.
  • System memory 130 can also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 134 and/or cache memory 136.
  • Computer system/server 110 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
  • storage system 140 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive").
  • a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk")
  • an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media
  • each can be connected to bus 122 by one or more data media interfaces.
  • memory 130 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions described in more detail below.
  • Program/utility 150 having a set (at least one) of program modules 152, may be stored in memory 130 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment.
  • Program modules 152 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
  • Computer system/server 1 10 may also communicate with one or more external devices 190 such as a keyboard, a pointing device, a display 180, a disk drive, etc.; one or more devices that enable a user to interact with computer system/server 110; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 110 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 170. Still yet, computer system/server 110 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 160.
  • LAN local area network
  • WAN wide area network
  • public network e.g., the Internet
  • network adapter 160 communicates with the other components of computer system/server 110 via bus 122. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 1 10. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Array of Independent Disk (RAID) systems, tape drives, data archival storage systems, etc.
  • RAID Redundant Array of Independent Disk
  • cloud computing environment 200 comprises one or more cloud computing nodes 100 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) or cellular telephone 21 OA, desktop computer 21 OB, laptop computer 210C, and/or automobile computer system 21 ON may communicate.
  • Nodes 100 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof This allows cloud computing
  • computing environment 200 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types of computing devices 210A-N shown in FIG. 2 are intended to be illustrative only and that computing nodes 100 and cloud computing environment 200 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser).
  • FIG. 3 a set of functional abstraction layers provided by cloud computing environment 200 in FIG. 2 is shown. It should be understood in advance that the components, layers, and functions shown in FIG. 3 are intended to be illustrative only and the disclosure and claims are not limited thereto. As depicted, the following layers and corresponding functions are provided.
  • Hardware and software layer 310 includes hardware and software components.
  • hardware components include mainframes, in one example IBM® System z® systems; RISC (Reduced Instruction Set Computer) architecture based servers, in one example IBM System p® systems; IBM System x systems; IBM BladeCenter systems; storage devices; networks and networking components.
  • software components include network application server software, in one example IBM WebSphere® application server software; and database software, in one example IBM DB2® database software.
  • IBM, System z, System p, WebSphere, and DB2 are trademarks of International Business Machines
  • Virtualization layer 320 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual clients.
  • management layer 330 may provide the functions described below.
  • Resource provisioning provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment.
  • Metering and Pricing provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses.
  • Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources.
  • User portal provides access to the cloud computing environment for consumers and system administrators.
  • Service level management provides cloud computing resource allocation and management such that required service levels are met. Service Level
  • a cloud manager 350 is representative of a cloud manager as described in more detail below. While the cloud manager 350 is shown in FIG. 3 to reside in the management layer 330, cloud manager 350 can span all of the levels shown in FIG. 3.
  • Workloads layer 340 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom education delivery; data analytics processing; transaction processing; and mobile desktop.
  • the present invention may be a system, a method, and/or a computer program product.
  • the computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
  • the computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device.
  • the computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • a non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a readonly memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing.
  • RAM random access memory
  • ROM readonly memory
  • EPROM or Flash memory erasable programmable read-only memory
  • SRAM static random access memory
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disk
  • memory stick a floppy disk
  • a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon
  • a computer readable storage medium is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
  • Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network.
  • the network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
  • Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
  • the computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform embodiments of the present invention.
  • These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for
  • These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block may occur out of the order noted in the figures.
  • two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • FIG. 4 shows one suitable example of the cloud manager 350 shown in FIG. 3.
  • the cloud manager 350 includes a cloud provisioning mechanism 410 that includes a resource request interface 420.
  • the resource request interface 420 allows a software entity to request virtual machines from the cloud manager 350 without human intervention.
  • the cloud manager 350 also includes a user interface 430 that allows a user to interact with the cloud manager to perform any suitable function, including provisioning of VMs, destruction of VMs, performance analysis of the cloud, etc.
  • the difference between the resource request interface 420 and the user interface 430 is a user must manually use the user interface 430 to perform functions specified by the user, while the resource request interface 420 may be used by a software entity to request provisioning of cloud resources by the cloud mechanism 350 without input from a human user.
  • the cloud manager 350 also includes a host monitor mechanism 440 that monitors resources available on potential host computer systems so the cloud manager 350 can compared specified resources for a VM with available resources on a potential host computer system.
  • a host selection mechanism 450 allows selecting a potential host computer system based on comparing the specified resources for a requested VM with available resources on potential host computer systems.
  • the vCPU placement mechanism 460 places vCPUs on a selected host computer system using the hardware multithreading parameter.
  • a VM resize mechanism 470 allows resizing existing VMs in a way that uses a hardware multithreading parameter, even when the original VM did not use a hardware multithreading parameter.
  • FIG. 5 shows one suitable example of a cloud VM request 510 that could be submitted via the resource request interface 420 or via the user interface 430 on the cloud provisioning mechanism 410 in FIG. 4 to request a VM be provisioned by the cloud manager 350.
  • Cloud VM request 510 can include any specification of requirements for needed resources on the VM. Examples of suitable requirements include memory requirement 520, disk requirement 530, and CPU requirement 540.
  • the memory requirement 520 specifies the amount of memory needed for the VM.
  • the disk requirement 530 specifies the amount of disk needed for the VM.
  • the CPU requirement 540 specifies the number of virtual CPUs needed for the VM, and can also specify a hardware multithreading parameter, as discussed in more detail below.
  • other requirements not shown in FIG. 5 could be specified for a VM, such as network requirement and any other suitable requirement.
  • OpenStack uses something called a "flavor" as a cloud VM request, which specifies the minimum requirements for resources on a VM.
  • a method 600 is preferably performed by the host monitor mechanism 440 in FIG. 4 to monitor available resources on potential host computer systems. Available resources on potential host computer systems are determined (step 610), and are logged (step 620).
  • One known way to implement method 600 uses a driver that queries a host to determine its available resources.
  • a method 700 begins by receiving a cloud VM request (step 710).
  • the resource requirements in the cloud VM request are then compared with available resources on potential host computer systems (step 720). Note the available resources in step 720 could be read from the log created in step 620 in FIG. 6.
  • a host is then selected that has resources that satisfy the resource requirements in the cloud VM request (step 730).
  • the VM is then deployed on the selected host computer system (step 740).
  • processors include multiple processing cores.
  • One example of a multi-core processor is an x86 dual core CPU 810 shown in FIG. 8.
  • the x86 dual core CPU 810 includes a first core 820 that has two hardware threads 822 and 824, and a second core 840 that has two hardware threads 842 and 844.
  • the existence of multiple hardware threads on each core can create challenges in provisioning a VM to a host computer system.
  • the number of hardware threads in a multi-core CPU is typically ignored, with only the physical cores being taken into consideration. For example, prior art method 900 in FIG.
  • a prior art CPU requirement 1010 as shown in FIG. 10 specifies the number of virtual CPUs (vCPUs) in a VM, and is one suitable example for the CPU requirement 540 shown in FIG. 5. Because method 900 only uses physical cores when selecting a host for a VM, the multiple hardware threads on the cores will be underutilized, thereby not taking advantage of available CPU resources. In other prior art, when hyperthreading of the host is enabled, the number of hardware threads is taken into consideration and placement of vCPUs to hardware threads is performed without regard to physical cores. This approach can lead to inefficient VMs since some workloads benefit from leveraging threads on different cores while other are better served by threads for the same core.
  • Step 920 in FIG. 9 may include any suitable criteria or heuristic for selecting a host computer system that satisfies a VM request.
  • the number of physical cores could be increased by some overcommit ratio, such as 2.0.
  • some overcommit ratio such as 2.0.
  • multiplying the three physical cores by the 2.0 overcommit ratio will result in available processors of 6, which means a VM that requires six vCPUs could be deployed on the host but a VM that requires seven vCPUs could not.
  • a simple example will illustrate.
  • FIG. 11 represents a sample potential host computer system that includes three dual core x86 CPUs.
  • this host already has VMl shown in FIG. 12 running on it, which was deployed to the two physical cores in CPUl and the first of the two physical cores in CPU2, as shown by the shading in those cores in FIG. 12.
  • VM2 shown in FIG. 12 needs to be deployed.
  • the number of available cores is determined, which for the example in FIG. 11 is nine, namely the six cores multiplied by the overcommit ratio of 2 minus the three cores used by VMl in Potential Host 1 shown in FIG. 11. Because VM2 needs two vCPUs, and Potential Host 1 has 9 available cores, Potential Host 1 is a valid potential host for VM2 shown in FIG. 12.
  • method 1300 starts by reading the cloud VM request (step 1310).
  • the vCPUs in the cloud VM request are then placed on physical cores (step 1320).
  • thread Tl of the first and second cores of CPUl and the first core of CPU2 are shaded to indicate the three vCPUs in VMl shown in FIG. 12 have been placed on these three corresponding cores. Note, however, the placement is not static. At different times, a vCPU could be running on any of the hardware threads on any of the active cores.
  • VMl takes 3 of these threads leaving 9 for other VMs.
  • the vCPUs are allocated to any of the threads which may mean that work running in operating system threads that share memory would best be run in hardware threads of the same vCPU while work running in operating system threads that are independent are better run in hardware threads in different cores. Therefore, prior art creates inefficiencies in the way potential hosts are identified for a VM and in the way VMs run on a selected host because the allocation of VMs to potential hosts does not currently account for the differences between hardware threads and cores on CPUs.
  • the prior art recognizes either a physical processor core or a hardware thread but not both as the entity to which a virtual CPU can be deployed.
  • a single dual core CPU as shown in FIG. 8 has two available CPUs in the form of its two physical cores 820 and 840 to which vCPUs can be deployed.
  • hyperthreading a single dual core CPU could support more vCPUs; however, whether the vCPUs are run by hardware threads on the same physical core or different cores is not deterministic.
  • the disclosure and claims herein create a finer level of granularity, recognizing that vCPUs need to be allocated to multiple hardware threads, not just to a single physical core or a single hardware thread.
  • vCPUs being allocated to either a single hardware thread or core is exacerbated when the number of hardware threads is increased.
  • hyperthreading results in two threads per core.
  • the problem becomes more pronounced.
  • a Power8 6 Core CPU 1410 is shown in FIG. 14 to include a first core 1420 that includes eight hardware threads 1432, 1434, 1436, 1438, 1442, 1444, 1446 and 1448, and a second core 1450 that also includes eight hardware threads 1462, 1464, 1466, 1468, 1472, 1474, 1476 and 1478.
  • the four other cores are not shown in FIG.
  • VMs with workloads that require a high degree of parallelism and shared memory will get better performance by being located on the same physical core as other vCPUs for that VM rather than spread across many physical cores.
  • a new way to identify potential hosts and deploy VMs takes hardware threads into account using a hardware multithreading parameter in the cloud VM request based on the principle that a vCPU could be allocated to multiple hardware threads within a physical core instead of just a physical core or single hardware thread. This is done using a new parameter in the cloud VM request that relates to hardware multithreading.
  • this hardware multithreading parameter is referred to as an "SMT" parameter, which stands for Symmetric Multithreading, which is a known term in the art for describing hardware multithreading on CPUs.
  • method 1500 begins by using an SMT parameter in the cloud VM request, along with, in one embodiment, information on hosts regarding the number of hardware threads per core and split core settings, to select a host computer system (step 1510). Once the host computer system has been selected, the same SMT parameter in the cloud VM request can be used to make placement decisions for vCPUs when deploying the VM on the selected host (step 1520). In one embodiment, information on the host regarding the number of hardware threads per core and split core settings can also be used to make placement decisions for vCPUs when deploying the VM on the selected host (step 1520).
  • FIG. 10 shows a prior art CPU requirement 1010 for a cloud VM request includes specifying the number of vCPUs 1020 needed on the VM.
  • a cloud VM ' request 1610 shown in FIG. 16 in accordance with the disclosure and claims herein includes the number of vCPUs 1620, but additionally includes a hardware multithreading (SMT) parameter 1630.
  • the value of the SMT parameter can be zero, indicating that hardware multithreading is turned off, or can be a power of 2 number representing the number of hardware threads.
  • a CPU requirement 161 OA is one suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 2 vCPUs 1720 and the SMT parameter with a value of two 1730.
  • the potential host will have one core with two threads used, resulting in six unused threads, as shown in FIG. 18.
  • a second CPU requirement 1610B in FIG. 19 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 2 vCPUs 1920 and the SMT parameter with a value at 1930 that indicates hardware multithreading is turned off.
  • the potential host will have two cores with one thread in each core used, resulting in fourteen unused threads in the two cores, as shown in FIG. 20. Note that the net result of the potential host for the CPU requirement 161 OB in FIG. 19 with the SMT parameter turned off is the same as the prior art CPU requirement 1010 shown in FIG.
  • FIGS. 16-19 show how the hardware multithreading parameter gives more control over how vCPUs are deployed. For example, if a VM with 2 vCPUs will run jobs that operate on the same data, it may be desirable for the 2 vCPUs to be deployed to two different hardware threads in the same core, as shown in the example in FIGS. 17 and 18, because the two threads running on the same core will have very high-performance access to cache memory available to the core. If a VM with 2 vCPUs will run jobs that are independent of each other, it may be desirable for the 2 vCPUs to be deployed to two different cores, as shown in the example in FIGS. 19 and 20.
  • a third CPU requirement 1610C in FIG. 21 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 8 vCPUs 2120 and the SMT parameter with a value of 8 at 2130.
  • the potential host will have one core with all eight threads used, resulting in no unused threads, as shown in FIG. 22.
  • a fourth CPU requirement 1610D in FIG. 23 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 12 vCPUs 2320 and the SMT parameter with a value of 4 at 2330.
  • the potential host will have three cores with four threads used in each core, resulting in twelve unused threads, as shown in FIG. 24.
  • FIGS. 17-24 assume a vCPU can be deployed to each available thread.
  • the discussion above with respect to FIGS. 9-12 discusses an "overcommit ratio" to increase the number of CPUs by some amount. A similar overcommit ratio could be applied in selecting a host computer system in accordance with the disclosure and claims herein.
  • a method 2500 selects a host when a hardware
  • step 2510 a host that has a number of physical cores that satisfies the number of vCPUs in the cloud VM request is selected (step 2530). Note that step 2530 is similar to step 920 in prior art method 900 in FIG. 9.
  • step 2610 the vCPUs for the VM can be placed on the selected host.
  • the cloud manager With a hardware multithreading parameter in the cloud VM request, the cloud manager must know not only the number of physical cores in CPUs in a potential host, but must also know the number of threads supported by the CPUs in the potential host. This is to ensure that a single core of the host can support the number of threads specified for the cloud VM request.
  • One way to accomplish this is to collect as part of the available resources in step 610 in FIG. 6 the maximum SMT setting supported by the host computer system.
  • FIG. 6 One example of this is shown in FIG.
  • max guest smt represents a value gathered by the host monitor mechanism 440 in FIG. 4 to indicate whether a potential host computer system supports hardware multithreading or not.
  • the possible values of the max_guest_smt are zero, which indicates SMT is turned off on the host computer system, and power of 2 number which indicates the number of hardware threads available on each CPU.
  • the max_guest_smt will be a single value that applies to all of the CPUs in the host computer system.
  • the host computer system includes CPUs of different types that include different numbers of hardware threads, there could be a different max guest smt value for each CPU in the host computer system.
  • OpenStack currently does not have any existing support to help specify the desired topology of the guest CPU.
  • One way to implement the addition of a hardware multithreading parameter discussed herein is to add an additional specification to an OpenStack flavor as shown in FIG. 28.
  • a parameter powerkvm:smt is a new parameter in an OpenStack flavor that specifies a desired SMT value for a guest VM. Note the possible values of this parameter are -1 , indicating "don't care"; zero, which indicates that SMT is off; or some power of 2 number.
  • the disclosure and claims herein provide a much improved way to select potential host computer systems on which to deploy VMs and to deploy those VMs in a way that takes better advantage of the hardware multithreading capabilities of the host computer systems, thereby improving utilization of CPU resources on the host computer systems.
  • the hardware multithreading parameter discussed herein can also be used in a VM resizing operation. Sometimes a VM needs to have more or less resources, so it can be resized to add or decrease resources deployed to the VM.
  • FIG. 29 shows a method 2900 for resizing a VM that is preferably performed by the VM resize mechanism 470 shown in FIG. 4.
  • a flavor for the resize operation of an existing VM is read (step 2910).
  • the flavor referred to in step 2910 is the flavor with the new (i.e., resized) allocation of resources to the VM.
  • the SMT parameter of the VM is set to OFF (step 2930).
  • step 2920 YES
  • the Power8 6 core CPU supports subcores, which means the eight threads in each core may be are split into subcores of two threads each when split core is enabled.
  • a Power8 6 core CPU 3010 with split core enabled is shown in FIG. 30 to include a first core 3020 divided into four subcores 3022, 3024, 3026 and 3028, and a second core 3050 divided into four subcores 3052, 3054, 3056 and 3058.
  • the four other cores are not shown in FIG. 30, but are similar to the two cores shown.
  • Each subcore has two hardware threads, as shown in FIG.
  • each core By dividing each core into subcores, the subcores can be allocated to virtual machines instead of the cores, which results in saving a significant number of unused hardware threads.
  • a CPU requirement 3110 is preferably part of a cloud VM request 510 shown in FIG. 5.
  • the CPU requirement 3110 specifies a number of vCPUs 3120 and a hardware multithreading parameter 3130. Examples follow that illustrate how split cores affect selection of a host and placement of vCPUs on that host.
  • a CPU requirement 3110A is one suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 2 vCPUs 3220 and the SMT parameter with a value of two 3230.
  • the potential host will have one subcore with two threads used, resulting in three subcores that may be used by other VMs, as shown in FIG. 33.
  • a second CPU requirement 31 10B in FIG. 34 is another suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 2 vCPUs 3420 and the SMT parameter with a value set to OFF at 3430.
  • the potential host With hardware multithreading turned off, for a potential host that has a Power8 6 core CPU 3010 with split core enabled as shown in FIG. 30, the potential host will have two subcores with one thread in each subcore used, resulting in one unused threads in each subscore, and two subscores that may be used by other VMs, as shown in FIG. 35.
  • a third CPU requirement 3110C in FIG. 36 is another suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 8 vCPUs 3620 and the SMT parameter with a value of two at 3630.
  • the hardware multithreading parameter having a value of 2
  • the potential host will have four subcores with two threads in each subcore used, resulting in no threads unused, as shown in FIG. 37.
  • all eight vCPUs can be placed on all eight threads (four subcores) of the same physical core.
  • the four subcores in FIG. 37 could be placed on two or more physical cores.
  • a fourth CPU requirement 3 HOD in FIG. 38 is another suitable example for the CPU requirement 31 10 shown in FIG. 31 , and includes 12 vCPUs 3820 and the SMT parameter with a value of two at 3830.
  • the hardware multithreading parameter having a value of 2
  • the potential host will have six subcores with two threads in each subcore used, and no threads of any subcore unused, as shown in FIG. 39.
  • eight of the twelve vCPUs can be placed on all eight threads (four subcores) of the same physical core, and the remaining four vCPUs can be placed four threads in two subcores in a different physical core.
  • the six subcores in FIG. 39 could be placed on three or more physical cores.
  • FIGS. 32, 36 and 38 all have an SMT parameter with a value of two. Because a Power8 subcore includes two threads, specifying two threads in the SMT parameter provides the most efficient placement of vCPUs on a Power8 CPU. Note, however, the SMT parameter could be greater than the number of threads on a subcore. For example, if the SMT parameter at 3630 in FIG. 36 were set to a value of four, hosts with subcores of two threads will not satisfy the request. Therefore, hosts without split cores are not potential hosts when the SMT setting exceeds the number of threads for a subcore.
  • a method 4000 shows selection of a host computer system using a cloud VM request that includes a hardware multithreading parameter that takes into consideration whether split core is enabled on the host computer system.
  • Method 4000 is preferably performed by the host selection mechanism 450 shown in FIG. 4.
  • a cloud VM request is read (step 4010).
  • the potential host may be selected is if has a number of subcores that satisfy the number of vCPUs in the cloud VM request (step 4040).
  • the potential host may be selected if it has a number of physical cores that satisfy the number of vCPUs in the cloud VM request (step 4050).
  • the potential host may be selected if the number of hardware threads for the subcore can satisfy the number of hardware threads specified in the SMT parameter and the number of subcores can satisfy the number of vCPUs in the cloud VM request divided by the number of hardware threads specified in the SMT parameter (step 4070).
  • the potential host may be selected if the number of hardware threads for the core can satisfy the number of hardware threads specified in the SMT parameter and if the number of physical cores can satisfy the number of vCPUs in the cloud VM request divided by the number of hardware threads specified in the SMT parameter (step 4080).
  • method 4000 is preferably repeated for each potential host, which can result in a pool of potential hosts, from which one of the hosts may be selected using any suitable criteria or heuristic. For example, a host that has split cores enabled may be selected over a host that has split cores disabled when the VM request results in a more efficient usage of CPU cores and threads.
  • Method 4000 illustrates how a hardware multithreading parameter and information from the host regarding the split core settings and hardware threads per core gives better control over selection of a host computer system that will result in more efficient placement of vCPUs.
  • a method 4200 begins when vCPUs need to be placed on a selected host (step 4210).
  • Method 4200 is preferably performed by the vCPU placement mechanism 460 shown in FIG. 4.
  • the vCPUs are placed on different subcores (step 4240).
  • the vCPUs are placed on different physical cores (step 4250).
  • Method 4200 illustrates how specifying a hardware multithreading parameter and using information on the split core settings gives better control over the placement of vCPUs on host computer systems.
  • the cloud manager To be able to place VMs considering split core and a hardware multithreading parameter in the cloud VM request, the cloud manager must know not only the number of physical cores in CPUs in a potential host, but must also know the number of threads supported by the CPUs in the potential host and whether split core is enabled or not on the potential host. Referring again to FIG. 6, this means determining the available resources in step 610 not only includes determining available CPU cores, but whether multiple threads on these CPU cores are available as well, and whether split core is enabled on these cores. One way to accomplish this is to collect as part of the available resources in step 610 in FIG. 6 whether split core is enabled on the potential host computer system.
  • a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and in one embodiment whether or not the CPUs have split core enabled.
  • the cloud manager receives a request to provision a virtual machine (VM) that includes a hardware
  • the cloud manager selects a host computer system for the VM taking the hardware multithreading parameter into consideration. In another embodiment, the cloud manager then selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings. The VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems. The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies the amount of hardware multithreading required on the host computer system. The cloud manager then selects a host computer system for the VM taking the hardware multithreading parameter into consideration.

Description

SELECTING A HOST FOR A VIRTUAL MACHINE USING A HARDWARE
MULTITHREADING PARAMETER
BACKGROUND
Technical Field
[0001] This disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to selecting a host for a virtual machine using a hardware multithreading parameter.
Background Art
[0002] In a cloud environment, a cloud manager deploys virtual machines to host computer systems to create virtual servers. Typically the cloud manager receives a request that specifies what the virtual machine image requires for system resources, such as memory, disk and CPU. The cloud manager then determines available host computer systems that have the required system resources, selects one of the available host computers systems, and deploys the virtual machine to the selected host computer system.
[0003] OpenStack is open-source software for building private and public clouds. In OpenStack, virtual hardware templates called "flavors" specify system resources needed for virtual machines. For example, a flavor in OpenStack can specify size of memory, root disk size, and number of virtual CPUs for a virtual machine. When a virtual machine needs to be deployed, a call is made to the cloud manager with the flavor specifying the needed resources for the virtual machine. The cloud manager then finds one or more host computer systems that has the resources specified in the flavor, and deploys the virtual machine on one of the host computer systems that satisfies the flavor.
[0004] Hardware multithreading in a host can complicate the provisioning of virtual machines to a host computer system. In the prior art, if hyperthreading is enabled on the host computer system, the number of hardware threads are considered when selecting a host computer system for a virtual machine and virtual CPUs are allocated to hardware threads without regard to the physical cores. If hyperthreading is not enabled on the host computer system, only physical processor cores are considered when selecting a host computer system for a virtual machine, and virtual CPUs are allocated only to physical processor cores when a VM is provisioned on the selected host computer system. With modern processor
architectures such as POWER that include many hardware threads in each core, the result is a very inefficient use of processing resources.
[0005] The provisioning of virtual machines can further be complicated when processors have split cores. Split core processors refers to a CPU core that can be split into multiple subcores which may each contain multiple hardware threads and where the subcore appears as a core to the guest operating system. For example, a core capable of split core with 8 hardware threads, may be split into 4 subcores each capable of supporting 2 hardware threads. Split core enablement is dynamic, meaning the splitting can be changed programmatically on the host operating system. Known cloud managers do not treat split core processors any differently than processors that do not have split cores. As a result, known cloud managers cannot realize the advantages of using split core processors when provisioning virtual machines.
BRIEF SUMMARY
[0006] According to a first aspect, there is provided an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed and that further determines number of hardware threads supported by each CPU on the plurality of host computer systems; and a host selection mechanism that receives a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter, wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request. [0007] According to a second aspect, there is provided a computer-implemented method executed by at least one processor for selecting a host computer system for deploying a virtual machine, the method comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter; and selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request.
[0008] The invention may be implemented as a computer program.
[0009] According to a preferred embodiment, a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems. The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies the amount of hardware multithreading required on the host computer system. The cloud manager then selects a host computer system for the VM taking the hardware multithreading parameter into consideration.
[00010] According to one embodiment, there is provided a solution to do with the placement of vitual cpus using a hardware multithreading parameter.
[00011] According to one embodiment, this disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to deploying virtual CPUs to a host computer system using a hardware multithreading parameter.
[00012] According to one embodiment, there is provided a solution for provisioning virtual CPUs using a hardware multithreading parameter in hosts with split core processors.
[00013] According to one embodiment, this disclosure generally relates to deploying virtual machines to host computer systems, and more specifically relates to deploying virtual CPUs using a hardware multithreading parameter to a host computer system that includes one or more split core processors.
[00014] According to one embodiment, there is provided an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed and that further determines number of hardware threads supported by each CPU on the plurality of host computer systems; a host selection mechanism that receives a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter, wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request; and a virtual CPU (vCPU) placement mechanism that uses the hardware multithreading parameter to place a plurality of virtual CPUs (vCPUs) on the selected host computer system.
[00015] According to one embodiment, there is provided a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system, the method comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter; selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request; and using the hardware multithreading parameter to place the plurality of vCPUs on the selected host computer system.
[00016] According to one embodiment, there is provided a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system, the method comprising: determining number of CPUs, amount of memory, and amount of disk space available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; receiving a virtual machine (VM) request that includes: a memory requirement that specifies a minimum amount of memory for the VM; a disk requirement that specifies a minimum amount of disk for the VM; and a CPU
requirement that specifies a number of virtual CPUs for the VM and a hardware
multithreading parameter, wherein a first value of the hardware multithreading parameter indicates hardware multithreading is turned off, a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads, and a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system; selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request; and using the hardware multithreading parameter to place the plurality of vCPUs on the selected host computer system by placing each vCPU in the VM on a different physical core in the selected host computer system when the hardware multithreading parameter indicates hardware multithreading is turned off and by placing each vCPU in the VM on a different hardware thread in the selected host computer system when the hardware multithreading parameter indicates the number of hardware threads.
[00017] According to one embodiment, there is provided a method as described in the paragraph above, further comprising resizing the VM using the hardware multithreading parameter.
[00018] According to one embodiment, there is provide an apparatus comprising: at least one processor; a memory coupled to the at least one processor; a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising: a host monitor mechanism that determines: a number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; a number of hardware threads supported by each CPU on the plurality of host computer systems; and whether split core is enabled for each CPU on the plurality of host computer systems; a host selection mechanism that receives a virtual machine (VM) request that includes: a number of virtual CPUs; and a hardware multithreading parameter; wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
[00019] According to one embodiment, there is provided a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system, the method comprising: determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; determining whether each CPU on the plurality of host computer system has split core enabled, and if so, a number of subcores per core; receiving a virtual machine (VM) request that includes a number of virtual CPUs, a hardware multithreading parameter; and selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
[00020] According to one embodiment, there is provided a computer-implemented method executed by at least one processor for placing a plurality of virtual CPUs (vCPUs) on a host computer system, the method comprising: determining number of CPUs, amount of memory, and amount of disk space available on a plurality of host computer systems to which virtual machines could be deployed; determining number of hardware threads supported by each CPU on the plurality of host computer systems; determining whether each CPU on the plurality of host computer systems has split core enabled; receiving a virtual machine (VM) request that includes: a memory requirement that specifies a minimum amount of memory for the VM; a disk requirement that specifies a minimum amount of disk for the VM; and a CPU requirement that specifies a number of virtual CPUs for the VM and a hardware
multithreading parameter, wherein a first value of the hardware multithreading parameter indicates hardware multithreading is turned off, a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads, and a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system; selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads and split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request; and using the hardware multithreading parameter and the split core settings of the selected host computer system to place the plurality of vCPUs on the selected host computer system by placing each vCPU in the VM on a different physical core in the selected host computer system when the hardware multithreading parameter indicates hardware multithreading is turned off and by placing each vCPU in the VM on a different hardware thread in a subcore in a CPU in the selected host computer system when the hardware multithreading parameter indicates the number of hardware threads and the split core settings of the selected computer system is enabled.
[00021] According to one embodiment, a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems. The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system. The cloud manager then selects a host computer system for the VM taking the hardware multithreading parameter into consideration. The VM is then placed on the selected host computer system using the hardware
multithreading parameter.
[00022] According to one embodiment, a cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and whether or not the CPUs have split core enabled. The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system. The cloud manager then selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings. The VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine. [00023] The foregoing and other features and advantages will be apparent from the following more particular description, as illustrated in the accompanying drawings.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAW IN(,(S)
[00024] Embodiments of the present invention will be described, by way of example only, and with reference to the following drawings. Like designations denote like elements:
[00025] FIG. 1 is a block diagram of a cloud computing node in accordance with a preferred embodiment of the present invention;
[00026] FIG. 2 is a block diagram of a cloud computing environment in accordance with a preferred embodiment of the present invention;
[00027] FIG. 3 is a block diagram of abstraction model layers in accordance with a preferred embodiment of the present invention;
[00028] FIG. 4 is a block diagram showing some features of a cloud manager in accordance with a preferred embodiment of the present invention;
[00029] FIG. 5 is a block diagram showing some features of a cloud VM request in accordance with a preferred embodiment of the present invention;
[00030] FIG. 6 is a flow diagram of a method for a cloud manager to log available resources on potential host computer systems in accordance with a preferred embodiment of the present invention;
[00031 ] FIG. 7 is a flow diagram of a method for a cloud manager to provision a VM on a host computer system in accordance with a preferred embodiment of the present invention;
[00032] FIG. 8 is a block diagram of a prior art x86 dual core CPU;
[00033] FIG. 9 is a flow diagram of a prior art method for a cloud manager to select a host for a VM request;
[00034] FIG. 10 is a block diagram showing how CPU requirements are specified in a prior art cloud VM request;
[00035] FIG. 11 is a block diagram of a potential host computer system showing three x86 dual core processors in accordance with a preferred embodiment of the present invention;
[00036] FIG. 12 is a block diagram showing virtual machines that include vCPUs that can be allocated to the potential host in FIG. 11 in accordance with a preferred embodiment of the present invention; [00037] FIG. 13 is a flow diagram of a prior art method for placing vCPUs on physical cores in a host computer system;
[00038] FIG. 14 is a block diagram showing architecture of a Power8 six core CPU, showing two of the six cores in accordance with a preferred embodiment of the present invention;
[00039] FIG. 15 is a flow diagram of a method for using a hardware multithreading parameter to select a host and to control placement for vCPUs on the host in accordance with a preferred embodiment of the present invention;
[00040] FIG. 16 is a sample CPU requirement that includes number of vCPUs and a hardware multithreading parameter in accordance with a preferred embodiment of the present invention;
[00041] FIG. 17 is a first sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention;
[00042] FIG. 18 shows a potential Power8 host that satisfies the CPU requirement in FIG.
17 in accordance with a preferred embodiment of the present invention;
[00043] FIG. 19 shows a second sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention;
[00044] FIG. 20 shows a potential Power8 host that satisfies the CPU requirement in FIG.
19 in accordance with a preferred embodiment of the present invention;
[00045] FIG. 21 shows a third sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention;
[00046] FIG. 22 shows a potential Power8 host that satisfies the CPU requirement in FIG.
21 in accordance with a preferred embodiment of the present invention;
[00047] FIG. 23 shows a fourth sample CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention;
[00048] FIG. 24 shows a potential Power8 host that satisfies the CPU requirement in FIG.
23 in accordance with a preferred embodiment of the present invention;
[00049] FIG. 25 is a flow diagram of a method for selecting a host that satisfies a CPU requirement that includes a hardware multithreading parameter in accordance with a preferred embodiment of the present invention; [00050] FIG. 26 is a flow diagram of a method for placing vCPUs on a selected host computer system using a hardware multithreading parameter;
[00051] FIG. 27 is a block diagram showing a host-level statistic gathered for each potential host in accordance with a preferred embodiment of the present invention; and
[00052] FIG. 28 is a block diagram showing an extra specification that could be implemented in an OpenStack flavor to specify the hardware multithreading parameter in accordance with a preferred embodiment of the present invention.
[00053] FIG. 29 is a flow diagram of a method for performing a resize operation on an existing VM that may include a hardware multithreading parameter.
[00054] FIG. 30 is a block diagram showing architecture of a Power8 six core CPU with split core enabled showing two of the six cores;
[00055] FIG. 31 is a sample CPU requirement that includes number of vCPUs and a hardware multithreading parameter;
[00056] FIG. 32 is a first sample CPU requirement that includes a hardware multithreading parameter;
[00057] FIG. 33 shows a potential Power8 host that satisfies the CPU requirement in FIG. 32;
[00058] FIG. 34 shows a second sample CPU requirement that includes a hardware multithreading parameter;
[00059] FIG. 35 shows a potential Power8 host that satisfies the CPU requirement in FIG. 34;
[00060] FIG. 36 shows a third sample CPU requirement that includes a hardware multithreading parameter;
[00061] FIG. 37 shows a potential Power8 host that satisfies the CPU requirement in FIG.
36;
[00062] FIG. 38 shows a fourth sample CPU requirement that includes a hardware multithreading parameter;
[00063] FIG. 39 shows a potential Power8 host that satisfies the CPU requirement in FIG. 38; [00064] FIG. 40 is a flow diagram of a method for selecting a host that satisfies a CPU requirement that includes a hardware multithreading parameter and that accounts for when a host has split cores;
[00065] FIG. 41 is a block diagram showing a filter that can be used to filter out hosts that have split core mode enabled when the hardware multithreading parameter is set to 4 or 8; and [00066] FIG. 42 is a flow diagram of a method for placing vCPUs on a selected host computer system using a hardware multithreading parameter and that accounts for when a host has split cores.
DETAILED DESCRIPTION
[00067] A cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and whether or not the CPUs have split core enabled. . The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system (or in one embodiment, the amount of hardware multithreading required on the host computer system). The cloud manager then selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings. The VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine.
[00068] It is understood in advance that although this disclosure includes a detailed description on cloud computing, implementation of the teachings recited herein are not limited to a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
[00069] Cloud computing is a model of service delivery for enabling convenient, on- demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[00070] Characteristics are as follows:
On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
[00071 ] Service Models are as follows:
Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client devices through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud
infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
[00072] Deployment Models are as follows:
Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises. Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for loadbalancing between clouds). [00073] A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
[00074] Referring now to FIG. 1 , a block diagram of an example of a cloud computing node is shown. Cloud computing node 100 is only one example of a suitable cloud computing node and is not intended to suggest any limitation as to the scope of use or functionality of embodiments of the invention described herein. Regardless, cloud computing node 100 is capable of being implemented and/or performing any of the functionality set forth
hereinabove.
[00075] In cloud computing node 100 there is a computer system/server 110, which is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 110 include, but are not limited to, personal computer systems, server computer systems, tablet computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices, and the like.
[00076] Computer system/server 110 may be described in the general context of computer system executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 110 may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices. [00077] As shown in FIG. 1 , computer system/server 110 in cloud computing node 100 is shown in the form of a general-purpose computing device. The components of computer system/server 110 may include, but are not limited to, one or more processors or processing units 120, a system memory 130, and a bus 122 that couples various system components including system memory 130 to processing unit 120.
[00078] Bus 122 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[00079] Computer system/server 110 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 1 10, and it includes both volatile and non-volatile media, removable and nonremovable media. An example of removable media is shown in FIG. 1 to include a Digital Video Disc (DVD) 192.
[00080] System memory 130 can include computer system readable media in the form of volatile or non-volatile memory, such as firmware 132. Firmware 132 provides an interface to the hardware of computer system/server 1 10. System memory 130 can also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 134 and/or cache memory 136. Computer system/server 110 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 140 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive"). Although not shown, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 122 by one or more data media interfaces. As will be further depicted and described below, memory 130 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions described in more detail below.
[00081 ] Program/utility 150, having a set (at least one) of program modules 152, may be stored in memory 130 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may include an implementation of a networking environment. Program modules 152 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
[00082] Computer system/server 1 10 may also communicate with one or more external devices 190 such as a keyboard, a pointing device, a display 180, a disk drive, etc.; one or more devices that enable a user to interact with computer system/server 110; and/or any devices (e.g., network card, modem, etc.) that enable computer system/server 110 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 170. Still yet, computer system/server 110 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 160. As depicted, network adapter 160 communicates with the other components of computer system/server 110 via bus 122. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 1 10. Examples, include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Array of Independent Disk (RAID) systems, tape drives, data archival storage systems, etc.
[00083] Referring now to FIG. 2, illustrative cloud computing environment 200 is depicted. As shown, cloud computing environment 200 comprises one or more cloud computing nodes 100 with which local computing devices used by cloud consumers, such as, for example, personal digital assistant (PDA) or cellular telephone 21 OA, desktop computer 21 OB, laptop computer 210C, and/or automobile computer system 21 ON may communicate. Nodes 100 may communicate with one another. They may be grouped (not shown) physically or virtually, in one or more networks, such as Private, Community, Public, or Hybrid clouds as described hereinabove, or a combination thereof This allows cloud computing
environment 200 to offer infrastructure, platforms and/or software as services for which a cloud consumer does not need to maintain resources on a local computing device. It is understood that the types of computing devices 210A-N shown in FIG. 2 are intended to be illustrative only and that computing nodes 100 and cloud computing environment 200 can communicate with any type of computerized device over any type of network and/or network addressable connection (e.g., using a web browser).
[00084] Referring now to FIG. 3, a set of functional abstraction layers provided by cloud computing environment 200 in FIG. 2 is shown. It should be understood in advance that the components, layers, and functions shown in FIG. 3 are intended to be illustrative only and the disclosure and claims are not limited thereto. As depicted, the following layers and corresponding functions are provided.
[00085] Hardware and software layer 310 includes hardware and software components. Examples of hardware components include mainframes, in one example IBM® System z® systems; RISC (Reduced Instruction Set Computer) architecture based servers, in one example IBM System p® systems; IBM System x systems; IBM BladeCenter systems; storage devices; networks and networking components. Examples of software components include network application server software, in one example IBM WebSphere® application server software; and database software, in one example IBM DB2® database software. IBM, System z, System p, WebSphere, and DB2 are trademarks of International Business Machines
Corporation registered in many jurisdictions worldwide.
[00086] Virtualization layer 320 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers; virtual storage; virtual networks, including virtual private networks; virtual applications and operating systems; and virtual clients. [00087] In one example, management layer 330 may provide the functions described below. Resource provisioning provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal provides access to the cloud computing environment for consumers and system administrators. Service level management provides cloud computing resource allocation and management such that required service levels are met. Service Level
Agreement (SLA) planning and fulfillment provides pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA. A cloud manager 350 is representative of a cloud manager as described in more detail below. While the cloud manager 350 is shown in FIG. 3 to reside in the management layer 330, cloud manager 350 can span all of the levels shown in FIG. 3.
[00088] Workloads layer 340 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation; software development and lifecycle management; virtual classroom education delivery; data analytics processing; transaction processing; and mobile desktop.
[00089] The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
[00090] The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a readonly memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
[00091] Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
[00092] Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform embodiments of the present invention.
[00093] Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
[00094] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for
implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks. [00095] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
[00096] The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
[00097] FIG. 4 shows one suitable example of the cloud manager 350 shown in FIG. 3. The cloud manager 350 includes a cloud provisioning mechanism 410 that includes a resource request interface 420. The resource request interface 420 allows a software entity to request virtual machines from the cloud manager 350 without human intervention. The cloud manager 350 also includes a user interface 430 that allows a user to interact with the cloud manager to perform any suitable function, including provisioning of VMs, destruction of VMs, performance analysis of the cloud, etc. The difference between the resource request interface 420 and the user interface 430 is a user must manually use the user interface 430 to perform functions specified by the user, while the resource request interface 420 may be used by a software entity to request provisioning of cloud resources by the cloud mechanism 350 without input from a human user.
[00098] The cloud manager 350 also includes a host monitor mechanism 440 that monitors resources available on potential host computer systems so the cloud manager 350 can compared specified resources for a VM with available resources on a potential host computer system. A host selection mechanism 450 allows selecting a potential host computer system based on comparing the specified resources for a requested VM with available resources on potential host computer systems. The vCPU placement mechanism 460 places vCPUs on a selected host computer system using the hardware multithreading parameter. A VM resize mechanism 470 allows resizing existing VMs in a way that uses a hardware multithreading parameter, even when the original VM did not use a hardware multithreading parameter.
[00099] FIG. 5 shows one suitable example of a cloud VM request 510 that could be submitted via the resource request interface 420 or via the user interface 430 on the cloud provisioning mechanism 410 in FIG. 4 to request a VM be provisioned by the cloud manager 350. Cloud VM request 510 can include any specification of requirements for needed resources on the VM. Examples of suitable requirements include memory requirement 520, disk requirement 530, and CPU requirement 540. The memory requirement 520 specifies the amount of memory needed for the VM. The disk requirement 530 specifies the amount of disk needed for the VM. The CPU requirement 540 specifies the number of virtual CPUs needed for the VM, and can also specify a hardware multithreading parameter, as discussed in more detail below. Of course, other requirements not shown in FIG. 5 could be specified for a VM, such as network requirement and any other suitable requirement. In the prior art, OpenStack uses something called a "flavor" as a cloud VM request, which specifies the minimum requirements for resources on a VM.
[000100] Referring to FIG. 6, a method 600 is preferably performed by the host monitor mechanism 440 in FIG. 4 to monitor available resources on potential host computer systems. Available resources on potential host computer systems are determined (step 610), and are logged (step 620). One known way to implement method 600 uses a driver that queries a host to determine its available resources.
[000101] Referring to FIG. 7, a method 700 begins by receiving a cloud VM request (step 710). The resource requirements in the cloud VM request are then compared with available resources on potential host computer systems (step 720). Note the available resources in step 720 could be read from the log created in step 620 in FIG. 6. A host is then selected that has resources that satisfy the resource requirements in the cloud VM request (step 730). The VM is then deployed on the selected host computer system (step 740).
[000102] Many modern processors (or CPUs) include multiple processing cores. One example of a multi-core processor is an x86 dual core CPU 810 shown in FIG. 8. The x86 dual core CPU 810 includes a first core 820 that has two hardware threads 822 and 824, and a second core 840 that has two hardware threads 842 and 844. The existence of multiple hardware threads on each core can create challenges in provisioning a VM to a host computer system. In the prior art, the number of hardware threads in a multi-core CPU is typically ignored, with only the physical cores being taken into consideration. For example, prior art method 900 in FIG. 9 reads the cloud VM request (step 910), then selects a host that hast a number of physical cores that satisfy the number of vCPUs in the cloud VM request (step 920). A prior art CPU requirement 1010 as shown in FIG. 10 specifies the number of virtual CPUs (vCPUs) in a VM, and is one suitable example for the CPU requirement 540 shown in FIG. 5. Because method 900 only uses physical cores when selecting a host for a VM, the multiple hardware threads on the cores will be underutilized, thereby not taking advantage of available CPU resources. In other prior art, when hyperthreading of the host is enabled, the number of hardware threads is taken into consideration and placement of vCPUs to hardware threads is performed without regard to physical cores. This approach can lead to inefficient VMs since some workloads benefit from leveraging threads on different cores while other are better served by threads for the same core.
[000103] Step 920 in FIG. 9 may include any suitable criteria or heuristic for selecting a host computer system that satisfies a VM request. For example, the number of physical cores could be increased by some overcommit ratio, such as 2.0. Thus, if a host has three physical cores available, multiplying the three physical cores by the 2.0 overcommit ratio will result in available processors of 6, which means a VM that requires six vCPUs could be deployed on the host but a VM that requires seven vCPUs could not. A simple example will illustrate.
[000104] FIG. 11 represents a sample potential host computer system that includes three dual core x86 CPUs. We assume this host already has VMl shown in FIG. 12 running on it, which was deployed to the two physical cores in CPUl and the first of the two physical cores in CPU2, as shown by the shading in those cores in FIG. 12. We further assume VM2 shown in FIG. 12 needs to be deployed. The number of available cores is determined, which for the example in FIG. 11 is nine, namely the six cores multiplied by the overcommit ratio of 2 minus the three cores used by VMl in Potential Host 1 shown in FIG. 11. Because VM2 needs two vCPUs, and Potential Host 1 has 9 available cores, Potential Host 1 is a valid potential host for VM2 shown in FIG. 12.
[000105] Note the actual placement of vCPUs onto a potential host is a separate step from selecting the potential host for the VM. Referring to FIG. 13, method 1300 starts by reading the cloud VM request (step 1310). The vCPUs in the cloud VM request are then placed on physical cores (step 1320). In FIG. 11, thread Tl of the first and second cores of CPUl and the first core of CPU2 are shaded to indicate the three vCPUs in VMl shown in FIG. 12 have been placed on these three corresponding cores. Note, however, the placement is not static. At different times, a vCPU could be running on any of the hardware threads on any of the active cores. With hyperthreading, there are a total of twelve hardware threads in the three dual-cores allocated. VMl takes 3 of these threads leaving 9 for other VMs. However, the vCPUs are allocated to any of the threads which may mean that work running in operating system threads that share memory would best be run in hardware threads of the same vCPU while work running in operating system threads that are independent are better run in hardware threads in different cores. Therefore, prior art creates inefficiencies in the way potential hosts are identified for a VM and in the way VMs run on a selected host because the allocation of VMs to potential hosts does not currently account for the differences between hardware threads and cores on CPUs. [000106] The prior art recognizes either a physical processor core or a hardware thread but not both as the entity to which a virtual CPU can be deployed. Without hyperthreading, a single dual core CPU as shown in FIG. 8 has two available CPUs in the form of its two physical cores 820 and 840 to which vCPUs can be deployed. With hyperthreading, a single dual core CPU could support more vCPUs; however, whether the vCPUs are run by hardware threads on the same physical core or different cores is not deterministic. The disclosure and claims herein create a finer level of granularity, recognizing that vCPUs need to be allocated to multiple hardware threads, not just to a single physical core or a single hardware thread.
[000107] The problem of vCPUs being allocated to either a single hardware thread or core is exacerbated when the number of hardware threads is increased. For the x86 dual core CPUs shown in FIGS. 8 and 11, hyperthreading results in two threads per core. For processors with more hardware threads, the problem becomes more pronounced. For example, a Power8 6 Core CPU 1410 is shown in FIG. 14 to include a first core 1420 that includes eight hardware threads 1432, 1434, 1436, 1438, 1442, 1444, 1446 and 1448, and a second core 1450 that also includes eight hardware threads 1462, 1464, 1466, 1468, 1472, 1474, 1476 and 1478. The four other cores are not shown in FIG. 14, but are similar to the two cores shown. When a host is selected based on the number of physical cores as shown in prior art method 900 in FIG. 9, many of the hardware threads will be unused. Thus, if two vCPUs were deployed to the two cores 1420 and 1450 shown in FIG. 14, the result would be wasting seven of the eight hardware threads on each core. The net result is that only two of the sixteen threads for the two cores will be used at any given point in time, which is a waste of fourteen of the sixteen hardware threads. This means that only two out of sixteen (12.5%) of the available processing resources on two of the Power8 cores can be utilized using the prior art method 900 shown in FIG. 9. Alternatively, if vCPUs are allocated to a hardware thread when there are many hardware threads per core, VMs with workloads that require a high degree of parallelism and shared memory will get better performance by being located on the same physical core as other vCPUs for that VM rather than spread across many physical cores.
[000108] To avoid the problem of so many unused threads or vCPUs spread across physical cores as described above with reference to FIG. 14, a new way to identify potential hosts and deploy VMs takes hardware threads into account using a hardware multithreading parameter in the cloud VM request based on the principle that a vCPU could be allocated to multiple hardware threads within a physical core instead of just a physical core or single hardware thread. This is done using a new parameter in the cloud VM request that relates to hardware multithreading. For the specific examples herein, this hardware multithreading parameter is referred to as an "SMT" parameter, which stands for Symmetric Multithreading, which is a known term in the art for describing hardware multithreading on CPUs. Referring to FIG. 15, method 1500 begins by using an SMT parameter in the cloud VM request, along with, in one embodiment, information on hosts regarding the number of hardware threads per core and split core settings, to select a host computer system (step 1510). Once the host computer system has been selected, the same SMT parameter in the cloud VM request can be used to make placement decisions for vCPUs when deploying the VM on the selected host (step 1520). In one embodiment, information on the host regarding the number of hardware threads per core and split core settings can also be used to make placement decisions for vCPUs when deploying the VM on the selected host (step 1520).
[000109] FIG. 10 shows a prior art CPU requirement 1010 for a cloud VM request includes specifying the number of vCPUs 1020 needed on the VM. A cloud VM 'request 1610 shown in FIG. 16 in accordance with the disclosure and claims herein includes the number of vCPUs 1620, but additionally includes a hardware multithreading (SMT) parameter 1630. The value of the SMT parameter can be zero, indicating that hardware multithreading is turned off, or can be a power of 2 number representing the number of hardware threads. Some examples will illustrate. Referring to FIG. 17, a CPU requirement 161 OA is one suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 2 vCPUs 1720 and the SMT parameter with a value of two 1730. For a potential host that has a Power8 6 core CPU 1410 as shown in FIG. 14, the potential host will have one core with two threads used, resulting in six unused threads, as shown in FIG. 18.
[0001 10] A second CPU requirement 1610B in FIG. 19 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 2 vCPUs 1920 and the SMT parameter with a value at 1930 that indicates hardware multithreading is turned off. With hardware multithreading turned off, for a potential host that has a Power8 6 core CPU 1410 as shown in FIG. 14, the potential host will have two cores with one thread in each core used, resulting in fourteen unused threads in the two cores, as shown in FIG. 20. Note that the net result of the potential host for the CPU requirement 161 OB in FIG. 19 with the SMT parameter turned off is the same as the prior art CPU requirement 1010 shown in FIG. 10, when hyperthreading is disabled because the prior art CPU requirement 1010 does not take into account any hardware multithreading when host hyperthreading is disabled. In prior art, if hyperthreading is enabled, it is not predictable which core's hardware threads would process the vCPU. By specifying a value for the hardware multithreading parameter that takes hardware multithreading into account, the number of unused hardware threads on a potential host can be reduced and which vCPUs are run on the same core can be controlled.
[000111 ] The examples in FIGS. 16-19 show how the hardware multithreading parameter gives more control over how vCPUs are deployed. For example, if a VM with 2 vCPUs will run jobs that operate on the same data, it may be desirable for the 2 vCPUs to be deployed to two different hardware threads in the same core, as shown in the example in FIGS. 17 and 18, because the two threads running on the same core will have very high-performance access to cache memory available to the core. If a VM with 2 vCPUs will run jobs that are independent of each other, it may be desirable for the 2 vCPUs to be deployed to two different cores, as shown in the example in FIGS. 19 and 20.
[000112] A third CPU requirement 1610C in FIG. 21 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 8 vCPUs 2120 and the SMT parameter with a value of 8 at 2130. For a potential host that has a Power8 6 core CPU 1410 as shown in FIG. 14, the potential host will have one core with all eight threads used, resulting in no unused threads, as shown in FIG. 22.
[000113] A fourth CPU requirement 1610D in FIG. 23 is another suitable example for the CPU requirement 1610 shown in FIG. 16, and includes 12 vCPUs 2320 and the SMT parameter with a value of 4 at 2330. For a potential host that has a Power8 6 core CPU 1410 as shown in FIG. 14, the potential host will have three cores with four threads used in each core, resulting in twelve unused threads, as shown in FIG. 24. These simple examples show how specifying a hardware multithreading parameter in selecting a host computer system provides control over how the vCPUs are deployed to the host computer system.
[000114] Note the examples shown in FIGS. 17-24 assume a vCPU can be deployed to each available thread. The discussion above with respect to FIGS. 9-12 discusses an "overcommit ratio" to increase the number of CPUs by some amount. A similar overcommit ratio could be applied in selecting a host computer system in accordance with the disclosure and claims herein.
[000115] Referring to FIG. 25, a method 2500 selects a host when a hardware
multithreading parameter is specified, as shown in FIGS. 16, 17, 19, 21 and 23. The cloud VM request is read (step 2510). When the SMT parameter is OFF (step 2520=YES), a host that has a number of physical cores that satisfies the number of vCPUs in the cloud VM request is selected (step 2530). Note that step 2530 is similar to step 920 in prior art method 900 in FIG. 9. When the SMT parameter is ON (step 2520=NO), a host is selected that has a number of threads per core that satisfies the number in the SMT parameter and a number of cores that satisfies the number of vCPUs in the cloud VM request divided by the number of threads specified in the SMT parameter (step 2540). This is one specific way to select a host that has a number of hardware threads that satisfies the number of vCPUs in the cloud VM request. Method 2500 is then done.
[000116] Once a host computer system has been selected, the vCPUs for the VM can be placed on the selected host. Referring to FIG. 26, method 2600 begins when vCPUs need to be placed on the selected host (step 2610). When the SMT parameter is off (step 2620=YES), each vCPU is placed on a different physical core (step 2630). When the SMT parameter is on (step 2620=NO), vCPUs can be placed on different hardware threads on the same physical core (step 2640). Method 2600 is then done.
[000117] With a hardware multithreading parameter in the cloud VM request, the cloud manager must know not only the number of physical cores in CPUs in a potential host, but must also know the number of threads supported by the CPUs in the potential host. This is to ensure that a single core of the host can support the number of threads specified for the cloud VM request. Referring again to FIG. 6, this means determining the available resources in step 610 not only includes determining available CPU cores, but whether multiple threads on these CPU cores are available as well. One way to accomplish this is to collect as part of the available resources in step 610 in FIG. 6 the maximum SMT setting supported by the host computer system. One example of this is shown in FIG. 27, where max guest smt represents a value gathered by the host monitor mechanism 440 in FIG. 4 to indicate whether a potential host computer system supports hardware multithreading or not. The possible values of the max_guest_smt are zero, which indicates SMT is turned off on the host computer system, and power of 2 number which indicates the number of hardware threads available on each CPU. When all of the CPUs in a host computer system are of the same type, the max_guest_smt will be a single value that applies to all of the CPUs in the host computer system. When the host computer system includes CPUs of different types that include different numbers of hardware threads, there could be a different max guest smt value for each CPU in the host computer system.
[000118] OpenStack currently does not have any existing support to help specify the desired topology of the guest CPU. One way to implement the addition of a hardware multithreading parameter discussed herein is to add an additional specification to an OpenStack flavor as shown in FIG. 28. A parameter powerkvm:smt is a new parameter in an OpenStack flavor that specifies a desired SMT value for a guest VM. Note the possible values of this parameter are -1 , indicating "don't care"; zero, which indicates that SMT is off; or some power of 2 number. By including the ability to gather information regarding hardware multithreading on potential hosts in the max_guest_smt setting, and the ability to specify a desired level of hardware multithreading in the OpenStack flavor, the disclosure and claims herein provide a much improved way to select potential host computer systems on which to deploy VMs and to deploy those VMs in a way that takes better advantage of the hardware multithreading capabilities of the host computer systems, thereby improving utilization of CPU resources on the host computer systems. [000119] The hardware multithreading parameter discussed herein can also be used in a VM resizing operation. Sometimes a VM needs to have more or less resources, so it can be resized to add or decrease resources deployed to the VM. One suitable way to resize a VM is by specifying an OpenStack flavor that changes the resource allocation to the VM. When resizing a VM, the OpenStack flavor may have the powerkvm:smt parameter discussed above and shown in FIG. 28. FIG. 29 shows a method 2900 for resizing a VM that is preferably performed by the VM resize mechanism 470 shown in FIG. 4. A flavor for the resize operation of an existing VM is read (step 2910). The flavor referred to in step 2910 is the flavor with the new (i.e., resized) allocation of resources to the VM. When the flavor does not includes the SMT parameter (step 2920=NO), the SMT parameter of the VM is set to OFF (step 2930). When the flavor includes the SMT parameter (step 2920= YES), when the value of the SMT parameter is OFF or "don't care" (step 2940=YES), the SMT parameter of the VM is set to OFF (step 2930). When the SMT in the flavor has a power of 2 value (step 2940=NO), the SMT parameter of the VM is set to the value of the SMT specified in the flavor (step 2950). Method 2900 is then done. Method 2900 allows a way to essentially "retrofit" existing VMs to use the SMT parameter.
[000120] The Power8 6 core CPU supports subcores, which means the eight threads in each core may be are split into subcores of two threads each when split core is enabled. A Power8 6 core CPU 3010 with split core enabled is shown in FIG. 30 to include a first core 3020 divided into four subcores 3022, 3024, 3026 and 3028, and a second core 3050 divided into four subcores 3052, 3054, 3056 and 3058. The four other cores are not shown in FIG. 30, but are similar to the two cores shown. Each subcore has two hardware threads, as shown in FIG.
30. By dividing each core into subcores, the subcores can be allocated to virtual machines instead of the cores, which results in saving a significant number of unused hardware threads.
[000121] When spit core hosts are present, it would be advantageous for the cloud manager to be able to determine whether a host for a VM supports split cores or not. Referring to FIG.
31, a CPU requirement 3110 is preferably part of a cloud VM request 510 shown in FIG. 5. The CPU requirement 3110 specifies a number of vCPUs 3120 and a hardware multithreading parameter 3130. Examples follow that illustrate how split cores affect selection of a host and placement of vCPUs on that host.
[000122] Referring to FIG. 32, a CPU requirement 3110A is one suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 2 vCPUs 3220 and the SMT parameter with a value of two 3230. For a potential host that has a Power8 6 core CPU 3010 with split core enabled as shown in FIG. 30, the potential host will have one subcore with two threads used, resulting in three subcores that may be used by other VMs, as shown in FIG. 33.
[000123] A second CPU requirement 31 10B in FIG. 34 is another suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 2 vCPUs 3420 and the SMT parameter with a value set to OFF at 3430. With hardware multithreading turned off, for a potential host that has a Power8 6 core CPU 3010 with split core enabled as shown in FIG. 30, the potential host will have two subcores with one thread in each subcore used, resulting in one unused threads in each subscore, and two subscores that may be used by other VMs, as shown in FIG. 35.
[000124] A third CPU requirement 3110C in FIG. 36 is another suitable example for the CPU requirement 3110 shown in FIG. 31 , and includes 8 vCPUs 3620 and the SMT parameter with a value of two at 3630. With the hardware multithreading parameter having a value of 2, for a potential host that has a Power8 6 core CPU 3010 with split core enabled as shown in FIG. 30, the potential host will have four subcores with two threads in each subcore used, resulting in no threads unused, as shown in FIG. 37. In one specific implementation, all eight vCPUs can be placed on all eight threads (four subcores) of the same physical core. Of course, in the alternative, the four subcores in FIG. 37 could be placed on two or more physical cores.
[000125] A fourth CPU requirement 3 HOD in FIG. 38 is another suitable example for the CPU requirement 31 10 shown in FIG. 31 , and includes 12 vCPUs 3820 and the SMT parameter with a value of two at 3830. With the hardware multithreading parameter having a value of 2, for a potential host that has a Power8 6 core CPU 3010 with split core enabled as shown in FIG. 30, the potential host will have six subcores with two threads in each subcore used, and no threads of any subcore unused, as shown in FIG. 39. In one specific
implementation, eight of the twelve vCPUs can be placed on all eight threads (four subcores) of the same physical core, and the remaining four vCPUs can be placed four threads in two subcores in a different physical core. Of course, in the alternative, the six subcores in FIG. 39 could be placed on three or more physical cores.
[000126] All of the examples of CPU requirements in FIGS. 32, 34, 36 and 38 are for the case when the host has split cores enabled. When the host has split core disabled, the result is similar to the examples shown in FIGS. 17-24 discussed in detail above, with the exception that the hosts would have a setting that split core is disabled.
[000127] The examples in FIGS. 32, 36 and 38 all have an SMT parameter with a value of two. Because a Power8 subcore includes two threads, specifying two threads in the SMT parameter provides the most efficient placement of vCPUs on a Power8 CPU. Note, however, the SMT parameter could be greater than the number of threads on a subcore. For example, if the SMT parameter at 3630 in FIG. 36 were set to a value of four, hosts with subcores of two threads will not satisfy the request. Therefore, hosts without split cores are not potential hosts when the SMT setting exceeds the number of threads for a subcore.
[000128] Referring to FIG. 40, a method 4000 shows selection of a host computer system using a cloud VM request that includes a hardware multithreading parameter that takes into consideration whether split core is enabled on the host computer system. Method 4000 is preferably performed by the host selection mechanism 450 shown in FIG. 4. A cloud VM request is read (step 4010). When SMT is OFF (step 4020=YES) and a potential host has split core enabled (step 4030=YES), the potential host may be selected is if has a number of subcores that satisfy the number of vCPUs in the cloud VM request (step 4040). When SMT is OFF (step 4020=YES) and the potential host is has split core disabled (step 4030=NO), the potential host may be selected if it has a number of physical cores that satisfy the number of vCPUs in the cloud VM request (step 4050). When SMT is ON (step 4020=NO) and the potential host has split core enabled (step 4060= YES), the potential host may be selected if the number of hardware threads for the subcore can satisfy the number of hardware threads specified in the SMT parameter and the number of subcores can satisfy the number of vCPUs in the cloud VM request divided by the number of hardware threads specified in the SMT parameter (step 4070). When SMT is ON (step 4020=NO) and the potential host has split core disabled (step 4060=NO), the potential host may be selected if the number of hardware threads for the core can satisfy the number of hardware threads specified in the SMT parameter and if the number of physical cores can satisfy the number of vCPUs in the cloud VM request divided by the number of hardware threads specified in the SMT parameter (step 4080). Note that method 4000 is preferably repeated for each potential host, which can result in a pool of potential hosts, from which one of the hosts may be selected using any suitable criteria or heuristic. For example, a host that has split cores enabled may be selected over a host that has split cores disabled when the VM request results in a more efficient usage of CPU cores and threads. Method 4000 illustrates how a hardware multithreading parameter and information from the host regarding the split core settings and hardware threads per core gives better control over selection of a host computer system that will result in more efficient placement of vCPUs.
[000129] Referring to FIG. 41 , a filter PowerKVMSMTFilter can be used so the cloud manager filters out hosts that have split core mode enabled when a VM is requested with SMT=4 or SMT=8. This filter can help the cloud manager to more quickly narrow down the number of potential hosts for a VM.
[000130] Referring to FIG. 42, a method 4200 begins when vCPUs need to be placed on a selected host (step 4210). Method 4200 is preferably performed by the vCPU placement mechanism 460 shown in FIG. 4. When SMT is OFF (step 4220=YES) and split core is enabled on the host (step 4230= YES), the vCPUs are placed on different subcores (step 4240). When SMT is OFF (step 4220= YES) and split core is disabled on the host (step 4230=NO), the vCPUs are placed on different physical cores (step 4250). When SMT is ON (step 4220=NO) and split core is enabled on the host (step 4260=YES), the vCPUs are placed on threads of the subcores (step 4270). When SMT is ON (step 4220=NO) and split core is disabled on the host (step 4260=NO), the vCPUs are placed on threads of the same physical core (step 4280). Note that if the number of vCPUs exceeds the number of threads in a physical core, the vCPUs will be placed on a number of cores that provide the needed number of hardware threads for all the vCPUs. Method 4200 illustrates how specifying a hardware multithreading parameter and using information on the split core settings gives better control over the placement of vCPUs on host computer systems.
[000131 ] To be able to place VMs considering split core and a hardware multithreading parameter in the cloud VM request, the cloud manager must know not only the number of physical cores in CPUs in a potential host, but must also know the number of threads supported by the CPUs in the potential host and whether split core is enabled or not on the potential host. Referring again to FIG. 6, this means determining the available resources in step 610 not only includes determining available CPU cores, but whether multiple threads on these CPU cores are available as well, and whether split core is enabled on these cores. One way to accomplish this is to collect as part of the available resources in step 610 in FIG. 6 whether split core is enabled on the potential host computer system.
[000132] A cloud manager monitors available resources on host computer systems, including a number of hardware threads supported by CPUs on the host computer systems and in one embodiment whether or not the CPUs have split core enabled. The cloud manager receives a request to provision a virtual machine (VM) that includes a hardware
multithreading parameter that specifies whether hardware multithreading is allowed on the host computer system (or in one embodiment, the amount of hardware multithreading required on the host computer system). In one embodiment, the cloud manager then selects a host computer system for the VM taking the hardware multithreading parameter into consideration. In another embodiment, the cloud manager then selects a host computer system for the VM taking into consideration the hardware multithreading parameter, the hardware threads supported by the CPU, and the split core settings. The VM is then placed on the selected host computer system using the hardware multithreading parameter. The result is more efficient utilization of CPU resources in a host for a virtual machine. [000133] One skilled in the art will appreciate that many variations are possible within the scope of the claims. Thus, while the disclosure is particularly shown and described above, it will be understood by those skilled in the art that these and other changes in form and details may be made therein without departing from the spirit and scope of the claims.

Claims

1. An apparatus comprising:
at least one processor;
a memory coupled to the at least one processor;
a cloud manager residing in the memory and executed by the at least one processor, the cloud manager comprising:
a host monitor mechanism that determines number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed and that further determines number of hardware threads supported by each CPU on the plurality of host computer systems; and
a host selection mechanism that receives a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter, wherein the host selection mechanism selects one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request.
2. The apparatus of claim 1 further comprising:
a virtual CPU (vCPU) placement mechanism that uses the hardware multithreading parameter to place a plurality of virtual CPUs (vCPUs) on the selected host computer system.
3. The apparatus of claim 1, wherein the host monitor mechanism further determines whether split core is enabled for each CPU on the plurality of host computer systems, and wherein the host selection mechanism selects one of the plurality of host computer systems that includes in addition to a number of CPUs with a number of hardware threads that satisfy the VM request, split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
4. The apparatus of claim 3, further comprising a virtual CPU (vCPU) placement mechanism that uses the hardware multithreading parameter and the split core settings on the selected host computer system to place a plurality of virtual CPUs (vCPUs) on the selected host computer system.
5. The apparatus of any preceding claim, wherein a first value of the hardware multithreading parameter indicates hardware multithreading is turned off.
6. The apparatus of claim 5, as dependent on claim 2 or claim 3, wherein when the first value of the hardware multithreading parameter indicates hardware multithreading is turned off, the vCPU placement mechanism places each vCPU in the VM on a different physical core in the selected host computer system.
7. The apparatus of any preceding claim wherein a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads.
8. The apparatus of claim 7, as dependent upon claim 2 or 3, wherein when the second value of the hardware multithreading indicates a numerical value for a number of hardware threads, the vCPU placement mechanism places each vCPU in the VM on a different hardware thread in the selected host computer system.
9. The apparatus of any preceding claim, wherein a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system.
10. The apparatus of any preceding claim wherein the VM request further includes a memory requirement and a disk requirement.
11. The apparatus of any preceding claim wherein the host monitor mechanism further determines amount of memory and amount of disk space on each of the plurality of host computer systems.
12. The apparatus of claim 1 , wherein when the number of virtual CPUs in the VM request is greater than the value of the hardware multithreading parameter, the host selection mechanism selects the one of the plurality of host computer systems that includes a plurality of CPUs each having a plurality of hardware threads.
13. The apparatus of any preceding claim, as dependent upon claim 2, wherein the cloud manager further comprises a VM resize mechanism that resizes at least one VM using the hardware multithreading parameter.
14. A computer- implemented method executed by at least one processor for selecting a host computer system for deploying a virtual machine, the method comprising:
determining number of CPUs available on a plurality of host computer systems to which virtual machines could be deployed;
determining number of hardware threads supported by each CPU on the plurality of host computer systems;
receiving a virtual machine (VM) request that includes a number of virtual CPUs and a hardware multithreading parameter; and
selecting one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request.
15. The method of claim 14, further comprising:
using the hardware multithreading parameter to place the plurality of vCPUs on the selected host computer system.
16. The method of claim 14, further comprising:
determining whether each CPU on the plurality of host computer system has split core enabled, and if so, a number of subcores per core,
and wherein the selecting step comprising selecting in addition to one of the plurality of host computer systems that includes a number of CPUs with a number of hardware threads that satisfy the VM request, split core settings that satisfy the number of virtual CPUs and the hardware multithreading parameter in the VM request.
17. The method of claim 16 further comprising using the hardware multithreading parameter and the split core settings on the selected host computer system to place a plurality of virtual CPUs (vCPUs) on the selected host computer system.
18. The method of any of claims 14 to 17, wherein a first value of the hardware multithreading parameter indicates hardware multithreading is turned off.
19. The method of claim 14 as dependent upon claim 15 or claim 16, wherein when the first value of the hardware multithreading parameter indicates hardware multithreading is turned off, placing each vCPU in the VM on a different physical core in the selected host computer system.
20. The method of any of claims 14 to 19, wherein a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads.
21. The method of claim 20, as dependent upon claim 15 or 16, wherein when the second value of the hardware multithreading indicates a numerical value for a number of hardware threads, placing each vCPU in the VM on a different hardware thread in the selected host computer system.
22. The method of any of claims 14 to 21 , wherein a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system.
23. The method of any of claims 14 to 228, wherein the VM request further includes a memory requirement and a disk requirement.
24. The method of any of claims 14 to 239 wherein the host monitor mechanism further determines amount of memory and amount of disk space on each of the plurality of host computer systems.
25. The method of claim 14, wherein when the number of virtual CPUs in the VM request is greater than the value of the hardware multithreading parameter, selecting the one of the plurality of host computer systems that includes a plurality of CPUs each having a plurality of hardware threads.
26. The method of any of claims 15 to 26 as dependent upon claim 15, further comprising resizing the VM using the hardware multithreading parameter.
27. The method of claim 14 method comprising:
determining in addition to the number of CPUs an amount of memory, and amount of disk space available on a plurality of host computer systems to which virtual machines could be deployed,
wherein the virtual machine (VM) request further includes:
a memory requirement that specifies a minimum amount of memory for the VM; and a disk requirement that specifies a minimum amount of disk for the VM,
wherein a first value of the hardware multithreading parameter indicates hardware multithreading is turned off, a second value of the hardware multithreading parameter indicates a numerical value for a number of hardware threads, and a third value of the hardware multithreading parameter indicates the selected host computer system is selected without regard to whether hardware threading is turned on or off on the selected host computer system.
28. A computer program comprising program code means adapted to perform the method of any of claims 14 to 27 when said program is run on a computer.
PCT/IB2015/054229 2014-06-06 2015-06-04 Selecting a host for a virtual machine using a hardware multithreading parameter WO2015186088A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
GB1620786.2A GB2541340B (en) 2014-06-06 2015-06-04 Selecting a host for a virtual machine using a hardware multithreading parameter
JP2016570094A JP6628742B2 (en) 2014-06-06 2015-06-04 Method and apparatus for selecting a host for a virtual machine using hardware multithreading parameters
CN201580024412.1A CN106462446B (en) 2014-06-06 2015-06-04 Host is selected using hardware multithreading parameter for virtual machine
DE112015000216.2T DE112015000216T5 (en) 2014-06-06 2015-06-04 Select a host for a virtual machine using a hardware multithreading parameter
KR1020167033176A KR101884549B1 (en) 2014-06-06 2015-06-04 Selecting a host for a virtual machine using a hardware multithreading parameter

Applications Claiming Priority (12)

Application Number Priority Date Filing Date Title
US14/297,677 2014-06-06
US14/297,707 US9400672B2 (en) 2014-06-06 2014-06-06 Placement of virtual CPUS using a hardware multithreading parameter
US14/297,724 US9304805B2 (en) 2014-06-06 2014-06-06 Provisioning virtual CPUs using a hardware multithreading parameter in hosts with split core processors
US14/297,724 2014-06-06
US14/297,707 2014-06-06
US14/297,677 US9384027B2 (en) 2014-06-06 2014-06-06 Selecting a host for a virtual machine using a hardware multithreading parameter
US14/305,853 2014-06-16
US14/305,955 US9304806B2 (en) 2014-06-06 2014-06-16 Provisioning virtual CPUs using a hardware multithreading parameter in hosts with split core processors
US14/305,703 US9372705B2 (en) 2014-06-06 2014-06-16 Selecting a host for a virtual machine using a hardware multithreading parameter
US14/305,853 US9400673B2 (en) 2014-06-06 2014-06-16 Placement of virtual CPUS using a hardware multithreading parameter
US14/305,955 2014-06-16
US14/305,703 2014-06-16

Publications (1)

Publication Number Publication Date
WO2015186088A1 true WO2015186088A1 (en) 2015-12-10

Family

ID=54766240

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2015/054229 WO2015186088A1 (en) 2014-06-06 2015-06-04 Selecting a host for a virtual machine using a hardware multithreading parameter

Country Status (1)

Country Link
WO (1) WO2015186088A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871213A (en) * 2018-12-25 2019-06-11 武汉烽火信息集成技术有限公司 OpenStack containerization system and method based on Domestic Platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031559A1 (en) * 2011-07-27 2013-01-31 Alicherry Mansoor A Method and apparatus for assignment of virtual resources within a cloud environment
JP2013186654A (en) * 2012-03-07 2013-09-19 Ntt Docomo Inc Host providing system and host providing method
EP2645236A2 (en) * 2012-03-30 2013-10-02 Renesas Electronics Corporation Semiconductor device
EP2660714A2 (en) * 2012-05-01 2013-11-06 Renesas Electronics Corporation Semiconductor device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130031559A1 (en) * 2011-07-27 2013-01-31 Alicherry Mansoor A Method and apparatus for assignment of virtual resources within a cloud environment
JP2013186654A (en) * 2012-03-07 2013-09-19 Ntt Docomo Inc Host providing system and host providing method
EP2645236A2 (en) * 2012-03-30 2013-10-02 Renesas Electronics Corporation Semiconductor device
EP2660714A2 (en) * 2012-05-01 2013-11-06 Renesas Electronics Corporation Semiconductor device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109871213A (en) * 2018-12-25 2019-06-11 武汉烽火信息集成技术有限公司 OpenStack containerization system and method based on Domestic Platform

Similar Documents

Publication Publication Date Title
US9619274B2 (en) Provisioning virtual CPUs using a hardware multithreading parameter in hosts with split core processors
US10514960B2 (en) Iterative rebalancing of virtual resources among VMs to allocate a second resource capacity by migrating to servers based on resource allocations and priorities of VMs
US9639390B2 (en) Selecting a host for a virtual machine using a hardware multithreading parameter
US10606624B2 (en) Placement of virtual machines on physical hosts
US11099895B2 (en) Estimating and managing resource provisioning speed based on provisioning instruction
US20150256439A1 (en) Deploying operators of a streaming application based on physical location attributes of a virtual machine
US20170068555A1 (en) Operation-specific virtual machine placement constraints
US20150281312A1 (en) Deploying a portion of a streaming application to one or more virtual machines according to hardware type
US10613889B2 (en) Ordering optimization of host machines in a computing environment based on policies
US9619294B2 (en) Placement of virtual CPUs using a hardware multithreading parameter
JP6628742B2 (en) Method and apparatus for selecting a host for a virtual machine using hardware multithreading parameters
WO2015186088A1 (en) Selecting a host for a virtual machine using a hardware multithreading parameter
US20160191617A1 (en) Relocating an embedded cloud for fast configuration of a cloud computing environment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15803391

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 112015000216

Country of ref document: DE

ENP Entry into the national phase

Ref document number: 20167033176

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2016570094

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 201620786

Country of ref document: GB

Kind code of ref document: A

Free format text: PCT FILING DATE = 20150604

122 Ep: pct application non-entry in european phase

Ref document number: 15803391

Country of ref document: EP

Kind code of ref document: A1