Information processing device, information processing system, and bandwidth control method

The information processing device addresses unfair bandwidth allocation by exchanging and calculating tenant-specific bandwidth usage across nodes to ensure equitable distribution.

JP7556295B2Active Publication Date: 2024-09-261FINITY INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021002413
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-08
Publication Date
2024-09-26
Estimated Expiration
2041-01-08

AI Technical Summary

Technical Problem

In information processing systems where multiple applications are shared among tenants, communication resources are not allocated fairly, leading to unfair bandwidth distribution among tenants.

Method used

An information processing device that includes an agent to acquire and exchange bandwidth usage information across nodes, calculate fair bandwidth distribution based on tenant usage, and set the calculated bandwidth to ensure equitable allocation.

Benefits of technology

The solution ensures fair bandwidth allocation among tenants by considering the overall system state, thereby improving communication resource distribution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007556295000015
    Figure 0007556295000015
  • Figure 0007556295000009
    Figure 0007556295000009
  • Figure 0007556295000010
    Figure 0007556295000010
Patent Text Reader

Abstract

To achieve bandwidth control so that the entire information processing system is uniform between tenants.SOLUTION: A node 10 includes a plurality of work loads 11 for each of a plurality of tenants. The node 10 acquires bandwidth information used for each tenant in other nodes 10. The node 10 executes calculation on the basis of used bandwidth information from which a bandwidth distributed to the work load 11 executed by the own node 10 is acquired. The node 10 sets the calculated bandwidth.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, an information processing system, and a bandwidth control method. [Background technology]

[0002] In recent years, a plurality of applications for each of a plurality of tenants have come to be executed by sharing an information processing system including a plurality of nodes. Here, a node is an information processing device that performs information processing. In such an information processing system, a plurality of workloads are executed on each node. Here, a workload is an execution image of an application including middleware and the like.

[0003] In particular, when an application is executed by a container, many (on the order of 100) workloads are executed on one node, compared to when the application is executed on a VM (Virtual Machine). Here, a container is similar to a VM in that it is an application execution environment isolated from other users, but differs from a VM in that it does not have an OS (Operating System). In other words, multiple containers are executed on one OS.

[0004] As a conventional technique for bandwidth control, there is a bandwidth control system that performs bandwidth control to realize a bandwidth securing service and a bandwidth distribution service in a virtual environment. This bandwidth control system preferentially allocates a certain bandwidth from the bandwidth available on the host server to a virtual machine that uses a bandwidth securing service that secures a certain bandwidth. This bandwidth control system then adjusts the bandwidth allocated to a virtual machine that uses a bandwidth distribution service that allocates the bandwidth excluding the bandwidth actually used by the bandwidth securing service from the available bandwidth, according to the load situation due to the communication of the host server.

[0005] Furthermore, as a conventional technique for bandwidth control, there is a network system that includes a plurality of communication devices that accommodate a plurality of sessions and a bandwidth control server that is connected to each of the plurality of communication devices, and that improves bandwidth utilization. In this network system, the bandwidth control server includes a memory and a network interface, and stores communication quality information in the memory, the information including information for calculating a minimum bandwidth that should be allocated to each of the plurality of sessions. The bandwidth control server receives session information related to the sessions accommodated from each of the plurality of communication devices via the network interface, and allocates a minimum bandwidth to each of the plurality of sessions based on the received session information and communication quality information. The bandwidth control server then notifies each of the plurality of communication devices of the allocated minimum bandwidth.

[0006] Also, as a conventional technique, there is a network management system that can monitor the operation status of the policy in each node according to the set QoS policy and guarantees the operation of the policy itself. In this network management system, a policy server assigns a unique policy ID to each of the QoS policies for multiple nodes in the network set via an administrator terminal and centrally manages them as policy information. Then, the policy server sets the QoS policy for each node together with the policy server key assigned to the policy server by referring to the node information. Each node identifies a flow specified by the QoS policy set in the QoS parameter management table and collects bandwidth monitoring information for each policy ID in the QoS report management table. Then, each node transmits bandwidth monitoring data including the policy ID and the policy server key to the policy server at fixed time T1. In the policy server, a bandwidth report processing unit performs bandwidth analysis and alarm analysis on the bandwidth monitoring data from each node at fixed time T2. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2017-41858 A [Patent Document 2] JP 2014-116775 A [Patent Document 3] JP 2001-237831 A Summary of the Invention [Problem to be solved by the invention]

[0008] When a plurality of applications are executed for each of a plurality of tenants while sharing an information processing system including a plurality of nodes, there is a problem that the allocation of communication resources in the information processing system as a whole is not fair among the tenants.

[0009] FIG. 21 is a diagram for explaining that allocation of communication resources is not fair among tenants. In FIG. 21, an information processing system includes a node 1 and a node 2. ti is the workload of tenant t on node i, and R ti W ti is the rate of traffic generated by C j is the bandwidth of switch port j.

[0010] Also, R t R ti The sum over i of (R t =Σ i R ti ) and L t Let R1:R2=L1:L2 be the ratio of bandwidth given to tenant t. Let R1:R2=L1:L2 be the "fair" state. If the bandwidth is insufficient, for example, R 11 +R 21 When C1, the bandwidth is limited to R1:R2=L1:L2. In addition, C2>R 12 +R 22 This means that there are no bandwidth restrictions on the C2 side.

[0011] When bandwidth is controlled only by information in the local node, the bandwidth after control is 11 , r 21would be as follows: r 11 =L1C1 / (L1+L2), r 21 =L2C1 / (L1+L2)

[0012] However, this bandwidth control depends on the state of the remote node (node ​​2) (R 12 , R 22 ) is not reflected, and bandwidth allocation among tenants in the information processing system as a whole may be unfair. For example, 12 is very large compared to other traffic, R1:R2=(R 11 +R 12 ):(R 21 +R 22 ), resulting in unfair bandwidth allocation among tenants.

[0013] An object of one aspect of the present invention is to control bandwidth so as to be fair among tenants in the entire information processing system. [Means for solving the problem]

[0014] In one aspect, the information processing device is an information processing device having multiple workloads for each of multiple tenants, and has an acquisition unit that acquires bandwidth usage information for each tenant in other information processing devices, a calculation unit that calculates the bandwidth to be allocated to the workload to be processed by the information processing device based on the bandwidth usage information acquired by the acquisition unit, and a setting unit that sets the bandwidth calculated by the calculation unit. Effect of the Invention

