Computer system, resource adjustment method and program

The described system optimizes resource allocation in cloud computing environments by using a trading agent and market processing section to manage resource sharing among tenants, addressing high costs and performance issues through a credit-based system, thereby enhancing efficiency and reducing operational expenses.

JP2024133845AActive Publication Date: 2024-10-03KK TOSHIBA

Patent Information

Application Number
JP2023043833
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03
Estimated Expiration
2043-03-20

AI Technical Summary

Technical Problem

Existing cloud computing environments face challenges in optimizing resource allocation among multiple tenants within a limited contract range, leading to high running costs and performance issues, particularly in multi-tenant environments where unexpected load fluctuations occur.

Method used

A computer system and method that includes a trading agent section and a resource trading market processing section to manage resource allocation and adjustment between tenants, using a credit-based system to facilitate resource sharing and optimize allocation based on priority and demand, with a focus on minimizing costs and maintaining performance.

Benefits of technology

The system effectively levels resource allocation, reduces running costs, and maintains performance by optimizing resource usage within the contracted range, allowing for flexible operation and efficient utilization of resources across tenants.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133845000001_ABST
    Figure 2024133845000001_ABST
Patent Text Reader

Abstract

To level out resources by optimizing resource allocation in a cloud computing environment within a limited contract scope, and to reduce running costs by minimizing the contract scope, under an environment where a plurality of tenants exist.SOLUTION: A trading agent unit in a computer system matches the securing and releasing of resources between tenants based on a resource securing request and a resource releasing request from each tenant, performs a lending process to change resource allocation to each tenant based on the matching result, and transmits the matching result to a resource trading market processing unit. The resource trading market processing unit performs an adjustment process for the balance of the resource lending and borrowing relation associated with the granting and receiving or lending of resource securing and releasing between the tenants associated with the matching based on the matching result.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a computer system, a resource adjustment method, and a program. [Background technology]

[0002] A platform provider is a business or company that provides a platform (marketplace) on the Internet. A platform refers to the "foundation or infrastructure environment" for "systems and services." Platform providers connect sellers and buyers through this platform, developing a variety of businesses. A characteristic of a platform is that the more users and participating companies there are, the more new users it attracts. At least several world-famous companies fit the category of platform providers.

[0003] When users use services through a platform, they are required to register their personal information. The huge amount of data (big data) collected through this is the strength of the platform operator, and by analyzing and utilizing this data in detail, it is possible to launch new business models one after another.

[0004] In recent years, a computing environment called cloud computing, which provides computer resources (hereafter referred to as resources) on demand according to user requests, has become widespread. Cloud computing can be categorized into the following types:

[0005] SaaS (Software as a Service) is also known as software as a service. All resources, from servers to applications, are provided via the cloud, and users only use those functions. The cloud service provider also handles operational management such as maintenance and updates of the resources provided. As SaaS offers a wide variety of services for both businesses and individuals, end users often have many opportunities to see it directly, and many business systems are available for businesses, contributing to improved business efficiency.

[0006] PaaS (Platform as a Service) is also known as a platform as a service. It is a platform for developing, testing, delivering, managing, and using applications. It provides infrastructure such as servers, storage, networks, operating systems, and databases, and provides an environment for running programs. By using PaaS, it is possible to devote resources solely to application development, and the applications used on PaaS are developed and prepared by the user.

[0007] IaaS (Infrastructure as a Service) is also known as infrastructure as a service. It is the basis of cloud services and provides only IT infrastructure such as servers, storage, and networks. With IaaS, there is no need to prepare hardware or manage operations such as maintenance. Users prepare the applications that run on the IaaS OS.

[0008] One of the greatest attractions of cloud computing, especially PaaS, is the ability to flexibly change the scale of servers in response to changes in the volume of service requests. In a cloud computing environment, it is common for different types of business systems (hereafter referred to as tenants) with various requirements to operate while sharing the resources of a computing environment, and this type of configuration is called a multi-tenant environment. A multi-tenant environment is an environment in which multiple tenants share one or more resources by reserving and releasing resources according to the time of day. In a multi-tenant environment, when introducing a new tenant or adding resources to an operating tenant, a situation may arise in which there are not enough vacancies to meet the resource reservation requests made to the multi-tenant environment.

[0009] One mechanism to meet these demands is the load balancer, which can handle an increase in demand up to a pre-prepared capacity level. However, to implement a load balancer mechanism, multiple servers must be prepared and running in advance, and if charges are charged for each running server instance, the running costs of the cloud environment will be high.

[0010] When a platform provider develops a business such as a web service, it is common for the platform to house the information exchange, analysis, and purchasing infrastructure (platform) related to the business in a cloud computing environment. This means that a management challenge for the platform provider's business is to run as many services (tenants) for individual customers or specific applications using as limited computer resources as possible, while keeping running costs such as contract fees for those computer resources down.

