CN111211915A - Method for adjusting network bandwidth of container, computer device and readable storage medium - Google Patents

Method for adjusting network bandwidth of container, computer device and readable storage medium Download PDF

Info

Publication number
CN111211915A
CN111211915A CN201811394151.4A CN201811394151A CN111211915A CN 111211915 A CN111211915 A CN 111211915A CN 201811394151 A CN201811394151 A CN 201811394151A CN 111211915 A CN111211915 A CN 111211915A
Authority
CN
China
Prior art keywords
container
data
network bandwidth
preset
network
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.)
Granted
Application number
CN201811394151.4A
Other languages
Chinese (zh)
Other versions
CN111211915B (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.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
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 Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201811394151.4A priority Critical patent/CN111211915B/en
Publication of CN111211915A publication Critical patent/CN111211915A/en
Application granted granted Critical
Publication of CN111211915B publication Critical patent/CN111211915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for adjusting network bandwidth of a container, which comprises the steps of periodically detecting the actual network bandwidth of each container of a system, increasing the overall network bandwidth of the system when the network bandwidth of a plurality of containers of the system exceeds the preset network bandwidth, improving the network bandwidth of the containers and avoiding the containers from reaching an interference critical point. The invention also provides computer equipment. The invention also provides a storage medium. The invention dynamically adjusts the network bandwidth of the container based on the weight value, avoids the container from reaching an interference critical point, and can quickly recover to a normal level when the network bandwidth of the container is wholly and greatly reduced.

Description

Method for adjusting network bandwidth of container, computer device and readable storage medium
Technical Field
The invention belongs to the technical field of network regulation, and particularly relates to a method for regulating network bandwidth of a container, computer equipment and a readable storage medium.
Background
In a container-based system, users integrate different workloads onto the same hardware and isolation layers do not correctly isolate shared resources, and workloads that users have the same resources with emphasis may be deployed on the same cloud host, thereby causing performance interference and low resource utilization. The containers tend to reach a critical point of interference as the load increases, resulting in a substantial decrease in efficiency and a more dramatic decrease in performance as the number of containers increases.
Disclosure of Invention
To solve the above problems in the prior art, the present invention provides a method for adjusting a network bandwidth of a container, a computer device and a readable storage medium, which avoid a large drop in the performance of the container.
In order to achieve the purpose of the invention, the invention adopts the following technical scheme:
according to an aspect of the present invention, there is provided a method for adjusting a network bandwidth of a container, the method comprising the steps of:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
Further, the step S100 specifically includes the steps of:
s110, setting an initial weight value for each container in the system;
s120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
Further, the step S120 specifically includes the steps of:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
Further, the preset number obtaining method in step S300 includes:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
According to another aspect of the present invention, there is also provided a computer apparatus, including: a memory, a processor, and a program stored on the memory and executable on the processor for adjusting network bandwidth, the program for adjusting network bandwidth when executed by the processor implementing the steps of:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
Further, the step S100 specifically includes the steps of:
s110, setting an initial weight value for each container in the system;
s120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
Further, the step S120 specifically includes the steps of:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
Further, the preset number obtaining method in step S300 includes:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
According to another aspect of the present invention, there is also provided a computer-readable storage medium having stored thereon a program for adjusting a network bandwidth of a container, the program for adjusting a network bandwidth of a container being executable by a processor to implement the steps of the method for adjusting a network bandwidth of a container according to any one of claims 1 to 4.
The invention has the beneficial effects that: the invention dynamically adjusts the network bandwidth of the container based on the weight value, avoids the container from reaching an interference critical point, and can quickly recover to a normal level when the network bandwidth of the container is wholly and greatly reduced.
Drawings
The above and other aspects, features and advantages of embodiments of the present invention will become more apparent from the following description taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of a method of adjusting network bandwidth of a container according to an embodiment of the present invention;
FIG. 2 is a flowchart of step S100 according to an embodiment of the present invention;
FIG. 3 is a flowchart of step S120 according to an embodiment of the present invention;
FIG. 4 is a graph illustrating average interference levels when a predetermined number of container load data is obtained for different numbers of containers according to an embodiment of the present invention;
FIG. 5 is a graphical illustration of average throughput rates when obtaining different numbers of container load data for a preset number according to an embodiment of the invention;
FIG. 6 is a schematic illustration of runtime when a different number of container load data is obtained for a preset number, according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the specific embodiments set forth herein. Rather, these embodiments are provided to explain the principles of the invention and its practical application to thereby enable others skilled in the art to understand the invention for various embodiments and with various modifications as are suited to the particular use contemplated.
Example one
Fig. 1 is a flowchart of a method of adjusting network bandwidth of a container according to an embodiment of the present invention. Fig. 2 is a flowchart of step S100 according to an embodiment of the present invention. Fig. 3 is a flowchart of step S120 according to an embodiment of the present invention.
Referring to fig. 1, a method for adjusting a network bandwidth of a container according to an embodiment of the present invention includes the steps of:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
Specifically, the system comprises a server, hardware, a plurality of containers and the like, and in order to meet customers in different resource demand fields, a cloud provider integrates a plurality of customers on the same hardware to share resources in order to improve resource utilization rate, that is, the plurality of containers share the server and the hardware resources. Although a significant cost saving is possible, this also brings with it a problem: the containers have the same resource, and are easily interfered when the workload of the containers is large, so that performance interference and low resource utilization rate are caused, the interference is more serious and the performance is more severely reduced along with the increase of the number of the containers which work together at the same time.
In order to prevent the container from reaching the interference critical point, the embodiment of the invention periodically detects the actual network bandwidth of each container of the system, and when the network bandwidths of a plurality of containers of the system exceed the preset network bandwidth, the overall network bandwidth of the system is increased, the network bandwidth of the container is improved, and the container is prevented from reaching the interference critical point.
Referring to fig. 2, the step S100 specifically includes the steps of:
s110, setting an initial weight value for each container in the system;
specifically, in step S110, a weight value is set to each container of the system according to actual needs, so as to allocate a required network bandwidth to each container.
S120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
In order to prevent the containers with high network IO loads and low disk IO loads from affecting the performance of other containers, step S120 further adjusts the weight values of the containers with high network IO loads and low disk IO loads. Step S120 specifically includes the steps of:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
As an embodiment of the present invention, the preset number acquiring method in step S300 includes:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
Fig. 4 is a diagram illustrating average interference strength when acquiring different numbers of container loading data for a preset number according to an embodiment of the present invention. FIG. 5 is a graph illustrating average throughput rates for different numbers of container loads at a preset number of times according to an embodiment of the invention. FIG. 6 is a schematic diagram of runtime when a different number of container load data is obtained for a preset number according to an embodiment of the present invention.
As an embodiment of the present invention, for example, in the system of the embodiment of the present invention, different numbers of containers are allowed to simultaneously load data, that is, data is loaded into the database; as can be seen from fig. 4, when the number of containers simultaneously loading data is 6, the average interference strength of the containers exceeds 80%, in this embodiment, the preset interference strength is 80%, that is, in this embodiment, when the number of containers simultaneously loading data reaches 6, the containers are greatly interfered, as can be seen from fig. 5 and 6, when the number of containers simultaneously loading data reaches 6, the average throughput rate of the containers is reduced by 50% compared with that of 5 containers, and the operation time of the containers is increased by 1 time; that is, in the present embodiment, when the number of containers loaded with data at the same time reaches 6, the interference critical point of the containers is reached, and the performance of the containers is seriously affected.
As an embodiment of the present invention, the boosting factor n may take a value of 2, and when a bandwidth increase condition is satisfied, that is, when the number of containers whose actual network bandwidth exceeds the preset number, the network bandwidth M ═ M × n of the system is increased, in this embodiment, the initial system network bandwidth is 1M/s, and the boosting factor is 2. In a first detection period, if a bandwidth condition is met, the network bandwidth of the system is increased to 2M/s; if the second detection period also meets the bandwidth condition, the network bandwidth of the system is increased to 4M/s, and so on, the network bandwidth increased each time is increased by an exponential law of a lifting coefficient, so that the network bandwidth can be quickly restored to a normal level when the whole network bandwidth is greatly reduced.
In this embodiment, the disk IO data, the network IO data, and the system IO data refer to read-write data volume of the disk, read-write data volume of the network, and read-write data volume of the system, and may also be referred to as a disk IO load, a network IO load, and an IO load of the system.
The invention dynamically adjusts the network bandwidth of the container based on the weight value, avoids the container from reaching an interference critical point, and can quickly recover to a normal level when the network bandwidth of the container is wholly and greatly reduced.
Example two
Fig. 7 is a schematic structural diagram of a computer apparatus according to an embodiment of the present invention.
Referring to fig. 7, the embodiment further provides a computer device 100, the computer device 100 includes a memory 110, a processor 120, and a network bandwidth adjusting program 130 stored in the memory 110 and executable on the processor 120, and the network bandwidth adjusting program 130 implements the following steps when executed by the processor 120:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
As an embodiment of the present invention, step S100 specifically includes:
s110, setting an initial weight value for each container in the system;
s120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
As an embodiment of the present invention, step S120 specifically includes:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
As an embodiment of the present invention, the preset number acquiring method in step S300 includes:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
The computer device 100 in this embodiment may be a desktop computer, a notebook, a palmtop computer, or other computing devices. Those skilled in the art will appreciate that FIG. 2 is merely exemplary of a computing device and is not intended to limit the computing device and may include more or less components than those shown, or some components may be combined, or different components.
The storage 110 may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. The memory 10 may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
The memory 110 may also include both internal and external storage units of the computer device. The memory 110 is used to store the adjustment program of the network bandwidth of the container and other programs and data required by the computer device. The memory 10 may also be used to temporarily store data that has been output or is to be output.
The Processor 120 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
EXAMPLE III
The present invention also provides another embodiment, that is, a computer-readable storage medium storing a program for adjusting a network bandwidth of a container. The adjustment procedure of the network bandwidth of the container may be executed by at least one processor to cause the at least one processor to execute the adjustment procedure of the network bandwidth of the container as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such understanding, the technical solutions of the present invention may be embodied in software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), and include instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
While the invention has been shown and described with reference to certain embodiments, those skilled in the art will understand that: various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims and their equivalents.