[0015] According to one aspect, the present invention can control the bandwidth so as to be fair among tenants in the entire information processing system. [Brief description of the drawings]

[0016] [Figure 1] FIG. 1 is a diagram illustrating a bandwidth control performed by the information processing system according to the first embodiment. [Diagram 2]FIG. 2 is a diagram illustrating a hardware configuration of a node. [Diagram 3] FIG. 3 is a diagram illustrating a functional configuration of the agent according to the first embodiment. [Figure 4] FIG. 4 is a diagram illustrating an example of the usage status table. [Diagram 5] FIG. 5 is a diagram illustrating an example of the local table. [Figure 6] FIG. 6 is a diagram illustrating an example of the global table. [Figure 7] FIG. 7 is a diagram illustrating an example of the bandwidth setting table. [Figure 8] FIG. 8 is a diagram illustrating an example of the setting information table. [Figure 9] FIG. 9 is a flowchart showing the flow of the port information acquisition process. [Figure 10A] FIG. 10A is a flowchart (1) showing the flow of information exchange processing. [Figure 10B] FIG. 10B is a flowchart (2) showing the flow of information exchange processing. [Figure 11] FIG. 11 is a flowchart showing the flow of the bandwidth calculation process. [Figure 12] FIG. 12 is a flowchart showing the flow of the allocated bandwidth calculation process. [Figure 13] FIG. 13 is a flowchart showing the flow of the band initial setting process. [Figure 14] FIG. 14 is a flowchart showing the flow of the port information setting process. [Figure 15] FIG. 15 is a diagram illustrating an example of the bandwidth calculation. [Figure 16] FIG. 16 is a diagram illustrating the bandwidth control performed by the information processing system according to the second embodiment. [Figure 17] FIG. 17 is a diagram illustrating a functional configuration of an agent according to the second embodiment. [Figure 18A] FIG. 18A is a flowchart (1) showing the flow of the bandwidth control determination process. [Figure 18B]FIG. 18B is a flowchart (2) showing the flow of the bandwidth control determination process. [Figure 19] FIG. 19 is a diagram illustrating an example of a configuration of an information processing system according to the third embodiment. [Figure 20] FIG. 20 is a diagram illustrating an example of a configuration of an information processing system according to the fourth embodiment. [Figure 21] FIG. 21 is a diagram illustrating that allocation of communication resources is not fair among tenants. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Hereinafter, an information processing device, an information processing system, and a bandwidth control method disclosed in the present application will be described in detail with reference to the accompanying drawings. Note that the disclosed technology is not limited to the embodiments. EXAMPLES

[0018] First, a description will be given of bandwidth control by an information processing system according to a first embodiment. FIG. 1 is a diagram for explaining bandwidth control by the information processing system according to the first embodiment. As shown in FIG. 1, the information processing system 1 according to the first embodiment has two nodes 10 represented by node 1 and node 2. The two nodes 10 are connected by a network 2. Note that, for convenience of explanation, only two nodes 10 are shown here, but the information processing system 1 may have three or more nodes 10.

[0019] The node 10 is an information processing device that performs information processing. A workload 11 is executed in the node 10. In FIG. 11 It is expressed as: W ti is the workload 11 on node i of tenant t, and R ti W ti The workload 11 is, for example, a container in a container environment.

[0020] A virtual switch 12 and an agent 13 operate in the node 10. The virtual switch 12 is represented as a VSW 12 in FIG.

[0021] The agent 13 monitors statistical information of the virtual switch 12 and obtains the bandwidth used at the virtual port 14 of each workload 11. The agent 13 also exchanges information with agents 13 operating on other nodes 10 via the network 2 and obtains information indicating the communication state at the other nodes 10 for each tenant. Then, based on the bandwidth used at the virtual port 14 of each workload 11 and the information obtained from the other nodes 10, the agent 13 calculates the bandwidth to be distributed to the virtual port 14 of its own node 10 so as to be fair among the tenants in the entire information processing system 1. The agent 13 then sets the calculated bandwidth to the virtual port 14 of its own node 10.

[0022] In this way, the agent 13 exchanges information with agents 13 operating on other nodes 10, and calculates the bandwidth to be distributed to the virtual port 14 of its own node 10 so as to be fair among the tenants in the entire information processing system 1, based on the information exchanged with the other nodes 10. Therefore, the information processing system 1 can control the bandwidth so as to be fair among the tenants as a whole.

[0023] Next, the hardware configuration of the node 10 will be described. Fig. 2 is a diagram showing the hardware configuration of the node. As shown in Fig. 2, the node 10 has a processor 21, a RAM (Random Access Memory) 22, a disk 23, a graphic I / F (Interface) 24, an input I / F 25, a storage I / F 26, and a network I / F 27. The processor 21, the RAM 22, the disk 23, the graphic I / F 24, the input I / F 25, the storage I / F 26, and the network I / F 27 are connected to a bus 28.

[0024] The processor 21 is a processing device that reads out and executes a program from the RAM 22. The RAM 22 is a memory that stores programs and intermediate results of program execution. The disk 23 is a non-volatile storage device that stores programs and data. The graphic I / F 24 is an interface used for connection to the display device 3. The input I / F 25 is an interface used for connection to an input device 4 such as a mouse or keyboard. The storage I / F 26 is an interface used for connection to the portable storage 5. The network I / F 27 is an interface used for connection to the network 2. The network I / F 27 has the function of a virtual switch 12.

[0025] The agent 13 is stored in a DVD, which is an example of a recording medium readable by the node 10, and is read from the DVD and installed in the node 10. Alternatively, the agent 13 is stored in a database of another information processing system connected via the network I / F 27, and is read from the database and installed in the node 10. The installed agent 13 is then stored in the disk 23, read into the RAM 22, and executed by the processor 21.

[0026] Next, the functional configuration of the agent 13 will be described. FIG. 3 is a diagram showing the functional configuration of the agent according to the first embodiment. As shown in FIG. 3, the agent 13 has a port information acquisition unit 31, a usage status table 32, an information exchange unit 33, a local table 34, and a global table 35. The agent 13 also has a bandwidth setting table 36, a bandwidth calculation unit 37, a setting information table 38, and a port information setting unit 39. The information exchange unit 33 is an example of an acquisition unit. The bandwidth calculation unit 37 is an example of a calculation unit. The port information setting unit 39 is an example of a setting unit.