[0011] In relation to the above, Patent Document 1 describes a resource allocation method that allows surplus resources to be shared among multiple services and reduces the maintenance costs of the surplus resources. In this method, standby computer resources are in a dead standby state where at least no applications are installed, and this dead standby state computer resource is shared by multiple services or multiple users, thereby improving the utilization rate of idle computer resources, realizing server integration, and reducing the costs required for maintaining computer resources. In addition, this method performs load prediction for each service using past operation history, and allocates idle computer resources secured and maintained from surplus services according to the prediction results.

[0012] Patent Document 2 describes a platform service that makes the quality requirement index of dynamic scalability variable and combines various means of advance preparation to satisfy the given index. In this service, the cloud server provides a combination of platforms in various advance preparation states such as hot standby, swap-out state, and cold standby.

[0013] Patent document 3 describes a method for calculating available resources and arbitrating resources by taking into consideration the resource usage patterns of tenants, such as the period of a resource allocation request from a tenant requesting resource allocation and the functions being used.

[0014] Patent Document 4 describes a technique in which, in response to a request for provision of computer resources, a plurality of virtual machines are started on the resources of the system itself, and a resource allocation request is made for each cluster.

[0015] Patent Documents 5 to 7 describe the mutual provision and use of computer resources or services provided by the same between users (nodes) on a network.

[0016] Non-Patent Documents 1 and 2 related to the above are also disclosed. Kubernetes (registered trademark) in Non-Patent Document 2 is a portable, scalable, open source platform for managing containerized workloads and services by promoting declarative configuration management and automation. Kubernetes is available in a wide range of ecosystem services, support, and tools. Here, virtualization software refers to a system that can operate multiple virtual machines on one server, and can run multiple OSs on one server. A container is an independent environment in which applications, middleware, and multiple OSs can be run, and is very similar to virtualization software, but the big difference is that the space can be separated from other systems at the container level. This makes it possible to run different OSs, so systems running multiple OSs can be consolidated into one. Containers have the function of running applications, but do not have the function of managing containers or linking them with other servers. So, Kubernetes solves the problem of "not being able to link."

[0017] Kubernetes is one of the container orchestration tools. Container orchestration is a technology that manages multiple containers. When operating multiple containers, it is necessary to manage the coordination of networks, storage, etc., and container orchestration tools manage these, so that operations can be performed smoothly even if a container goes down or an application is under high load. Kubernetes has Kubernetes Pods that manage multiple containers, and multiple Pods are further grouped into Nodes. A collection of Nodes becomes a "cluster." In other words, the cluster can be said to be the part located at the top level of the entire Kubernetes structure. When Kubernetes deploys or deletes containers, it issues direct instructions to the cluster, which improves system efficiency, maximizes resource utilization, and makes it easier to manage confidential information.

[0018] Resource quotas, a feature of Kubernetes, are a tool for administrators to address issues that arise when multiple users or teams share a cluster with a set number of nodes, and one team uses more than its fair share of resources. Resource quotas, defined by the Resource Quota object, provide constraints to limit total resource consumption per namespace. Resource quotas can limit the number of objects of each type that can be created in a cluster in the same namespace, and the total amount of compute resources consumed by resources in a namespace.

[0019] Istio in Non-Patent Document 3 is a highly functional open source service mesh that is installed and used on a platform such as Kubernetes, and deploys a service mesh inside. A service mesh is a function that mediates the network between multiple services deployed in a microservice architecture when these services cooperate with each other to realize the overall function. For example, it has basic functions such as name resolution of the communication partner service when communication between services is required, and a retry function when such communication fails. This solves problems that tend to be issues in microservice architecture, such as communication failures between services and performance degradation due to increased communication, making it easier to realize a microservice architecture.

[0020] The technologies described in the above Patent Documents 1 to 7 and Non-Patent Documents 1 to 3 do not take into consideration maintaining the performance of multi-tenant operation within the range of pre-contracted resources and reducing running costs. Each of the above technologies is a resource allocation method with a function of adjusting the amount of allocated resources in response to a resource reservation request by referring to the amount of resources or usage of the computer environment, or a resource adjustment that takes into consideration only the amount of resources or usage of the computer environment in response to a request from each tenant, so there are many restrictions on flexible platform service operation within the range of pre-contracted resources, making it difficult to maintain the operating rate and performance of services for individual customers or individual applications.

[0021] In addition, in the case of a multi-tenant environment, resources such as runtime, middleware, OS, virtualization environment (VM), CPU, storage, and network ports of the cloud computing environment are shared by multiple tenants, so when some tenant users run services with unexpectedly high loads, the operating rate of other tenant services in the same environment decreases, and sufficient services cannot be provided. In other words, it is difficult to maintain the operating rate and performance of services for individual customers or individual purposes within the scope of resources contracted in advance. In particular, in the case of a multi-tenant environment, it is necessary to operate resources with a generous margin in advance, or to add resources each time when resources are insufficient, and running costs are high because a fee is charged for each server resource instance operated.

