CN112286696B - PaaS platform resource utilization assessment method - Google Patents

PaaS platform resource utilization assessment method Download PDF

Info

Publication number
CN112286696B
CN112286696B CN202011600426.2A CN202011600426A CN112286696B CN 112286696 B CN112286696 B CN 112286696B CN 202011600426 A CN202011600426 A CN 202011600426A CN 112286696 B CN112286696 B CN 112286696B
Authority
CN
China
Prior art keywords
paas platform
container
service
host
paas
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011600426.2A
Other languages
Chinese (zh)
Other versions
CN112286696A (en
Inventor
王治锋
施志晖
陈菲琪
蒋立杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Sushang Bank Co ltd
Original Assignee
Jiangsu Suning Bank Co Ltd
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
Application filed by Jiangsu Suning Bank Co Ltd filed Critical Jiangsu Suning Bank Co Ltd
Priority to CN202011600426.2A priority Critical patent/CN112286696B/en
Publication of CN112286696A publication Critical patent/CN112286696A/en
Application granted granted Critical
Publication of CN112286696B publication Critical patent/CN112286696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • 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
    • 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/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a PaaS platform resource utilization assessment method. The method comprises the steps of calculating the utilization capacity of PaaS platform resources, deployed in a container, of services, calculating the utilization capacity of non-PaaS platform resources, directly deployed on a host, of the same number of services, and comparing the utilization capacity of the PaaS platform resources with the utilization capacity of the non-PaaS platform resources to judge whether the utilization capacity of the PaaS platform resources is improved or not. The invention starts from the resource allocation of the container, considers the containerization performance loss, and gradually establishes a resource evaluation model by calculating the resource utilization rate of the container, the resource utilization rate of the host and the resource utilization capacity of the PaaS platform, thereby providing a basis for enterprise cost investment and subsequent development planning.

Description

PaaS platform resource utilization assessment method
Technical Field
The invention relates to the technical field of platform resource utilization evaluation, in particular to a PaaS platform resource utilization evaluation method.
Background
Computing resource utilization assessment has been an important aspect of enterprises in measuring the construction results of IT departments. With the development of cloud computing and micro-service technologies, container and container arrangement technologies are gradually mature, and particularly when Docker is used as a container to operate, a PaaS platform which takes K8S as an organizer begins to fall on the ground in enterprise production environments of various industries, so that the utilization rate of computing resources is perceptually improved. However, in the construction of the PaaS platform with the elastic capacity expansion and contraction capability, compared with the method that the service is directly deployed on the host machine, the use of the container is improved, how much the use of the container is measured, how to construct a model through a proper method, and the judgment of the resource utilization is carried out, and no proper method exists.
A new generation of PaaS platform uses a Docker container as a service bearer, and the Docker exists on a host in a process form, so that a foundation is laid for starting a service system at a second level, and a guarantee is provided for quick and elastic expansion of service of the service system. However, the service of the business system runs in a docker container, the docker container runs on a host, compared with the way that the service directly runs on the host, the way of running the service in the docker container is added by one container layer, the host starts the container first and then starts the service, and the starting of the container brings performance loss; in addition, the service runs in a container, and the monitoring of the utilization of service resources is not suitable for staying at the host level; moreover, the PaaS platform has the capability of second-level scheduling service, a container running on a host is created or deleted at the second level, and an evaluation mode for the resource utilization of the host is adopted, so that the PaaS platform is not suitable for the PaaS platform.
How to measure the resource utilization capacity of the PaaS platform includes: the resource utilization rate of a single container, the resource utilization rate of a computational node (a host where the container is located) of the PaaS platform, and the resource utilization rate of the PaaS platform can be used for building the PaaS platform more reasonably, reducing cost and improving efficiency, and become a difficult point to be considered and solved by each enterprise.
Disclosure of Invention
The invention aims to provide a resource utilization evaluation method for a PaaS platform, aiming at the defects in the prior art. The method can measure the efficiency improvement degree from the resource utilization angle, and can be used as an important reference basis for measuring the PaaS platform value.
In order to achieve the above purpose, the present invention provides a PaaS platform resource utilization evaluation method, which comprises the following steps:
step 1: the PaaS platform resource utilization capability of a computing service deployed in a container specifically includes:
step 101: acquiring the average resource use condition of each container on a computing node of a PaaS platform in a certain period of time;
step 102: calculating the resource use sum of all the calculation nodes of the PaaS platform according to the resource use condition of each container in a certain period of time;
step 103: performing weighted averaging calculation on the sum of the resource usage of all the computing nodes of the PaaS platform in the step 102 to obtain the resource utilization capacity of the PaaS platform with the service deployed in the container;
step 2: calculating the resource utilization capacity of the non-PaaS platform host machine with the same number of services directly deployed on the host machine, specifically comprising:
step 201: acquiring the average resource use condition of each host of a non-PaaS platform directly deployed service within a certain period of time;
step 202: calculating the total use of non-PaaS platform resources according to the average use condition of the resources in a certain period of time of each host;
step 203: averaging the total use of the non-PaaS platform resources in the step 202 to obtain the utilization capacity of the non-PaaS platform host machine resources with services directly deployed on the host machine;
and step 3: and comparing the utilization capacity of the PaaS platform resources with the utilization capacity of the non-PaaS platform host machine resources to judge whether the utilization capacity of the PaaS platform resources is improved.
Further, the resources include a CPU and a memory.
Further, the step 101 specifically includes:
get the first
Figure DEST_PATH_IMAGE001
On a computing nodeiThe CPU quota for each container, written as:dc ki
get the first
Figure 328547DEST_PATH_IMAGE001
On a computing nodeiThe memory quota of each container is recorded as:dm ki
get the first
Figure 871655DEST_PATH_IMAGE001
On a computing nodeiThe actual usage of the CPU of each container over a certain period of time is written as:dcreal ki
get the first
Figure 947058DEST_PATH_IMAGE001
On a computing nodeiActual use of the memory of a container for a certain period of timeQuantity, recorded as:dmreal ki
the calculation mode of the PaaS platform resource utilization capacity of the service deployment in the container is as follows:
Figure 100002_DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE003
the average of the PaaS platform CPU usage totals deployed in containers for the service,
Figure 100002_DEST_PATH_IMAGE004
the average of the sum of the PaaS platform memory usage deployed in containers for a service,
Figure DEST_PATH_IMAGE005
starting a container for the host of a PaaS platform, the container starting service consumes a greater percentage of resources than starting the service directly on the host, wherein,
Figure 566521DEST_PATH_IMAGE003
the calculation method of (c) is as follows:
Figure 100002_DEST_PATH_IMAGE006
Figure DEST_PATH_IMAGE007
the calculation method of (c) is as follows:
Figure 100002_DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE009
the total number of containers on the k-th compute node for the PaaS platform,
Figure 100002_DEST_PATH_IMAGE010
calculating the total number of nodes participating in the evaluation for the PaaS platform;
Figure DEST_PATH_IMAGE011
the calculation method of (c) is as follows:
μ=(rc paas - rc v )/ rc v
wherein the content of the first and second substances,
Figure 100002_DEST_PATH_IMAGE012
in order to create and start a container on the host of the PaaS platform and then start a service in the container, the resources consumed in this way,
Figure DEST_PATH_IMAGE013
directly starting resources consumed by the service for deploying the service on the non-PaaS platform;
the step 201 specifically includes:
acquiring a j th host CPU quota of a direct deployment service of a single non-PaaS platform, and recording as follows: vc j
obtaining the memory quota of the jth host of the direct deployment service of a single non-PaaS platform, and recording the memory quota as follows:vm j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the CPU of each host in a certain period of time is written as:vcreal j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the memory of each host within a certain period of time is recorded as:vmreal j
the resource utilization capacity of the same number of services directly deployed on the host is calculated as follows:
Figure 100002_DEST_PATH_IMAGE014
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE015
the average of the sum of CPU usage of hosts serving direct deployments of non-PaaS platforms,
Figure 100002_DEST_PATH_IMAGE016
average of the sum of memory usage of hosts serving direct deployments of non-PaaS platforms, wherein,
Figure DEST_PATH_IMAGE017
the calculation method of (c) is as follows:
Figure 100002_DEST_PATH_IMAGE018
wherein the content of the first and second substances,
Figure 98347DEST_PATH_IMAGE016
the calculation method of (c) is as follows:
Figure 100002_DEST_PATH_IMAGE019
Figure DEST_PATH_IMAGE020
the calculation method of (c) is as follows:
Figure 100002_DEST_PATH_IMAGE021
wherein the content of the first and second substances,
Figure 117249DEST_PATH_IMAGE020
if the container of the PaaS platform is deployed to a non-PaaS platform, the number of the containers corresponds to the number of the directly deployed service sinksThe number of hosts.
Further, the
Figure 109476DEST_PATH_IMAGE005
The value range of (A) is 5% -8%.
Further, the average resource usage of each container in a certain period of time and the average resource usage of each host in a certain period of time are both obtained from the Prometheus monitoring system.
Has the advantages that: the invention starts from the resource allocation of the container, considers the containerization performance loss, can calculate the utilization rate of container resources, the utilization rate of host machine resources and the utilization capacity of PaaS platform resources, gradually establishes a resource evaluation model, and provides a basis for enterprise cost investment and subsequent development planning. And has the following characteristics:
1. no architecture adjustment of the existing platform is involved;
2. the container is used as a service bearer, and the evaluation granularity is finer;
3. based on the current actual data evaluation, the method is simple and reliable;
4. and analyzing from a technical angle, and comparing with a non-PaaS platform to form an IT construction reference basis.
Drawings
Fig. 1 is a schematic diagram of a PaaS platform resource utilization evaluation method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a PaaS platform resource utilization capability calculation flow according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a non-PaaS platform resource utilization capability calculation flow according to an embodiment of the present invention.
Detailed Description
The present invention will be further illustrated with reference to the accompanying drawings and specific examples, which are carried out on the premise of the technical solution of the present invention, and it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
As shown in fig. 1 to 3, an embodiment of the present invention provides a PaaS platform resource utilization evaluation method, including the following steps:
step 1: the PaaS platform resource utilization capability of a computing service deployed in a container specifically includes:
step 101: acquiring the average resource use condition of each container on a computing node of a PaaS platform in a certain period of time;
step 102: calculating the resource use sum of all the calculation nodes of the PaaS platform according to the resource use condition of each container in a certain period of time;
step 103: performing weighted averaging calculation on the sum of the resource usage of all the computing nodes of the PaaS platform in the step 102 to obtain the resource utilization capacity of the PaaS platform with the service deployed in the container;
step 2: calculating the resource utilization capacity of the non-PaaS platform host machine with the same number of services directly deployed on the host machine, specifically comprising:
step 201: acquiring the average resource use condition of each host of a non-PaaS platform directly deployed service within a certain period of time;
step 202: calculating the total use of non-PaaS platform resources according to the average use condition of the resources in a certain period of time of each host;
step 203: averaging the total use of the non-PaaS platform resources in the step 202 to obtain the utilization capacity of the non-PaaS platform host machine resources with services directly deployed on the host machine;
and step 3: and comparing the utilization capacity of the PaaS platform resources with the utilization capacity of the non-PaaS platform host machine resources to judge whether the utilization capacity of the PaaS platform resources is improved.
The resources of the embodiment of the invention comprise a CPU and a memory. Correspondingly, in step 101, the average CPU usage and memory usage over a certain period of time including the container are obtained. Similarly, in step 201, the average memory usage over a period of time including the host is obtained. It should be noted that the time periods for obtaining the service conditions of the PaaS platform resources and the non-PaaS platform resources are the same, and are sampling durationstFor the sampling durationtA time threshold T can be preset, and when the sampling time length is larger than the set time thresholdAnd T, the acquired data is regarded as valid. Because the use condition of the resource is changed in real time, the frequency of acquiring the actual use amount of the resource can be set, and the use condition of the resource can be acquired in a discrete point mode. When the total resource usage of the PaaS platform is calculated in step 102, it is necessary to calculate the total CPU usage of the PaaS platform container and the total memory usage of the PaaS platform container, and use the maximum average of the total CPU usage of the PaaS platform container and the total memory usage of the PaaS platform container as the total resource usage of the PaaS platform. Similarly, in step 202, when calculating the total usage of the non-PaaS platform resources, it is necessary to calculate the total usage of the CPU of the non-PaaS platform host and the total usage of the memory of the non-PaaS platform host, and then the maximum average value of the total usage of the CPU of the non-PaaS platform host and the total usage of the memory of the non-PaaS platform host is used as the total usage of the non-PaaS platform resources.
Specifically, the step 101 specifically includes:
get the first
Figure 867216DEST_PATH_IMAGE001
On a computing nodeiThe CPU quota for each container, written as:dc ki
get the first
Figure 453050DEST_PATH_IMAGE001
On a computing nodeiThe memory quota of each container is recorded as:dm ki
get the first
Figure 790490DEST_PATH_IMAGE001
On a computing nodeiA certain period of time of CPU of each containertThe actual usage amount in (a) is recorded as:dcreal ki
get the first
Figure 902803DEST_PATH_IMAGE001
On a computing nodeiThe actual usage of the memory of each container over a certain period of time is written as:dmreal ki
the calculation method of the resource utilization capacity of the PaaS platform with the service deployed in the container is as follows:
Figure 316598DEST_PATH_IMAGE002
wherein the content of the first and second substances,
Figure 373415DEST_PATH_IMAGE003
the average of the PaaS platform CPU usage totals deployed in containers for the service,
Figure 921071DEST_PATH_IMAGE004
the average of the sum of the PaaS platform memory usage deployed in containers for a service,
Figure 497677DEST_PATH_IMAGE005
starting a container for the host of a PaaS platform, the container starting service consumes a greater percentage of resources than starting the service directly on the host, wherein,
Figure 597220DEST_PATH_IMAGE003
the calculation method of (c) is as follows:
Figure 16700DEST_PATH_IMAGE006
Figure DEST_PATH_IMAGE022
the calculation method of (c) is as follows:
Figure 299871DEST_PATH_IMAGE008
wherein the content of the first and second substances,
Figure 121196DEST_PATH_IMAGE009
the total number of containers on the k-th compute node for the PaaS platform,
Figure 142373DEST_PATH_IMAGE010
calculating the total number of nodes participating in the evaluation for the PaaS platform;
Figure 252412DEST_PATH_IMAGE011
the calculation method of (c) is as follows:
μ=(rc paas - rc v )/ rc v
wherein the content of the first and second substances,
Figure 751657DEST_PATH_IMAGE012
in order to create and start a container on the host of the PaaS platform and then start a service in the container, the resources consumed in this way,
Figure 552123DEST_PATH_IMAGE013
directly starting resources consumed by the service for deploying the service on the non-PaaS platform;
the step 201 specifically includes:
second to obtain direct deployment service of single non-PaaS platformjThe CPU quota of each host is recorded as:vc j
second to obtain direct deployment service of single non-PaaS platformjThe memory quota of each host is recorded as:vm j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the CPU of each host in a certain period of time is written as:vcreal j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the memory of each host within a certain period of time is recorded as:vmreal j
the resource utilization capability of as many services deployed directly on a host is calculated as follows:
Figure 134414DEST_PATH_IMAGE014
wherein the content of the first and second substances,
Figure 872694DEST_PATH_IMAGE015
the average of the sum of CPU usage of hosts serving direct deployments of non-PaaS platforms,
Figure 100002_DEST_PATH_IMAGE023
average of the sum of memory usage of hosts serving direct deployments of non-PaaS platforms, wherein,
Figure 503527DEST_PATH_IMAGE017
the calculation method of (c) is as follows:
Figure 33865DEST_PATH_IMAGE018
wherein the content of the first and second substances,
Figure 646112DEST_PATH_IMAGE023
the calculation method of (c) is as follows:
Figure 137267DEST_PATH_IMAGE019
Figure 368529DEST_PATH_IMAGE020
the calculation method of (c) is as follows:
Figure 143587DEST_PATH_IMAGE021
wherein the content of the first and second substances,
Figure 411888DEST_PATH_IMAGE020
if the container of the PaaS platform is deployed to a non-PaaS platform, the number of the containers corresponds to the number of the directly deployed serversThe number of host machines of the business. Since each container service corresponds to one host, the total number of hosts is consistent with the total number of containers on the PaaS platform.
As described above
Figure 514973DEST_PATH_IMAGE005
The value of (2) can be taken and set according to actual tests and general experiences, the general value range is 5% -8%, and corresponding changes can be carried out according to actual conditions.
The average resource usage of each container over a period of time and the average resource usage of each host over a period of time are preferably obtained from a Prometheus monitoring system. Specifically, the abovedc ki dm ki dcreal ki dmreal ki vc j vm j vcreal j Andvmreal j are available from Prometheus monitoring systems, since,dc ki dm ki 、、vc j andvm j all are fixed values and can also be obtained from a configuration service system.
The utilization capacity of the PaaS platform resources is compared with the utilization capacity of the non-PaaS platform host machine resources, the ratio of the two can be compared, and the ratio of the twoP E The calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE024
if it is notP E >1, the resource utilization capacity of the PaaS platform is higher than that of a virtual machine resource with multiple services of a non-PaaS platform.
If it is notP E <1, the resource utilization capacity of the PaaS platform is lower than that of a virtual machine resource with the same multi-service of a non-PaaS platform.
If it is notP E = 1, denotes PaaSThe platform resource using capacity is equivalent to the virtual machine resource using capacity of multiple services of a non-PaaS platform.
When in useP E >1, representing that the PaaS platform saves resources ifP E More than or equal to 2, which means that resources can be saved by at least half or even more; the investment cost of enterprises in the IT aspect is greatly reduced.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that other parts not specifically described are within the prior art or common general knowledge to those of ordinary skill in the art. Without departing from the principle of the invention, several improvements and modifications can be made, and these improvements and modifications should also be construed as the scope of the invention.

Claims (3)

1. A PaaS platform resource utilization assessment method is characterized by comprising the following steps:
step 1: the PaaS platform resource utilization capability of a computing service deployed in a container specifically includes:
step 101: acquiring the average resource use condition of each container on a computing node of a PaaS platform in a certain period of time;
step 102: calculating the resource use sum of all the calculation nodes of the PaaS platform according to the resource use condition of each container in a certain period of time;
step 103: performing weighted averaging calculation on the sum of the resource usage of all the computing nodes of the PaaS platform in the step 102 to obtain the resource utilization capacity of the PaaS platform with the service deployed in the container;
step 2: calculating the resource utilization capacity of the non-PaaS platform host machine, in which the service is directly deployed on the host machine, specifically comprising:
step 201: acquiring the average resource use condition of each host of a non-PaaS platform directly deployed service within a certain period of time;
step 202: calculating the total use of non-PaaS platform resources according to the average use condition of the resources in a certain period of time of each host;
step 203: averaging the total use of the non-PaaS platform resources in the step 202 to obtain the utilization capacity of the non-PaaS platform host machine resources with services directly deployed on the host machine;
and step 3: comparing the resource utilization capacity of the PaaS platform with the resource utilization capacity of a non-PaaS platform host to judge whether the resource utilization capacity of the PaaS platform is improved;
the resources comprise a CPU and a memory;
the step 101 specifically includes:
get the first
Figure DEST_PATH_IMAGE002
On a computing nodeiThe CPU quota for each container, written as:dc ki
get the first
Figure 673626DEST_PATH_IMAGE002
On a computing nodeiThe memory quota of each container is recorded as:dm ki
get the first
Figure 934974DEST_PATH_IMAGE002
On a computing nodeiThe actual usage of the CPU of each container over a certain period of time is written as:dcreal ki
get the first
Figure 183553DEST_PATH_IMAGE002
On a computing nodeiThe actual usage of the memory of each container over a certain period of time is written as:dmreal ki
the calculation mode of the PaaS platform resource utilization capacity of the service deployment in the container is as follows:
Figure DEST_PATH_IMAGE004
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE006
the average of the PaaS platform CPU usage totals deployed in containers for the service,
Figure DEST_PATH_IMAGE008
the average of the sum of the PaaS platform memory usage deployed in containers for a service,
Figure DEST_PATH_IMAGE010
starting a container for the host of a PaaS platform, the container starting service consumes a greater percentage of resources than starting the service directly on the host, wherein,
Figure 860653DEST_PATH_IMAGE006
the calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE012
Figure 550392DEST_PATH_IMAGE008
the calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE014
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE016
as a PaaS platformkThe total number of containers on each compute node,
Figure DEST_PATH_IMAGE018
calculating the total number of nodes participating in the evaluation for the PaaS platform;
Figure DEST_PATH_IMAGE019
the calculation method of (c) is as follows:
μ=(rc paas - rc v )/ rc v
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE021
in order to create and start a container on the host of the PaaS platform and then start a service in the container, the resources consumed in this way,
Figure DEST_PATH_IMAGE023
directly starting resources consumed by the service for deploying the service on the non-PaaS platform;
the step 201 specifically includes:
second to obtain direct deployment service of single non-PaaS platformjThe CPU quota of each host is recorded as: vc j
second to obtain direct deployment service of single non-PaaS platformjThe memory quota of each host is recorded as:vm j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the CPU of each host in a certain period of time is written as:vcreal j
obtaining the first of direct deployment service of non-PaaS platformjThe actual usage of the memory of each host within a certain period of time is recorded as:vmreal j
the calculation method of the resource utilization capacity of the non-PaaS platform host machine with the service directly deployed on the host machine is as follows:
Figure DEST_PATH_IMAGE025
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE027
the average of the sum of CPU usage of hosts serving direct deployments of non-PaaS platforms,
Figure DEST_PATH_IMAGE029
average of the sum of memory usage of hosts serving direct deployments of non-PaaS platforms, wherein,
Figure DEST_PATH_IMAGE030
the calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE032
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE033
the calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE035
Figure DEST_PATH_IMAGE037
the calculation method of (c) is as follows:
Figure DEST_PATH_IMAGE039
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE040
if the container of the PaaS platform is deployed to a non-PaaS platform, the number of the containers corresponds to the number of hosts for directly deploying the service.
2. The PaaS platform resource utilization assessment method according to claim 1Characterized in that
Figure 88034DEST_PATH_IMAGE010
The value range of (A) is 5% -8%.
3. The PaaS platform resource utilization assessment method according to claim 1, wherein the average resource usage in a certain period of time of each container and the average resource usage in a certain period of time of each host are both obtained from a Prometheus monitoring system.
CN202011600426.2A 2020-12-30 2020-12-30 PaaS platform resource utilization assessment method Active CN112286696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011600426.2A CN112286696B (en) 2020-12-30 2020-12-30 PaaS platform resource utilization assessment method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011600426.2A CN112286696B (en) 2020-12-30 2020-12-30 PaaS platform resource utilization assessment method

Publications (2)

Publication Number Publication Date
CN112286696A CN112286696A (en) 2021-01-29
CN112286696B true CN112286696B (en) 2021-06-29

Family

ID=74426944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011600426.2A Active CN112286696B (en) 2020-12-30 2020-12-30 PaaS platform resource utilization assessment method

Country Status (1)

Country Link
CN (1) CN112286696B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428241A (en) * 2012-05-18 2013-12-04 中兴通讯股份有限公司 Method and system for deploying services
CN103475677A (en) * 2012-06-07 2013-12-25 中兴通讯股份有限公司 Method, device and system for virtual node management in PaaS cloud platform
US8850514B2 (en) * 2012-05-01 2014-09-30 Red Hat, Inc. Cartridges in a multi-tenant platforms-as-a-service (PaaS) system implemented in a cloud computing environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10599423B2 (en) * 2014-11-20 2020-03-24 Red Hat, Inc. Source code management for a multi-tenant platform-as-a-service (PaaS) system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8850514B2 (en) * 2012-05-01 2014-09-30 Red Hat, Inc. Cartridges in a multi-tenant platforms-as-a-service (PaaS) system implemented in a cloud computing environment
CN103428241A (en) * 2012-05-18 2013-12-04 中兴通讯股份有限公司 Method and system for deploying services
CN103475677A (en) * 2012-06-07 2013-12-25 中兴通讯股份有限公司 Method, device and system for virtual node management in PaaS cloud platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于容器的调控云 PaaS 平台的设计与实现";杨清波;《电网技术》;20200630;全文 *

Also Published As

Publication number Publication date
CN112286696A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
Gmach et al. Profiling sustainability of data centers
CN104102543B (en) The method and apparatus of adjustment of load in a kind of cloud computing environment
LaCurts et al. Cicada: Introducing predictive guarantees for cloud networks
Nogueira et al. Virtual network mapping into heterogeneous substrate networks
CN109981416B (en) Block chain performance detection method and system
US10432491B2 (en) Control device for estimation of power consumption and energy efficiency of application containers
WO2019034065A1 (en) Intelligent scheduling method and device, and computer readable storage medium and computer device therefor
WO2003069848A1 (en) System for estimating network traffic characteristics of executable software applications
Ghorbani et al. Prediction and control of bursty cloud workloads: a fractal framework
US10616078B1 (en) Detecting deviating resources in a virtual environment
WO2013097151A1 (en) Resource scheduling method and device
CN111756656B (en) Power communication network resource allocation method based on reliability and historical data
CN108259225A (en) A kind of network capacity extension appraisal procedure, device and server
Garg et al. Power and resource-aware VM placement in cloud environment
Alhaddadin et al. A user profile-aware policy-based management framework for greening the cloud
CN112286696B (en) PaaS platform resource utilization assessment method
WO2020024443A1 (en) Resource scheduling method and apparatus, computer device and computer-readable storage medium
WO2013055372A1 (en) Service sustainability systems and methods
Borst et al. Fluid limits for bandwidth-sharing networks in overload
CN109960565B (en) Cloud platform, and virtual machine scheduling method and device based on cloud platform
US10680916B2 (en) Management of network elements in a cloud platform
Kanapram et al. Exploring the trade-off between performance and energy consumption in cloud infrastructures
Yan et al. Bayesian networks-based selection algorithm for virtual machine to be migrated
Giagkos et al. Darly: Deep Reinforcement Learning for QoS-aware scheduling under resource heterogeneity Optimizing serverless video analytics
CN114741160A (en) Dynamic virtual machine integration method and system based on balanced energy consumption and service quality

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Patentee after: Jiangsu Sushang Bank Co.,Ltd.

Country or region after: China

Address before: No.4 building, Hexi Financial City, Jianye District, Nanjing City, Jiangsu Province, 210000

Patentee before: JIANGSU SUNING BANK Co.,Ltd.

Country or region before: China