[0027] The port information acquiring unit 31 acquires the bandwidth usage status of each virtual port 14 and stores it in the utilization status table 32. The port information acquiring unit 31 acquires the bandwidth usage status of each virtual port 14, for example, by monitoring port statistical information of the virtual switch 12.

[0028] The usage status table 32 is a table that stores the bandwidth usage status of each workload. FIG. 4 is a diagram showing an example of the usage status table. As shown in FIG. 4, the usage status table 32 stores a workload ID and a used bandwidth in association with each other. The workload ID is an identifier for identifying the workload 11. The used bandwidth is the bandwidth in the virtual port 14 that is used by the workload 11. For example, the workload W 11 is the bandwidth B 11 The virtual ports 14 and the workloads 11 are associated with each other based on the information in the setting information table 38.

[0029] 3, the information exchange unit 33 creates a local table 34 based on the information stored in the utilization status table 32. The information exchange unit 33 also exchanges the contents of the local table 34 with the agents 13 of the other nodes 10, and creates a global table 35 based on the bandwidth usage status of the other nodes 10 and the information stored in the local table 34.

[0030] The local table 34 stores the bandwidth usage status in the node 10 for each tenant. FIG. 5 is a diagram showing an example of the local table. As shown in FIG. 5, the local table 34 stores the tenant ID and the local usage bandwidth in association with each other. The tenant ID is an identifier for identifying the tenant. The local usage bandwidth is the bandwidth that the tenant is using in the node 10. For example, based on the usage status table 32 shown in FIG. 4, when B1=B 11 +B 12 , B2=B 21 +B 22 , B3=B 31 is calculated.

[0031] Returning to FIG. 3, the global table 35 stores the bandwidth usage status of each node 10 included in the information processing system 1 for each tenant. FIG. 6 is a diagram showing an example of the global table. As shown in FIG. 6, the global table 35 stores a tenant ID and a global bandwidth usage in association with each other. The tenant ID is an identifier for identifying a tenant. The global bandwidth usage is the bandwidth that the tenant is using in the information processing system 1. In the global bandwidth usage, information received by the information exchange unit 33 from other nodes 10 and information copied from the local table 34 for the own node 10 are stored for each node 10. For example, tenant T1 has a bandwidth R 11 , and at node 2, band R 12 Using,...,node N In the band R 1N is used.

[0032] Returning to FIG. 3, the bandwidth setting table 36 stores the bandwidth ratio (weight) for each tenant. FIG. 7 is a diagram showing an example of the bandwidth setting table. As shown in FIG. 7, the bandwidth setting table 36 stores the tenant ID and the bandwidth setting in association with each other. The tenant ID is an identifier for identifying the tenant. The bandwidth setting is the bandwidth ratio allocated to the tenant. For example, when the bandwidth ratios of L1, L2, and L3 are allocated to three tenants identified as tenant T1, tenant T2, and tenant T3, it is expected that the bandwidth usage of the three tenants identified as tenant T1, tenant T2, and tenant T3 will be controlled to be L1:L2:L3.

[0033] 3, the bandwidth calculation unit 37 calculates the allocated bandwidth of each virtual port 14 of the own node 10 and stores the calculated bandwidth in the setting information table 38. The bandwidth calculation unit 37 calculates the allocated bandwidth of each virtual port 14 so that the bandwidth allocated to the tenants in the entire information processing system 1 is equal to the ratio stored in the bandwidth setting table 36. An example of the calculation method will be described later.

[0034] The setting information table 38 stores information on the workload 11. Fig. 8 is a diagram showing an example of the setting information table. As shown in Fig. 8, the setting information table 38 stores a workload ID, a tenant ID, a port ID, an initial bandwidth setting, and a bandwidth setting in association with each other.

[0035] The workload ID is an identifier for identifying the workload 11. The tenant ID is an identifier for identifying a tenant. The port ID is an identifier for identifying a virtual port 14. The initial bandwidth setting is the ratio of the bandwidth allocated to the workload 11, and is a value before the bandwidth is adjusted. For example, C 11 However, the port ID of tenant T1 is P 11 This is the initial bandwidth setting for workload 11 that uses C 12 However, the port ID of tenant T1 is P 12 Assume that the bandwidth of the workload 11 using the QoS policy is initially set as L1. The ratio of the bandwidth allocated to the tenant T1 and the other tenants T2 and T3 is L1. Then, C 11 =C 12 =L1 / 2, etc., C 11 +C 12 =L1. The bandwidth setting is the ratio of the bandwidth allocated to the workload 11, and is the value after the bandwidth adjustment. Note that when the bandwidth setting is 0, no bandwidth setting is performed for the virtual port 14.

[0036] For example, the workload W 11 For example, the tenant is T1 and the virtual port used is 14. 11 The bandwidth ratio before bandwidth adjustment is C 11 After the bandwidth adjustment, the bandwidth ratio is A 11 It is.

[0037] 3, the port information setting unit 39 sets a bandwidth for the virtual port 14 that is to be subjected to the bandwidth restriction. If the bandwidth setting is 0, the port information setting unit 39 does not set a bandwidth for the virtual port 14.

[0038] Next, the flow of processing by agent 13 will be described with reference to Figs. 9 to 14. Fig. 9 is a flowchart showing the flow of port information acquisition processing. The port information acquisition processing is executed at a predetermined time interval. As shown in Fig. 9, port information acquisition unit 31 assumes that workload 11 is W and executes the following steps S1 to S2 for all workloads W. That is, port information acquisition unit 31 acquires statistical information (used bandwidth) of virtual port 14 to which workload W is connected from virtual switch 12 (step S1), and registers the acquired used bandwidth in association with workload W in utilization status table 32 (step S2).

[0039] In this way, the port information acquisition unit 31 acquires the bandwidth used by the virtual port 14 to which the workload W is connected and registers it in the utilization status table 32, so that the agent 13 can identify the bandwidth usage status of each workload W.

[0040] Fig. 10 is a flowchart showing the flow of information exchange processing. Fig. 10A shows a case where the node 10 transmits information, and Fig. 10B shows a case where the node 10 receives information from another node 10. The information exchange processing is executed at a predetermined time interval.