[0022] In this case, especially in the case of PaaS or SaaS business models, where platforms run services for multiple individual customers or for individual applications in a limited cloud computing environment, the profitability of the business will decrease. [Prior art documents] [Patent documents]

[0023] [Patent Document 1] JP 2005-141605 A [Patent Document 2] Patent No. 5939740 [Patent Document 3] Patent No. 6190969 [Patent Document 4] Patent No. 5277062 [Patent Document 5] JP 2004-206273 A [Patent Document 6] JP 2007-323439 A [Patent Document 7] JP 2002-92366 A [Non-patent literature]

[0024] [Non-Patent Document 1] “Amazon Elastic Compute Cloud (Amazon EC2)”, amazon web services (registered trademark), [Retrieved January 18, 2022], Internet<URL:https: / / aws.amazon.com / jp / ec2 / > [Non-Patent Document 2] “Kubernetes”, Resource Quotas, [Retrieved January 18, 2022], Internet<URL:https: / / kubernetes.io / ja / docs / concepts / policy / resource-quotas / > [Non-Patent Document 3] “Istio”, [Retrieved January 18, 2022], Internet<URL:https: / / istio.io / latest / > Summary of the Invention [Problem to be solved by the invention]

[0025] The problem that this invention aims to solve is to provide a computer system, a resource adjustment method, and a program that can level out resources by optimizing resource allocation in a cloud computing environment within a limited contract scope in an environment where multiple tenants exist, and reduce running costs by minimizing the contract scope. [Means for solving the problem]

[0026] The computer system of the embodiment constitutes a multi-tenant environment. The computer system has a trading agent unit and a resource trading market processing unit. The trading agent unit performs matching of securing and releasing resources between tenants based on resource securing requests and resource releasing requests from each tenant, performs accommodation processing to change resource allocation to each tenant based on the matching result, and transmits the matching result to the resource trading market processing unit. The resource trading market processing unit performs adjustment processing of the balance of the resource lending and borrowing relationship associated with the granting and receiving or accommodation of securing and releasing resources between the tenants associated with the matching based on the matching result. [Brief description of the drawings]

[0027] [Figure 1] FIG. 1 is a diagram showing how a computer system is used. [Diagram 2] FIG. 1 is a diagram showing the configuration of a trading agent unit 110. [Diagram 3] FIG. 2 is a diagram showing an example of the contents of tenant configuration information 121. [Figure 4] FIG. 13 is a diagram showing an example of the contents of tenant profile information 122. [Diagram 5] 13 is a diagram showing an occupancy period related to a reservation request for a tenant 10, a requested number of CPUs and a reservation request time period related to CPU allocation, and a requested memory amount related to memory allocation. [Figure 6] FIG. 13 shows the results of resource accommodation processing performed by trading agent unit 110 regarding memory allocation. [Figure 7] FIG. 13 is a diagram showing a screen displaying quotes based on the market making method. [Figure 8] This is a diagram showing a typical case when a method based on priority and FIFO is adopted. [Figure 9] FIG. 13 is a diagram for explaining the content of the accommodation process. [Figure 10] A conceptual diagram showing how carbon credit trading works. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Hereinafter, a computer system, a resource adjustment method, and a program according to an embodiment will be described with reference to the drawings.

[0029] FIG. 1 is a diagram showing how a computer system is used. The computer system 100 includes, for example, a trading agent unit 110 and a resource trading market unit 130. The computer system 100 operates in response to a reservation request or a release request from one or more tenants 10-1 to 10-n (n is a natural number). Hereinafter, when there is no need to distinguish which tenant it is, it will be simply referred to as a tenant 10. The tenant 10 may be a physical machine or a virtual machine. In the latter case, the tenant 10 may be an instance created on the resource 200. The tenant 10 is a service application group that transmits a resource reservation request to the trading agent unit 110 and executes resource lending in response to a request from the trading agent unit 110. In a multi-tenant environment, the tenant 10 is composed of one or more physical resources or virtual resources. Moreover, the physical resources are composed of one or more physical machines, and the physical machine is equipped with, for example, a runtime, middleware, an OS, a virtualization environment (VM), a CPU, storage, and a network port as resources, and executes a virtual machine. The services and applications that operate as the tenant 10 include, for example, a Web system that is configured with a Web server and a distributed DB, and a monitoring and control system that performs optimization analysis and controls a target system according to the results of the analysis.

[0030] A user who uses a tenant 10 accesses the computer system 100 and resources via a network such as the Internet or a wide area network (WAN). The tenant 10 occupies a part of the resources 200 according to a schedule secured by the computer system 100. The hardware of the resources 200 may be shared with the hardware of the computer system 100. The resources 200 include, for example, some or all of a runtime, middleware, an OS, a virtualization environment (VM), a central processing unit (CPU), storage, a network port, and the like.