Claims (9)

1. A method for adjusting network bandwidth of a container, the method comprising the steps of:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
2. The adjusting method according to claim 1, wherein the step S100 specifically comprises the steps of:
s110, setting an initial weight value for each container in the system;
s120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
3. The adjusting method according to claim 2, wherein the step S120 specifically includes the steps of:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
4. The adjusting method according to any one of claims 1 to 3, wherein the preset number of obtaining methods in the step S300 comprises:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
5. A computer device, characterized in that the computer device comprises: a memory, a processor, and a program stored on the memory and executable on the processor for adjusting network bandwidth, the program for adjusting network bandwidth when executed by the processor implementing the steps of:
s100, distributing the network bandwidth m of a system comprising a plurality of containers to each container so as to enable each container to obtain the distributed network bandwidth;
s200, acquiring the actual network bandwidth of each container, and judging whether the actual network bandwidth of each container exceeds the respective preset network bandwidth, wherein the preset network bandwidth of each container is smaller than the respective allocated network bandwidth;
s300, acquiring the number of containers with actual network bandwidth exceeding the preset network bandwidth, and judging whether the acquired number exceeds the preset number; if yes, after the step S400 is executed, returning to the step S100; if not, directly returning to the step S100;
and S400, enabling the network bandwidth m of the system to be m × n, wherein n is a lifting coefficient larger than 1.
6. The computer device according to claim 5, wherein the step S100 specifically includes the steps of:
s110, setting an initial weight value for each container in the system;
s120, dynamically adjusting the weight value of each container in the system;
and S130, distributing the network bandwidth m of the system to each container according to the weight value of each container.
7. The adjusting method according to claim 6, wherein the step S120 specifically comprises the steps of:
s121, detecting disk IO data in a system and network IO data of each container;
s122, judging whether the network IO data of each container is larger than or equal to preset network IO data or not, and meanwhile judging whether the disk IO data is smaller than or equal to preset disk IO data or not; if the network IO data of the container is greater than or equal to the preset network IO data and the disk IO data is less than or equal to the preset disk IO data, performing step S123; if the network IO data of the container is smaller than the preset network IO data and/or the disk IO data is larger than the preset disk IO data, directly performing step S130;
s123, dynamically adjusting the weight value of the container to limit the network bandwidth to which the container is allocated.
8. The adjusting method according to any one of claims 5 to 7, wherein the preset number of obtaining methods in the step S300 comprises:
when the IO data of the system is larger than the preset IO data, loading the data by different quantities of containers simultaneously;
detecting the average interference strength of containers when different numbers of containers load data simultaneously;
and setting the number of the containers which load data simultaneously when the average interference strength exceeds the preset interference strength as the preset number.
9. A computer-readable storage medium, on which a program for adjusting a network bandwidth of a container is stored, the program being executed by a processor to implement the steps of the method for adjusting a network bandwidth of a container according to any one of claims 1 to 4.
CN201811394151.4A 2018-11-21 2018-11-21 Method for adjusting network bandwidth of container, computer device and readable storage medium Active CN111211915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811394151.4A CN111211915B (en) 2018-11-21 2018-11-21 Method for adjusting network bandwidth of container, computer device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811394151.4A CN111211915B (en) 2018-11-21 2018-11-21 Method for adjusting network bandwidth of container, computer device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111211915A true CN111211915A (en) 2020-05-29
CN111211915B CN111211915B (en) 2022-09-16