[0041] 10A, the information exchange unit 33 clears the work area b[] (step S11). Then, the information exchange unit 33 defines the workload 11 as W, and for each workload W, defines the tenant of the workload W as t, and adds the bandwidth usage of the workload W to b[t] (step S12). For example, the information exchange unit 33 refers to the usage status table 32 and adds the bandwidth usage of the workload W used by each tenant t for each tenant t.

[0042] Then, the information exchange unit 33 registers the information of b[] in the local table 34 (step S13), and registers the information in the local table 34 in the portion of the global table 35 corresponding to its own node (step S14). Then, the information exchange unit 33 transmits the information in the local table 34 to the other node 10 (step S15).

[0043] In this way, the information exchange unit 33 transmits the information in the local table 34 to the other nodes 10, whereby the other nodes 10 can obtain the bandwidth usage status of the nodes 10 other than the own node 10.

[0044] As shown in FIG. 10B, the information exchange unit 33 registers the bandwidth usage status for each tenant sent from the other node in the global table 35 in association with the other node 10 (step S21).

[0045] In this way, the information exchange unit 33 registers the bandwidth usage status for each tenant sent from other nodes in the global table 35 in correspondence with the other nodes 10, enabling the agent 13 to allocate bandwidth fairly throughout the entire information processing system 1.

[0046] 11 is a flowchart showing the flow of the bandwidth calculation process. Note that the bandwidth calculation process is executed at predetermined time intervals.

[0047] 11, the bandwidth calculation unit 37 executes the following step S31 for all tenants, where the tenant is t. That is, the bandwidth calculation unit 37 executes an allocated bandwidth calculation process for the tenant t in the current node 10 (step S31). Here, it is assumed that as a result of the allocated bandwidth calculation process for the tenant t, the allocated bandwidth for the tenant t in the current node 10 is calculated as B[t]. Note that a flowchart showing the flow of the allocated bandwidth calculation process for the tenant t will be described later.

[0048] Then, the bandwidth calculation unit 37 executes the following step S32 for all workloads, with the workload being w. That is, the bandwidth calculation unit 37 calculates the bandwidth setting A[w] of the workload w in the current node 10 according to the following formula (1) (step S32). Note that in the following formula, C[w] indicates the initial bandwidth setting of the workload w in the current node 10. The initial bandwidth setting is stored in the setting information table 38. Furthermore, T[t] indicates the total bandwidth of the workloads of tenant t in the current node 10. A flowchart showing the flow of the calculation process of the total bandwidth of the workloads of tenant t will be described later. A[w] = B[t] × C[w] / T[t] (1) That is, when multiple workloads w of tenant t exist in the current node 10, the allocated bandwidth B[t] of tenant t in the current node 10 is distributed among the multiple workloads w of tenant t. After that, the bandwidth calculation unit 37 stores the distributed A[w] in the bandwidth setting corresponding to the relevant workload w in the setting information table 38.

[0049] Fig. 12 is a flowchart showing the flow of the allocated bandwidth calculation process. As shown in Fig. 12, the bandwidth calculation unit 37 judges whether or not the bandwidth of the transmission port (virtual port 14) is insufficient (step S41). If it is judged that the bandwidth of the transmission port (virtual port 14) is not insufficient (step S41; No), the bandwidth calculation unit 37 ends the allocated bandwidth calculation process.

[0050] On the other hand, when it is determined that the bandwidth of the transmission port (virtual port 14) is insufficient (step S41; Yes), the bandwidth calculation unit 37 refers to the global table 35 and calculates the bandwidth usage R of each node (excluding the current node i) for each tenant t. ti The rate Rt of the tenant t is calculated as shown in the following formula (2) (step S42). Rt=Σ i R ti (2)

[0051] Then, the bandwidth calculation unit 37 calculates the allocated bandwidth r t Calculate (step S43).

[0052] For example, when the number of tenants is two, the calculation formula for the allocated bandwidth r1 of tenant T1 in the current node 10 can be expressed by the following formula (3). Note that L1 indicates the ratio of bandwidth allocation of tenant T1 to another tenant T2. L2 indicates the ratio of bandwidth allocation of tenant T2 to another tenant T1. C indicates the bandwidth of virtual port 14 in the current node 10. R1 indicates the rate of tenant T1 calculated by formula (2). R2 indicates the rate of tenant T2 calculated by formula (2). r1=L1C / (L1+L2)-L2R1 / (L1+L2)-L1R2 / (L1+L2)...(3)

[0053] Furthermore, when the number of tenants is two, the calculation formula for the allocated bandwidth r2 of the tenant T2 in the current node 10 can be expressed by the following formula (4). r2=L2C / (L1+L2)-L2R1 / (L1+L2)-L1R2 / (L1+L2)...(4)

[0054] Then, the bandwidth calculation unit 37 ends the allocated bandwidth calculation process.

[0055] Fig. 13 is a flowchart showing the flow of the bandwidth initial setting process. The bandwidth initial setting process is executed when the bandwidth initial setting of the setting information table 38 is changed. As shown in Fig. 13, the bandwidth calculation unit 37 clears the total bandwidth area T[] for each tenant in the current node 10 (step S51).

[0056] Then, the bandwidth calculation unit 37 sets the workload 11 as w, and for each of all workloads w, adds the initial bandwidth setting of the workload w to T[t] for each tenant t (step S52). The initial bandwidth setting is stored in the setting information table 38. Then, the bandwidth calculation unit 37 ends the initial bandwidth setting process.

[0057] In this way, the bandwidth calculation unit 37 calculates the bandwidth to be distributed to the workload to be processed by the node 10 based on the proportion of bandwidth distributed to each tenant, thereby enabling the agent 13 to allocate bandwidth fairly throughout the information processing system 1.

[0058] 14 is a flowchart showing the flow of the port information setting process. The port information setting process is executed at predetermined time intervals.

[0059] As shown in FIG. 14, the port information setting unit 39 executes the following steps S51 to S54 for all workloads w, where the workload 11 is w. That is, the port information setting unit 39 refers to the setting information table 38 and extracts the bandwidth setting value v corresponding to the workload w (step S51). Then, the port information setting unit 39 judges whether the value v is greater than 0 (step S52). If it is judged that the value v is greater than 0 (step S52; Yes), the port information setting unit 39 sets the bandwidth control value v to the port to which the workload w is connected (step S53). On the other hand, if it is judged that the value v is not greater than 0 (step S52; No), the port information setting unit 39 disables the bandwidth control of the port to which the workload w is connected (step S54).