[0031] In this way, the computer system 100 constitutes a multi-tenant environment. The trading agent unit 110 performs matching of securing and releasing resources between the tenants 10 based on resource securing requests and resource releasing requests from the tenants 10, changes the resource allocation to each tenant based on the matching result, and transmits the matching result to the resource trading market processing unit 130. The resource trading market processing unit 130 performs adjustment processing of income and expenditure associated with the matching based on the matching result.

[0032] FIG. 2 is a configuration diagram of the trading agent unit 110. The trading agent unit 110 includes, for example, a resource matching analysis unit 111, a resource request processing unit 112, a resource release candidate calculation unit 113, and a resource reservation / release processing unit 114. These components are realized by, for example, a hardware processor such as a CPU (Central Processing Unit) executing a program (software). Some or all of these components may be realized by hardware (including circuitry) such as an LSI (Large Scale Integration), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a GPU (Graphics Processing Unit), or may be realized by cooperation between software and hardware. The program may be stored in advance in a storage device (a storage device having a non-transient storage medium) such as an HDD (Hard Disk Drive) or a flash memory, or may be stored in a removable storage medium (non-transient storage medium) such as a DVD or a CD-ROM, and installed in the storage device by mounting the storage medium in a drive device.

[0033] Furthermore, the trading agent unit 110 performs processing by referring to various information stored in the storage unit 120. The storage unit 120 stores information such as tenant configuration information 121, tenant profile information 122, resource usage information 123, resource accommodation result information 124, and resource status monitoring information 125.

[0034] 3 is a diagram showing an example of the contents of the tenant configuration information 121. The tenant configuration information 121 is configured with configuration information that defines a physical machine and a virtual machine for each tenant 10. The physical machine configuration information includes a physical machine name, a total number of CPUs of the machine, a total memory amount of the machine, a cache, an I / O bandwidth, and a number of network ports. The virtual machine configuration information includes a virtual machine name to be assigned to the tenant, a physical machine name on which the virtual machine runs, a number of CPUs assigned to the virtual machine, and a memory allocation amount, an I / O bandwidth, and a number of network ports assigned to the virtual machine. The tenant configuration information 121 may be manually set by an administrator, or may be automatically created, changed, or updated as appropriate by management software.

[0035] 4 is a diagram showing an example of the contents of the tenant profile information 122. The tenant profile information 122 is information set for each tenant, such as a virtual machine, the number of CPUs allocated, the memory allocation amount, the I / O bandwidth, the number of network ports, the network port bandwidth, the time slot occupancy start time and the occupancy end time, and their priorities (hereinafter, tenant priorities), and a tenant policy.