Family

ID=70785826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811394151.4A Active CN111211915B (en) 2018-11-21 2018-11-21 Method for adjusting network bandwidth of container, computer device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111211915B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917586A (en) * 2020-08-07 2020-11-10 北京凌云雀科技有限公司 Container bandwidth adjusting method, server and storage medium
CN114826922A (en) * 2021-01-27 2022-07-29 北京金山云网络技术有限公司 Bandwidth adjusting method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531272A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Method for dynamically lossless regulating bandwidth of inner embedded elastic package circular network
CN101252789A (en) * 2008-03-20 2008-08-27 华为技术有限公司 Method and apparatus for allocating multi-frame dynamic band width
CN101729939A (en) * 2008-10-31 2010-06-09 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth
CN102369704A (en) * 2011-09-06 2012-03-07 华为技术有限公司 Allotted bandwidth adjusting method and module, dynamic bandwidth distributing device
US20130209103A1 (en) * 2012-02-13 2013-08-15 Marvell World Trade Ltd. Method and apparatus for dynamically allocating bandwidth to a client in a passive optical network
WO2014172475A1 (en) * 2013-04-18 2014-10-23 Alibaba Group Holding Limited Method and device for scheduling virtual disk input and output ports

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1531272A (en) * 2003-03-11 2004-09-22 ��Ϊ�������޹�˾ Method for dynamically lossless regulating bandwidth of inner embedded elastic package circular network
CN101252789A (en) * 2008-03-20 2008-08-27 华为技术有限公司 Method and apparatus for allocating multi-frame dynamic band width
CN101729939A (en) * 2008-10-31 2010-06-09 中兴通讯股份有限公司 Method and system for distributing passive optical network bandwidth
CN102369704A (en) * 2011-09-06 2012-03-07 华为技术有限公司 Allotted bandwidth adjusting method and module, dynamic bandwidth distributing device
US20130209103A1 (en) * 2012-02-13 2013-08-15 Marvell World Trade Ltd. Method and apparatus for dynamically allocating bandwidth to a client in a passive optical network
WO2014172475A1 (en) * 2013-04-18 2014-10-23 Alibaba Group Holding Limited Method and device for scheduling virtual disk input and output ports
US20140325522A1 (en) * 2013-04-18 2014-10-30 Alibaba Group Holding Limited Method and device for scheduling virtual disk input and output ports

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917586A (en) * 2020-08-07 2020-11-10 北京凌云雀科技有限公司 Container bandwidth adjusting method, server and storage medium
CN114826922A (en) * 2021-01-27 2022-07-29 北京金山云网络技术有限公司 Bandwidth adjusting method, device, server and storage medium