[0060] Then, port information setting unit 39 ends the port information setting process.

[0061] In this way, the port information setting unit 39 sets the bandwidth calculated by the bandwidth calculation unit 37 for the workload w to the port to which the workload w is connected, thereby enabling the agent 13 to communicate at a fair bandwidth throughout the information processing system 1.

[0062] FIG. 15 is a diagram illustrating an example of bandwidth calculation. In FIG. 15, an information processing system 1 includes a node 1 and a node 2. ti is the workload of tenant t on node i, and R ti W tiis the rate of traffic generated by C j is the bandwidth of switch port j. It is assumed that there are two tenants, and the bandwidths of L1 and L2 are allocated to the two tenants identified as tenant T1 and tenant T2.

[0063] Here, the workload W 11 The bandwidth of traffic generated by is R 11 Suppose the workload W 21 The bandwidth of traffic generated by is R 21 Suppose that the bandwidth of C1 on the node 1 side is insufficient. Then, the bandwidth calculation unit 37 calculates the workload W 11 Allocated bandwidth r 11 is calculated using formula (3). Formula (3) can be obtained as follows:

[0064] First, the bandwidth of two tenants is allocated in the proportion of L1 and L2. 11 +R 12 ):(r 21 +R 22 ) has an L1:L2 relationship. Therefore, r 21 is expressed as the following equation (5). r 21 =L2(r 11 +R 12 ) / L1-R 22 (5)

[0065] And C1 is (r 11 +r 21 ), C1 can be converted to the following equation (6) using equation (5). C1=r 11 +L2(r 11 +R 12 ) / L1-R 22 (6) Furthermore, C1 can be transformed as shown in the following equations (7) and (8). C1=(1+L2 / L1)r 11 +R 12 L2 / L1-R 22 (7) (1+L2 / L1)r11 =C1-R 12 L2 / L1+R 22 (8)

[0066] Then, r 11 is expressed as the following equation (9). r 11 =L1C1 / (L1+L2)-L2R 12 / (L1+L2)+L1R 22 / (L1+L2) (9) That is, r 11 is the same as equation (3).

[0067] Similarly, r 21 is expressed as the following equation (10). r 21 =L2C1 / (L1+L2)+L2R 12 / (L1+L2)-L1R 22 / (L1+L2) (10) That is, r 21 is the same as equation (4).

[0068] In this example, one workload exists for the tenant of node 1. However, there are cases where multiple workloads exist for the tenant of node 1. In such a case, the bandwidth calculation unit 37 may allocate a bandwidth for each tenant as shown in formula (9) and then distribute the allocated bandwidth among the multiple workloads (see loop 2 in FIG. 11).

[0069] Here, the effect of the bandwidth calculation shown in FIG. 15 will be shown by inputting specific numerical values. For example, the bandwidth ratios L1 and L2 allocated to the two tenants are each set to "1." The bandwidths C1 and C2 of the virtual port 14 in node 1 and the virtual port 14 in node 2 are each set to "10." The workload W of the tenant T1 in node 1 is set to "10." 11 The traffic rate R 11 Let us set the workload W of tenant T2 on node 1 as "10". 21 The traffic rate R 21Let us set the workload W of tenant T1 on node 2 as "10". 12 The traffic rate R 12 Let us set the workload W of tenant T2 on node 2 as "4". 22 The traffic rate R 22 Let's set it to "2".

[0070] Under these circumstances, 11 is calculated based on formula (9). That is, r 11 is calculated as "4". Also, r 21 is calculated based on formula (10). That is, r 21 is calculated as "6". Then, the bandwidth R1 allocated to tenant T1 is r 11 and R 12 The bandwidth R2 allocated to tenant T2 is r 21 and R 22 The result is "8" (=6+2), which is the sum of these two. In other words, the bandwidth calculation process can calculate the bandwidth so that it is fair among the tenants.

[0071] In addition, when calculating the bandwidth using only the information in node 1, r 11 , r 21 are calculated based on the following formulas, respectively: r 11 =L1C1 / (L1+L2) r 21 =L2C1 / (L1+L2)

[0072] That is, r 11 , r 21 are calculated as "5". Then, the bandwidth R1 allocated to tenant T1 is r 11 and R 12 The bandwidth R2 allocated to tenant T2 is r 21 and R 22The result is the sum of the two, which is "7" (=5+2). In other words, if the bandwidth is calculated using only the information in node 1, the bandwidth will be calculated unfairly among the tenants.

[0073] [Effects of Example 1] In this manner, in the above-described first embodiment, the node 10 has a plurality of workloads for each of a plurality of tenants, and each node 10 performs the following processing. The node 10 acquires bandwidth usage information for each tenant in the other nodes 10. The node 10 calculates the bandwidth to be distributed to the workload 11 processed by the node 10 based on the acquired bandwidth usage information. The node 10 sets the calculated bandwidth. With this configuration, the information processing system 1 can control the bandwidth so that it is fair among the tenants in the information processing system 1 as a whole.

[0074] Furthermore, in the above-described first embodiment, the node 10 acquires the bandwidth usage information for each tenant in the other node 10 by exchanging the bandwidth usage information for each tenant with the other node 10. According to this configuration, the node 10 acquires the bandwidth usage information for each tenant in the other node 10, and thereby becomes able to control the bandwidth so as to be fair among the tenants in the information processing system 1 as a whole.

[0075] Furthermore, in the above-described first embodiment, the node 10 calculates the bandwidth to be distributed to the workload processed by the node 10 itself, based on the ratio of the bandwidth distributed to each tenant in the information processing system 1. According to this configuration, the node 10 can fairly allocate the bandwidth among the tenants in the entire information processing system 1.

[0076] Moreover, in the above-described first embodiment, the node 10 determines the workload 11 for which a bandwidth is to be set, and sets a calculated bandwidth for the determined workload 11. According to this configuration, the node 10 can perform communication at a fair bandwidth in the entire information processing system 1. EXAMPLES