[0036] The tenant priority defines the priority rank of occupancy for each resource (tenant's CPU allocation, memory allocation, I / O bandwidth, number of network ports, and network port bandwidth).

[0037] Tenant priority is set in five levels, from 1 to 5, as shown below. 5 indicates the highest priority, and 1 indicates the lowest priority. Priority has different meanings for the resource releasing side and the requesting side. For example, if the priority of the releasing side is α and the priority of the requesting side is β, then the transfer is established when α+1<β. 5: The releasing side → Do not release, the requesting side → Acquire unconditionally (additional charges may apply) 4: Releaser → Do not release, Requester → Depends on credit transaction (priority: high) 3: Releaser → Transferable by credit transaction, Requester → Depends on credit transaction (priority: normal) 2: The releasing party → Can be transferred by credit transaction, the requesting party → Cannot acquire from other tenants 1: The releasing party can transfer the property unconditionally. The requesting party cannot acquire the property from other tenants.

[0038] The tenant priority may be information that allows a priority comparison with other tenant resources, and may be expressed by a numerical ranking, or by a character string such as High, Middle, Low, etc., or by a numerical value, alphabet, or the like that appropriately indicates the ranking. Furthermore, the tenant priority information is not limited to statically defined information, and may be information that changes dynamically based on information such as a time period, a day of the week, a date, day / night, and a season.

[0039] "Unconditionally acquire" indicates the minimum amount of resources that the tenant must guarantee to secure, and in the tenant shown in Figure 4, four virtual machines and a memory allocation of 512 [GB] must be secured unconditionally. In addition to specifying the number of virtual machines that make up the tenant, it is also possible to specify each resource type, such as the amount of CPU and memory. When "Unconditionally acquire" is selected, the tenant accepts additional charges.

[0040] "Depends on credit transaction (high priority)" means that it will be occupied if there are credits available to pay (see below). "Transferable via credit transaction" means that it can be released by acquiring credits even after it has been secured. "Transferable unconditionally" means that it can be released regardless of the conditions.

[0041] The "time slot" is information that specifies the start time and end time of occupancy requested when a tenant issues a resource reservation request. A time slot may be specified for each tenant, or an individual time slot may be specified for each resource. The "CPU allocation" may be information that indicates the amount of CPU usage, and may use information such as the number of virtual CPUs in use and frequency, as well as the CPU usage rate. The "memory allocation" may be information that indicates the amount of memory usage, and may use the usage ratio of the memory allocation. The "storage allocation" may be information that indicates the amount of storage usage allocated to a virtual machine, and may use information such as the disk read / write performance value, the disk read / write amount, and the disk usage and free space. The "I / O bandwidth" may be information that indicates the I / O bandwidth usage of a virtual machine, and may be information such as the amount of data sent and received by a virtual machine per unit time, and may use information such as the number of data exchanged by a virtual machine per unit time, or the total amount of data exchanged by a virtual machine within a specific time. The "number of network ports" may be information that indicates the number of network ports of a virtual machine, and is information that specifies the number of ports to be assigned to processes, applications, and various protocols on the virtual machine. "Network port bandwidth" may be any information that indicates the network usage of a virtual machine's port, and may include information such as the number of packets sent and received by a virtual machine per unit time, or the total amount of data or total number of packets sent and received by a virtual machine within a specific period of time.

[0042] The resource usage information 123 is information indicating the usage status of resources by each tenant. The resource accommodation result information 124 is information indicating the result of resource accommodation processing. The resource status monitoring information 125 is information indicating the status of each resource.

[0043] Returning to FIG. 2, the resource matching analysis unit 111 acquires tenant profile information and resource state monitoring information 125 periodically or when a monitoring request is made, and stores them in the storage unit 120 as tenant profile information 121 and tenant usage information 123 .

[0044] The resource request processing unit 112 receives a resource reservation request from the tenant 10 and transmits the result of the resource reservation process to the tenant 10 that has made the resource reservation request. The resource reservation request includes, for example, information indicating the type and amount of resources that can be allocated to a physical machine, a virtual machine, a program, or a service, the usage period of the resources, and the priority rank of the resource occupancy. As the resource type, for example, the number of physical or virtual machines, the number of CPUs, the CPU frequency, the occupancy or reservation amount per CPU, the interrupt timing, the memory amount, the I / O throughput, the I / O bandwidth, the occupancy or reservation amount per I / O capacity, the cache capacity, the number of network ports, the bandwidth of the network port, etc. can be set. The method of setting the resource usage period includes a method of specifying the occupancy start time and period, a method of specifying the occupancy end time, or a method of specifying only the occupancy start time. Examples of the method of specifying the occupancy start time and period include "use for 6 hours from the current time" and "use for 12 hours from 8:00". Examples of how to specify the end time of exclusive use include "exclusive use until 20:00 today" or "usage until 14:00 on January 18, 2022". Examples of how to specify only the start time of exclusive use include "use begins from the current time" or "use begins from 8:00 on January 18, 2022".

[0045] In response to a resource securing request from a tenant 10, the resource release candidate calculation unit 113 calculates the amount of resources that can be released by other tenants 10, and stores the calculation result in the resource accommodation result information 124.

[0046] The resource reservation / release processing unit 114 instructs the resource trading market unit 130 to reserve resources in accordance with the content of the resource accommodation result information.

[0047] The resource trading market unit 130 controls physical and virtual resource configurations. The resource securing / releasing processing unit 114 has a process for controlling the resource configuration and resource configuration information. The resource trading market unit 130 operates, for example, by receiving an execution command from the trading agent unit 110 or a program running in another cloud environment, but is not limited to this, and may operate in response to a manual operation command from an administrator under specific command authority or conditions.

[0048] [Allocation Plan] The following describes the resource allocation process performed by the trading agent 110. The trading agent 110 acquires resource reservation requests and their respective priorities from the tenant profile information 122 of each tenant 10, and creates a resource allocation plan based on the acquired information.

[0049] FIG. 5 is a diagram showing the occupancy period related to the reservation request as the tenant 10, the requested number of machines and reservation request time period related to CPU allocation, and the requested memory amount related to memory allocation. In contrast, FIG. 6 is a diagram showing the result of the trading agent unit 110 performing resource accommodation processing for memory allocation. FIG. 6 shows an example in which the same resource (memory in this case) is accommodated between tenants according to the required amount of memory allocation resource in each time slot of each tenant 10 and its priority. In the figure, the tenant 10 written as "tenant 1" (hereinafter simply referred to as tenant 1) has reserved 128 [GB] as a base contract, and there is a time period in which 256 [GB] is temporarily required. Tenant 2 has a base contract of 32 [GB], tenant 3 has a base contract of 16 [GB], and tenant 4 has a base contract of 8 [GB]. Tenant 5 has a base contract of 16 [GB], and there is a time period in which 32 [GB] is required and a time period in which 8 [GB] is sufficient. Tenant n has a base contract of 256 [GB], and there is a time period in which 128 [GB] is temporarily sufficient. In this state, by sharing memory allocations as shown by the arrows, it is possible to minimize the addition of resources from outside. The trading agent unit 110 checks whether a resource request exists in a resource release candidate for each unit time, which is divided into two hours, for example, every five minutes, and determines whether the request is satisfied based on the priority of each tenant resource and the logic of the matching pattern. In addition, the trading agent unit 110 determines the order of the accommodation process according to a First In First Out (FIFO) type queuing model using a queue, for example, and changes the order of the accommodation process. This will be described in detail later.

[0050] For example, a tenant 10 returns resources in a time slot in which it can release resources in return for resources borrowed from other tenants 10. A tenant 10 basically agrees to release resources in a time slot in which it does not necessarily need resources, and can also save credits in preparation for a time slot in which it needs resources. Note that the trading agent unit 110 may automatically add resources using a resource management mechanism represented by a load balancer when resources are insufficient for transactions within the range of resources contracted in advance. In this case, the tenant 10 is charged outside the framework of the balance adjustment process by the resource trading market processing unit 130.

[0051] [credit] The resource trading market processing unit 130 may introduce a unit of credit, which is a virtual value that indicates a normalized value of different types of resources, and may facilitate the sharing of different types of resources by virtually allowing the tenants 10 to exchange credits. Credits are calculated by multiplying the unit secured for each type of resource (e.g., the number of CPUs, memory allocation amount, I / O bandwidth, number of network ports, time slots, etc.) by a coefficient, as shown in the following formula. In the formula, Kcpu, Kmem, Kio, and Kport are coefficients for absorbing differences in the physical or conceptual types of resources.

[0052] Credit = Kcpu x number of CPUs x time =Kmem x memory allocation (MB) x time = Kio x I / O bandwidth (bytes) x time = Kport x number of network ports x time

[0053] When credits are used, the amount of credits held by each tenant may be stored in the tenant profile information 122 (which the resource trading market processing unit 130 can refer to), etc. The credits may be exchanged for cash or other real value at any time. This allows the tenants 10 to smoothly share different types of resources. The resource trading market processing unit 130 may convert resources of the same type into credits to adjust the balance, or may adjust the balance by spot trading (for example, storing information such as "borrow memory allocation amount (MB) x time" and returning a portion of it at a different time).

[0054] When determining the price for the lending of resources, the resource trading market processing unit 130 may determine the price using a method such as a market making method in which a quote is presented to complete a buy / sell order, or a method based on priority and FIFO. FIG. 7 is a diagram showing a screen (commonly referred to as a "book") that displays quotes using the market making method. As shown in the figure, a CPU book or a memory book that is premised on spot trading, or a credit book for the purpose of credit trading, may be managed as internal processing information of the resource trading market processing unit 130, or may be presented to the tenant 10. In addition to these, any other buying and selling form may be adopted.

[0055] The method based on priority and FIFO will be described below. The amount of credit given or received with the lending of resources may be determined, for example, by a weight (described below) based on the priority of the tenant 10 that issues the reservation request (requesting side). For example, a value obtained by multiplying a credit calculated by multiplying the amount of resources by a reference value by a weight determined based on the priority of the requesting side is paid from the requesting tenant 10 to the releasing tenant 10. Furthermore, for a requesting tenant 10 with a priority of 5, resources can be procured from outside by paying an additional fee.

[0056] (requester priority: weight) 5: Weight 1.5 4: Weight 1.4 3: Weight 1.3

[0057] Figure 8 is a diagram that typifies the cases when the priority and FIFO method is adopted. As mentioned above, if the rule that "if the priority of the releasing side is α and the priority of the requesting side is β, the transfer is successful when α+1<β" is applied, how will the transfer be successful and what will the compensation be in each case?

[0058] In case A, α=4 or 5, β=5, and α+1≧β, so the transfer is not established. In this case, the credit CO for securing additional resources is multiplied by the weight 1.5 corresponding to the priority of the requesting party, resulting in an additional charge of 1.5×CO to the requesting tenant 10, and the resources are allocated to the requesting tenant 10.

[0059] In case B, α=3, β=5, and α+1<β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.5 corresponding to the priority of the requesting side, and 1.5×CI is paid from the requesting tenant 10 to the releasing tenant 10, so that the resource is transferred from the releasing tenant 10 to the requesting tenant 10. Here, for example, CO≧CI.

[0060] In case C, α = 2, β = 5, and α + 1 < β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.5 corresponding to the priority of the requesting side, and 1.5 × CI is paid from the requesting tenant 10 to the releasing tenant 10, and the resources are transferred from the releasing tenant 10 to the requesting tenant 10.

[0061] In case D, α = 1, β = 5, and α + 1 < β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.5 corresponding to the priority of the requesting side, and 1.5 × CI is paid from the requesting tenant 10 to the releasing tenant 10, and the resources are transferred from the releasing tenant 10 to the requesting tenant 10.

[0062] In case E, α = 3~5, β = 4, and α+1 ≧ β, so the transfer is not completed.

[0063] In case F, α = 2, β = 4, and α + 1 < β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.4 corresponding to the priority of the requesting side, and 1.4 × CI is paid from the requesting tenant 10 to the releasing tenant 10, and the resources are transferred from the releasing tenant 10 to the requesting tenant 10.

[0064] In case G, α = 1, β = 4, and α + 1 < β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.4 corresponding to the priority of the requesting side, and 1.4 × CI is paid from the requesting tenant 10 to the releasing tenant 10, and the resources are transferred from the releasing tenant 10 to the requesting tenant 10.

[0065] In case H, α = 2~5, β = 3, and α+1 ≥ β, so the transfer is not completed.

[0066] In case I, α = 1, β = 3, and α + 1 < β, so the transfer is successful. In this case, the credit CI applied to the inter-tenant transfer is multiplied by the weight 1.3 corresponding to the priority of the requesting side, and 1.3 × CI is paid from the requesting tenant 10 to the releasing tenant 10, and the resources are transferred from the releasing tenant 10 to the requesting tenant 10.

[0067] [Banking functions] The resource trading market processing unit 130 has a resource banking function, and may hold surplus resources from a tenant and provide the tenant with a compensation (e.g., credit), or may lend resources to a tenant and receive a compensation (e.g., credit) from the tenant. In this case, the resource trading market processing unit 130 may hold in advance surplus resources that do not fall under the base contract of any tenant 10.

[0068] [FIFO] As described above, the trading agent unit 110 determines the order of the accommodation process according to a FIFO-type queuing model and changes the order of the accommodation process. FIG. 9 is a diagram for explaining the contents of the accommodation process. Regarding the collation order of the resource request side and the resource release candidate and the matching, the trading agent unit 110 inserts the resource request side and the resource release candidate into a FIFO queue, for example, and checks whether the matching logic is established for each unit time. In the example of FIG. 9, the trading agent unit 110 shows an example in which the matching condition of the release candidate identifier C0005 for the resource request identifier R0003 is established and deleted from both FIFO queues. The trading agent unit 110 executes this matching check at, for example, 0:00 every day. If the execution frequency of this check is subdivided, for example, every hour or every minute, resource leveling within the range of the resources already contracted is promoted.

[0069] Each identifier [R****], [C****] is set with tenant profile information for each resource, such as, for each tenant, information such as virtual machines, number of CPUs allocated, memory allocation amount, I / O bandwidth, number of network ports, network port bandwidth, time slot occupancy start time and occupancy end time, and their tenant priority, as well as tenant policies.

[0070] Furthermore, the trading agent unit 110 may switch the high / low of the matching order in the FIFO queue if the resource request side has the same conditions except for the priority in the matching unit time. In the above example, R0006 has a higher priority than R0003, so the matching order is switched in the FIFO queue. Also, the trading agent unit 110 may switch the high / low of the matching order in the FIFO queue if the release candidate side has the same conditions except for the priority in the matching unit time. In the above example, C0005 has a lower priority than C0002, so the matching order is switched in the FIFO queue. If the resource request side and the resource release candidate have the same conditions except for the priority in the matching unit time, switching the respective matching orders increases the chances of matching within the range of the resources already contracted, and promotes resource leveling.

[0071] Instead of using a FIFO queue, the trading agent 110 may perform processing by solving a constrained optimization problem using an objective function. The objective function F(x1, x2, ..., Xn) is defined as F (virtual machine, number of CPUs allocated, memory allocation, I / O bandwidth, number of network ports, network port bandwidth, time slot, tenant priority, tenant policy).

[0072] (Objective function) = F(x1, x2, …, Xn) = Maximizing the chances of matching within the scope of pre-contracted resources (Constraint): The releasing side will not allow the release of its own resources if its priority is 4 or higher.

[0073] Although the above aims to maximize the chances of matching, depending on the situation, if the performance of all tenants is maximized, a solution may be found that prioritizes compensation by external resources, even if additional charges are allowed. There are various optimization methods, including the classical Lagrangian constant method, but it is also possible to use solvers or AI, which have become mainstream in recent years.

[0074] [Carbon credits, etc.] The computer system 100 may calculate the amount of energy consumption reduced by the accommodation process, and perform environmental contribution trading based on the calculated value. An example of environmental contribution trading is carbon credits. FIG. 10 is a conceptual diagram showing how carbon credit trading is carried out. In Japan, by registering with "J-Credit," which is led by the Ministry of Economy, Trade and Industry, certification of credits can be obtained from a public institution. In Europe and the United States, this corresponds to the Emission Trading Scheme (ETS).

[0075] [others] The computer system 100 may provide surplus resources that were not allocated to the tenants 10 to an external environment, and the consideration for the provided resources may be profit for the operator of the computer system 100 (e.g., the operator of PaaS). Furthermore, the computer system 100 may distribute the profit obtained from the outside to each tenant 10 as credit, or may discount the contract fee of each tenant 10 according to the profit obtained from the outside.

[0076] According to at least one of the embodiments described above, the trading agent unit 110 performs matching of securing and releasing resources between tenants based on resource securing requests and resource releasing requests from each tenant, performs a lending process of changing the allocation of resources to each tenant based on the matching results, and transmits the matching results to a resource trading market processing unit, and the resource trading market processing unit 130 performs an adjustment process of the income and expenditure between the tenants associated with the matching based on the matching results.By having this, in an environment where multiple tenants exist, it is possible to level out resources by optimizing resource allocation in a cloud computing environment within a limited contract range, and to reduce running costs by minimizing the contract range.

[0077] Although some embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope of the invention and its equivalents described in the claims, as well as in the scope and spirit of the invention. [Explanation of symbols]

[0078] 10 Tenants 100 Computer Systems 110 Trading Agent Department 130 Resource Trading Market Department

Claims

1. A computer system constituting a multi-tenant environment, a trading agent unit that performs matching between securing and releasing resources among tenants based on resource securing requests and resource releasing requests from each tenant, performs a merging process to change resource allocation to each tenant based on the matching results, and transmits the matching results to a resource trading market processing unit; The resource trading market processing unit performs an adjustment process of the balance of the resource lending and borrowing relationship associated with the securing and releasing of resources between the tenants associated with the matching based on the matching result; A computer system comprising:

2. The resource trading market processing unit performs the adjustment process of the balance by a method based on priority and FIFO or a market making method.

2. The computer system of claim 1.

3. The resource trading market processing unit performs an adjustment process of the balance by transferring a common virtual value between the tenants in relation to the lending process of different types of resources.

2. The computer system of claim 1.

4. The resource trading market processing unit performs an adjustment process of the balance by transferring the actual resource in different time periods for the lending process of the same type of resource.

2. The computer system of claim 1.

5. The resource trading market processing unit performs an adjustment process of the balance by transferring a common virtual value between tenants for the lending process of different types of resources and transferring the actual resource between tenants in different time periods for the lending process of the same type of resources.

2. The computer system of claim 1.

6. The resource trading market processing unit has a resource banking function, and receives surplus resources from the tenants and provides compensation to the tenants.

2. The computer system of claim 1.

7. the resource trading market processing unit has a resource banking function, lends resources to the tenants, and receives payment from the tenants; 2. The computer system of claim 1.

8. When the resource trading market processing unit encounters a resource shortage due to the accommodation processing among the tenants, the resource trading market processing unit procures resources from outside and receives a fee from the tenant that made the resource reservation request that caused the resource procurement.

2. The computer system of claim 1.

9. At least the resource securing request is assigned a priority.

2. The computer system of claim 1.

10. the trading agent unit performs the lending process in an order that follows a predetermined rule, and changes the order of the lending process based on the priority.

10. The computer system of claim 9.

11. Calculating the amount of energy consumption reduced by the accommodation process, and conducting environmental contribution trading based on the calculated value.

2. The computer system of claim 1.

12. A resource adjustment method executed by a computer system constituting a multi-tenant environment, comprising: matching the securing and releasing of resources between the tenants based on the resource securing requests and resource releasing requests from each tenant, performing a lending process to change the allocation of resources to each tenant based on the matching results, and transmitting the matching results to a resource trading market processing unit; Based on the matching result, performing an adjustment process of the balance of the resource lending relationship associated with the resource securing and releasing transfer or accommodation between the tenants associated with the matching; A resource adjustment method comprising:

13. In the computer system that constitutes the multi-tenant environment, matching the securing and releasing of resources between the tenants based on the resource securing requests and resource releasing requests from each tenant, performing a lending process to change the allocation of resources to each tenant based on the matching results, and transmitting the matching results to a resource trading market processing unit; Based on the matching result, performing an adjustment process of the balance of the resource lending relationship associated with the resource securing and releasing transfer or accommodation between the tenants associated with the matching; A program for executing.

Citation Information

Patent Citations

  • Exclusive controller for shared resources

    JP1993313923A

  • Method of processing order matching system for securities, etc.

    JP2002149981A

  • Computer resource trade system and computer resource trade program

    JP2004206273A

  • It virtual environmental resource trading system

    JP2010186455A

  • Cloud computing system

    JP2011154531A

Cited By

  • Information processing system, information processing program, and information processing method

    JP7950515B1