Also Published As

Publication number Publication date
CN111211915B (en) 2022-09-16

Similar Documents

Publication Publication Date Title
US9552230B2 (en) Apparatus and method for allocating a task based on measured and estimated core usage
US20200127938A1 (en) Systems and methods for provision of a guaranteed batch
US9201645B2 (en) Program distribution device, program distribution method, program distribution system, and storage medium
CN107124472A (en) Load-balancing method and device, computer-readable recording medium
CN111767142B (en) Method for setting current limiting threshold of service node and service terminal equipment
CN111211915B (en) Method for adjusting network bandwidth of container, computer device and readable storage medium
US10237339B2 (en) Statistical resource balancing of constrained microservices in cloud PAAS environments
CN104239150B (en) A kind of method and device of hardware resource adjustment
CN111190696A (en) Docker container deployment method, system, device and storage medium
CN109992392B (en) Resource deployment method and device and resource server
US20190392312A1 (en) Method for quantizing a histogram of an image, method for training a neural network and neural network training system
CN112187870B (en) Bandwidth smoothing method and device
US20180167288A1 (en) Service system and control method of the same
CN105607955A (en) Calculation task distribution method and apparatus
CN108845860B (en) Method and device for managing quota and electronic equipment
CN109165135B (en) Data management method, computer readable storage medium and terminal equipment
CN116541167A (en) System flow control method, device, electronic equipment and computer readable medium
CN108628551B (en) Data processing method and device
CN107239341B (en) Resource conversion method and system and virtual machine resource scheduling system
CN112000477B (en) Method, device, equipment and medium for load balancing in pod
WO2018188405A1 (en) Method and device for allocating cloud application resources
CN114116187B (en) Dynamic expansion method and device for container resources
CN114675973A (en) Resource management method, device, storage medium, and program product
CN116069518A (en) Dynamic allocation processing task method and device, electronic equipment and readable storage medium
CN112527482A (en) Task management method and system based on mobile edge cloud platform

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