[0077] Incidentally, in the first embodiment, it has been described that the node 10 calculates the bandwidth to be distributed to the workload 11 processed by the node 10 based on the bandwidth usage information for each tenant in the other nodes 10, and sets the calculated bandwidth. However, due to the constraints of hardware resources, there may be a limit to the number of ports for which the bandwidth can be set.

[0078] In the second embodiment, a case will be described in which the node 10 determines a virtual port 14 for which a bandwidth can be set, and sets the calculated bandwidth for the determined virtual port 14.

[0079] Here, the bandwidth control by the information processing system 1 will be described with reference to FIG. 16. FIG. 16 is a diagram for explaining the bandwidth control by the information processing system according to the second embodiment. As shown in FIG. 16, in a container environment, more than 100 containers (workloads 11) are executed on one node 10. However, due to restrictions on hardware resources, there is a limit to the number of virtual ports 14 for which a bandwidth can be set. Therefore, the node 10 determines a virtual port 14 for which a bandwidth can be set, and sets the calculated bandwidth for the determined virtual port 14.

[0080] Fig. 17 is a diagram showing a functional configuration of an agent according to a second embodiment. Note that the same components as those of the agent 13 shown in Fig. 3 are indicated by the same reference numerals, and explanations of the overlapping components and operations will be omitted. A difference between the first embodiment and the second embodiment is that a bandwidth control determination unit 41 is added. Note that the bandwidth control determination unit 41 is an example of a determination unit.

[0081] The bandwidth control determination unit 41 determines the workloads 11 to be subjected to bandwidth control. For example, the bandwidth control determination unit 41 determines whether or not to control the bandwidth of all the workloads 11 of the own node 10. As an example, the bandwidth control determination unit 41 generates a list of values ​​obtained by subtracting the value of the set bandwidth (allocated bandwidth) from the value of the used bandwidth for each workload 11. Then, the bandwidth control determination unit 41 determines the top n workloads 11 in the generated list as the workloads 11 to be subjected to bandwidth control, where n is the number of workloads that can be subjected to bandwidth control. Then, the bandwidth control determination unit 41 sets the value of the bandwidth setting of the setting information table 38 of the workloads 11 that are not subjected to bandwidth control to "0". That is, the bandwidth control determination unit 41 invalidates the bandwidth setting of the workloads 11 that are not subjected to bandwidth control.

[0082] The bandwidth calculation unit 37 calculates the bandwidth to be distributed to the workload 11, which is the target of bandwidth control determined by the bandwidth control determination unit 41. For example, in the bandwidth calculation diagram shown in FIG. 15, the workload W 13 If the number of bandwidth controllable nodes n is 2, the workload W 13 is not determined as the workload 11 subject to bandwidth control, and workload W 11 and W 21 is determined as the workload 11 to be subjected to bandwidth control. Then, the bandwidth calculation unit 37 calculates the bandwidth of the workload belonging to the tenant 1 as r 11 The bandwidth calculation unit 37 calculates the bandwidth of the workload belonging to the tenant 2 as r 21 Then, the bandwidth calculation unit 37 calculates the workload W 11 The bandwidth setting value of r 11 From the workload W 13 The bandwidth calculation unit 37 subtracts the bandwidth setting value "0" from the workload W 13 The bandwidth setting is disabled, so the bandwidth is not calculated.

[0083] 18A and 18B are flowcharts showing the flow of the bandwidth control determination process. Note that the bandwidth control determination process is executed at predetermined time intervals.

[0084] 18A, the bandwidth control determination unit 41 determines whether or not to control the bandwidth of each workload 11 for the own node 10 (step S61). Note that a flowchart showing the flow of a process for determining whether or not to control the bandwidth of each workload 11 will be described later.

[0085] Then, the bandwidth control determination unit 41 sets the workload 11 to w and executes the following steps S62 to S63 for all workloads w. That is, the bandwidth control determination unit 41 judges whether or not to perform bandwidth control for the workload w (step S62). If it is judged that bandwidth control is not to be performed (step S62; No), the bandwidth control determination unit 41 sets the value of the bandwidth setting in the setting information table 38 corresponding to the workload w to "0" (step S63). On the other hand, if it is judged that bandwidth control is to be performed (step S62; Yes), the bandwidth control determination unit 41 ends the bandwidth control determination process in order to perform bandwidth calculation later.

[0086] As shown in FIG. 18B, the bandwidth control determination unit 41 refers to the setting information table 38 and the usage status table 32, and determines the bandwidth excess information D of the node 11(i). ti (=B ti -A ti ) is calculated (step S71). Here, B ti is the workload W on node i ti The bandwidth usage status (usage bandwidth of the usage status table 32) of ti is the workload W on node i ti 3 shows the bandwidth setting information (band setting of the setting information table 38).

[0087] Then, the bandwidth control determination unit 41 determines whether ti Select n largest ones and assign them to the corresponding workload W ti is determined as a target for bandwidth control (step S72).

[0088] [Effects of Example 2] In this manner, in the above-described second embodiment, the node 10 performs the following processing when the number of workloads 11 processed by the node 10 exceeds the number of configurable bandwidths. The node 10 determines the workload 11 corresponding to the virtual port 14 used by the workload 11 as a bandwidth control target according to the difference obtained by subtracting the bandwidth setting information from the bandwidth usage information for the virtual port 14. Then, the node 10 calculates the bandwidth to be distributed to the workload 11 determined as the bandwidth control target. With this configuration, even if there is a limit to the number of ports for which a bandwidth can be set due to hardware resource constraints, the node 10 can control the bandwidth to be distributed to the workload 11 processed by the node 10 so as to be fair among tenants. EXAMPLES

[0089] Incidentally, in the first embodiment, it has been described that the node 10 acquires the bandwidth usage information for each tenant in the other node 10 by exchanging the bandwidth usage information for each tenant with the other node 10. However, the node 10 is not limited to this, and may acquire the bandwidth usage information for each tenant in the other node 10 by exchanging the bandwidth usage information for each tenant with the other node 10 via a storage area that is commonly accessible by the multiple nodes 10.

[0090] Therefore, in Example 3, a case will be described in which a node 10 obtains bandwidth usage information for each tenant on another node 10 by exchanging the bandwidth usage information for each tenant with the other node 10 via a memory area that can be commonly accessed by multiple nodes 10.

[0091] Here, the configuration of the information processing system 1 according to the third embodiment will be described with reference to FIG. 19. FIG. 19 is a diagram illustrating an example of the configuration of the information processing system according to the third embodiment. As illustrated in FIG. 19, the information processing system 1 includes Stat 51 in addition to the multiple nodes 10. Stat 51 is a storage area that can be commonly accessed by the multiple nodes 10. The agent 13 of each node 10 writes bandwidth usage information for each of its own tenants into Stat 51 as a storage area that can be commonly accessed by the multiple nodes 10. Then, the agent 13 reads bandwidth usage information for each of the tenants of the other nodes 10 from Stat 51.

[0092] For example, the information exchange unit 33 of the agent 13 creates a local table 34 based on the information stored in the usage status table 32 of its own node 10. Then, the information exchange unit 33 exchanges the contents of the local table 34 with the agents 13 of the other nodes 10 via Stat 51. Then, the information exchange unit 33 creates a global table 35 based on the bandwidth usage status of the other nodes 10 and the information stored in the local table 34.

[0093] [Effects of Example 3] In this manner, in the above-described third embodiment, the node 10 acquires the bandwidth usage information for each tenant in the other node 10 by exchanging the bandwidth usage information for each tenant with the other node 10 via a storage area that is commonly accessible to the plurality of nodes 10. According to this configuration, the node 10 can acquire the bandwidth usage information for each tenant with the other node 10 when necessary, by using the storage area that is commonly accessible to the plurality of nodes 10. EXAMPLES

[0094] In the first embodiment, the agent 13 of each node 10 creates a local table 34 based on the information stored in the usage status table 32, exchanges the contents of the local table 34 with the agent 13 of the other nodes 10, and creates a global table 35. The agent 13 then uses the global table 35 to calculate the allocation bandwidth of each virtual port 14 of the node 10 so that the bandwidth allocated to the tenants in the entire information processing system 1 is a set ratio, and distributes the bandwidth to the workload 11 of each tenant. In the third embodiment, each node 10 exchanges the bandwidth usage information for each tenant with the other nodes 10 via a storage area that can be commonly accessed by the multiple nodes 10. However, the information processing system 1 is not limited to this, and may include a controller that processes the storage area in addition to the storage area that can be commonly accessed by the multiple nodes 10.

[0095] Therefore, in the fourth embodiment, a case will be described in which the information processing system 1 includes a storage area that can be commonly accessed by a plurality of nodes 10, as well as a controller that processes this storage area.

[0096] Here, the configuration of the information processing system 1 according to the fourth embodiment will be described with reference to FIG. 20. FIG. 20 is a diagram showing an example of the configuration of the information processing system according to the fourth embodiment. As shown in FIG. 20, the information processing system 1 includes a Stat 51 and a controller 61 in addition to a plurality of nodes 10. The Stat 51 is a storage area that can be commonly accessed by the plurality of nodes 10. The controller 61 manages the Stat 51, calculates the bandwidth distribution of each node 10, and issues instructions to the agent 13 of each node 10.

[0097] For example, in each node 10, the information exchange unit 33 of the agent 13 creates a local table 34 based on information stored in the usage status table 32 of the node 10, and writes the local table 34 of the node 10 to Stat 51. Then, the controller 61 creates a global table 35 from the local table 34 of each node 10. Then, the controller 61 uses the global table 35 to calculate the bandwidth to be assigned to the tenant for each node 10 so that the bandwidth assigned to the tenant in the entire information processing system 1 is a set ratio. Then, the controller 61 notifies each node of the calculated bandwidth to be assigned to the tenant. Then, in each node 10, the bandwidth calculation unit 37 of the agent 13 uses the notified bandwidth to be assigned to the tenant to distribute it to the workload 11 of each tenant.

[0098] [Effects of Example 4] In this manner, in the above-described fourth embodiment, the controller 61 acquires the bandwidth usage information for each tenant in each node 10 from the Stat 51, and calculates the bandwidth for each tenant in each node 10 based on the acquired bandwidth usage information. Then, the controller 61 notifies each node 10 of the calculated bandwidth for each tenant in each node 10. Also, each node 10 writes the bandwidth usage information for each tenant in the node 10 to the Stat 51. Then, each node 10 calculates the bandwidth to be distributed to the workload 11 to be processed by the node 10 based on the notified bandwidth for each tenant in the node 10. Then, each node 10 sets the calculated bandwidth to the virtual port 14. According to this configuration, the controller 61 calculates the bandwidth for each tenant in each node 10, so that each node 10 can reduce the load on the bandwidth calculation process. Also, the controller 61 collectively calculates the bandwidth for each tenant in each node 10, so that it is possible to reliably control the bandwidth so as to be fair among the tenants in the information processing system 1 as a whole.

[0099] Each node 10 can be realized by installing the functions of the agent 13 and the like in a known information processing device such as a personal computer or a workstation.

[0100] Furthermore, in the first to fourth embodiments, the workload 11 is, for example, a container in a container environment. However, the present invention is not limited to this, and can also be applied to, for example, an application belonging to a tenant.

[0101] Moreover, each component of the illustrated node 10 does not necessarily have to be physically configured as illustrated. That is, the specific mode of distribution and integration of the node 10 is not limited to that illustrated, and all or a part of the node 10 can be functionally or physically distributed and integrated in any unit according to various loads and usage conditions. For example, the bandwidth calculation unit 37 may be distributed into a first bandwidth calculation unit that calculates a bandwidth for each tenant and a second bandwidth calculation unit that calculates a bandwidth to be allocated to the workload 11 of each tenant from the bandwidth for each tenant. Also, the port information acquisition unit 31 and the port information setting unit 39 may be integrated. Also, a storage unit (not shown) that stores various tables may be connected via a network as an external device of the node 10.

[0102] Regarding the above embodiments including Examples 1 to 4, the following supplementary notes are further disclosed.

[0103] (Supplementary Note 1) An information processing device having a plurality of workloads for each of a plurality of tenants, an acquisition unit that acquires bandwidth usage information for each tenant in another information processing device; a calculation unit that calculates a bandwidth to be allocated to a workload to be processed by the device itself based on the bandwidth usage information acquired by the acquisition unit; a setting unit that sets the bandwidth calculated by the calculation unit; 13. An information processing device comprising:

[0104] (Additional Note 2) The acquisition unit acquires the bandwidth usage information for each tenant in the other information processing device by exchanging the bandwidth usage information for each tenant with the other information processing device. 2. The information processing device according to claim 1 .

[0105] (Additional Note 3) The acquisition unit acquires the bandwidth usage information for each tenant in the other information processing device by exchanging the bandwidth usage information for each tenant with the other information processing device via a storage area that the plurality of information processing devices can commonly access. 2. The information processing device according to claim 1 .

[0106] (Appendix 4) The information processing device according to appendix 1, 2 or 3, characterized in that the calculation unit calculates the bandwidth to be distributed to the workload to be processed by the device itself based on the proportion of bandwidth distributed to each tenant in the information processing system.

[0107] (Supplementary Note 5) Further comprising a determination unit for determining a workload for which a bandwidth is set; The setting unit sets the bandwidth calculated by the calculation unit for the workload determined by the determination unit. 5. The information processing device according to any one of claims 1 to 4.

[0108] (Additional Note 6) When the number of workloads processed by the device itself exceeds the number of configurable bandwidths, the determination unit determines the workloads corresponding to the ports to be subject to bandwidth control in accordance with a difference obtained by subtracting the bandwidth setting information from the bandwidth usage information for the ports used by the workloads. 6. The information processing device according to claim 5,

[0109] (Supplementary Note 7) In an information processing system in which a plurality of information processing devices (10) are used to process a plurality of workloads for each of a plurality of tenants, Each information processing device includes: an acquisition unit that acquires bandwidth usage information for each tenant in another information processing device; a calculation unit that calculates a bandwidth to be allocated to a workload to be processed by the device itself based on the bandwidth usage information acquired by the acquisition unit; a setting unit that sets the bandwidth calculated by the calculation unit; An information processing system comprising:

[0110] (Supplementary Note 8) A bandwidth control method in an information processing system that processes a plurality of workloads for each of a plurality of tenants using a plurality of information processing devices, comprising: Each information processing device includes: Acquire bandwidth usage information for each tenant in another information processing device; Calculating a bandwidth to be distributed to the workload to be processed by the device itself based on the bandwidth usage information acquired by the acquisition unit; Set the bandwidth calculated by the calculation unit 23. A bandwidth control method comprising the steps of:

[0111] (Supplementary Note 9) An information processing system having a plurality of information processing devices each having a plurality of workloads for a plurality of tenants, a controller, and a common storage area, The controller: an acquisition unit that acquires bandwidth usage information for each tenant in each information processing device from the storage area; a first calculation unit that calculates a bandwidth for each tenant in each information processing device based on the bandwidth usage information acquired by the acquisition unit; a notification unit that notifies each information processing device of the bandwidth for each tenant in each information processing device calculated by the first calculation unit, Each information processing device includes: a writing unit that writes bandwidth usage information for each tenant in the own device into the storage area; a second calculation unit that calculates a bandwidth to be distributed to a workload to be processed by the own device based on the bandwidth for each tenant in the own device notified by the notification unit; a setting unit that sets the band calculated by the second calculation unit; An information processing system comprising: [Explanation of symbols]

[0112] 1. Information Processing Systems 2 Network 10 nodes 11 Workload 12 Virtual Switches 13. Agent 14 Virtual Ports 31 Port information acquisition unit 32 Usage Table 33 Information Exchange Department 34 Local Tables 35 Global Table 36 Bandwidth setting table 37 Bandwidth Calculation Section 38 Setting Information Table 39 Port information setting section 41 Bandwidth control decision unit

Claims

1. An information processing apparatus having a plurality of workloads for each of a plurality of tenants, an acquisition unit for acquiring bandwidth usage information for each tenant in another information processing device; a calculation unit that calculates a bandwidth to be allocated to a workload to be processed by the device itself based on the bandwidth usage information acquired by the acquisition unit; a setting unit that sets the bandwidth calculated by the calculation unit; 13. An information processing device comprising:

2. The acquisition unit acquires bandwidth usage information for each tenant in another information processing device by exchanging bandwidth usage information for each tenant with the other information processing device.

2. The information processing apparatus according to claim 1,

3. The acquisition unit acquires the bandwidth usage information for each tenant in the other information processing device by exchanging the bandwidth usage information for each tenant with the other information processing device via a storage area that is commonly accessible to the plurality of information processing devices.

2. The information processing apparatus according to claim 1,

4. The information processing device according to claim 1, 2 or 3, characterized in that the calculation unit calculates a bandwidth to be distributed to a workload to be processed by the information processing device itself based on a ratio of bandwidth distributed to each tenant in an information processing system including the multiple information processing devices.

5. A determination unit that determines a workload for which a bandwidth is to be set, The setting unit sets the bandwidth calculated by the calculation unit for the workload determined by the determination unit.

5. The information processing apparatus according to claim 1, wherein the information processing apparatus is a computer.

6. When the number of workloads processed by the device itself exceeds the number of configurable bandwidths, the determination unit determines the workloads corresponding to the ports used by the workloads as targets for bandwidth control in accordance with a difference obtained by subtracting bandwidth setting information from bandwidth usage information for the ports.

6. The information processing apparatus according to claim 5,

7. In an information processing system in which a plurality of information processing devices are used to process a plurality of workloads for each of a plurality of tenants, Each information processing device includes: an acquisition unit for acquiring bandwidth usage information for each tenant in another information processing device; a calculation unit that calculates a bandwidth to be allocated to a workload to be processed by the device itself based on the bandwidth usage information acquired by the acquisition unit; a setting unit that sets the bandwidth calculated by the calculation unit; An information processing system comprising:

8. A bandwidth control method in an information processing system that processes a plurality of workloads for a plurality of tenants using a plurality of information processing devices, comprising: Each information processing device includes: Acquire bandwidth usage information for each tenant in another information processing device; Calculates the bandwidth to be distributed to the workload to be processed by the device based on the acquired usage bandwidth information; Set the calculated band 23. A bandwidth control method comprising the steps of:

Citation Information

Patent Citations

  • Network management system

    JP2001237831A

  • Network system, bandwidth control method, and bandwidth control apparatus

    JP2014116775A

  • Bandwidth control system and bandwidth control method

    JP2017041858A

  • File block placement in a distributed network

    US20150333994A1

  • Network Resource Governance in Multi-Tenant Datacenters

    US20160094413A1