Calculation device and calculation method
The computing device and method address the challenge of selecting suitable instances for batch jobs by using a job list and calculation unit to ensure timely and cost-effective completion through burst processing.
Patent Information
- Application Number
- JP2023033763
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2043-03-06
AI Technical Summary
Existing systems fail to determine whether an instance is suitable for a specific batch job, particularly in the context of burstable instances in public clouds, where processing power and cost are key factors.
A computing device and method that includes a storage unit for a job list containing batch jobs with time frames and data, and a calculation unit that determines if these jobs can be completed within those frames using instances capable of burst processing by consuming credits.
Enables the determination of suitable instances for batch jobs, optimizing completion within time frames while minimizing costs by identifying optimal instances for burst processing.
Smart Images

Figure 2024125739000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a computing device and a computing method. [Background technology]
[0002] Online hourly rental of computer resources is widely used. Since the higher the processing power of a computer resource, the higher the usage fee, there is a need to select the minimum necessary computer resource. Patent Document 1 discloses a burstable instance recommendation device that includes a processor and provides information about burstable instances provided by a public cloud that are candidates for migrating a specific in-use instance, in which the processor identifies a first candidate burstable instance provided by the public cloud to which the in-use instance can be migrated based on performance time series data of the in-use instance, calculates high-load performance time series data for the identified first candidate burstable instance that estimates the occurrence of a load higher than the performance time series data, calculates a penalty for the high-load performance time series data, and displays the cost of the first candidate burstable instance and the penalty in a recognizable manner. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] US Patent Application Publication No. 2021 / 0398176 Summary of the Invention [Problem to be solved by the invention]
[0004] The invention described in Patent Document 1 does not allow for determining whether an instance is suitable for a particular batch job. [Means for solving the problem]
[0005] A calculation device according to a first aspect of the present invention comprises a memory unit for storing a job list, and a calculation unit for performing calculations on instances that can be burst processed by consuming credits, wherein the job list is a list of batch jobs, and the batch jobs include multiple combinations of a time frame, which is a combination of a time when execution of a job can begin and a time when the job should be completed, and data on the size of the job, and the burst processing is processing of the job at a maximum speed that is higher than a baseline, which is the processing speed of the job that is always available, and the calculation unit determines whether the batch jobs listed in the job list can be completed within the time frame. A calculation method according to a second aspect of the present invention is a calculation method executed by a calculation device having a memory unit for storing a job list and a calculation unit for performing calculations on instances that can be burst processed by consuming credits, wherein the job list is a list of batch jobs, and the batch jobs include multiple combinations of time frames, which are combinations of a time when execution of a job can begin and a time when the job should be completed, and data on the size of the job, and the burst processing is processing of the job at or below a maximum speed that exceeds a baseline, which is the processing speed of the job that is always available, and includes determining whether the job can be completed within the time frame for the batch jobs listed in the job list. Effect of the Invention
[0006] According to the present invention, it is possible to determine whether an instance is suitable for a particular batch job. [Brief description of the drawings]
[0007] [Figure 1] Overall configuration of the batch processing system [Diagram 2] Hardware configuration diagram of a general-purpose computer [Diagram 3] A diagram showing an example of an instance list and a job list. [Figure 4]A diagram showing an example of a resource list and simulation results. [Diagram 5] Diagram explaining credit increase / decrease and communication speed [Figure 6] An example of a visualization of the simulation results. [Figure 7] 1 is a flowchart showing processing by a calculation unit. [Figure 8] 1 is a flowchart showing processing by a calculation unit. [Figure 9] A diagram showing an example of an instance list update screen. [Figure 10] FIG. 13 is a diagram showing an example of a job list update screen. [Figure 11] FIG. 13 is a diagram showing an example of an output screen by a visualization unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] --First embodiment-- A first embodiment of a management server, which is a computing device according to the present invention, will be described below with reference to FIGS.
[0009] FIG. 1 is an overall configuration diagram of a batch processing system S including a management server. The batch processing system S includes a first server 2000a, a second server 2000b, a virtual server 4000, a management server 6000, and a client 9000. In the following, a person who uses the batch processing system S is called a "user." For example, using the batch processing system S includes changing the settings of the batch processing system S and checking its operation. There may be one user or multiple users. The user may be different people depending on the situation, or the same person may always be the same person.
[0010] The first server 2000a includes a first DB software 2310a that handles a database and a first disk 2900a. The second server 2000b includes a second DB software 2310b that handles a database and a second disk 2900b. Data stored in the first disk 2900a and the second disk 2900b is copied to the third disk 4900 by a batch job. This batch job may be executed by any of the first DB software 2310, the second DB software 2310b, and the backup software 4310.
[0011] The virtual server 4000 is a virtual machine and includes backup software 4310 and a third disk 4900. The virtual server 4000 is one of the instances with different performance. In this embodiment, the optimal instance for the virtual server 4000 is calculated. In this embodiment, the available data transfer speed differs for each instance. In this embodiment, for the sake of simplicity, it is assumed that the data transfer speed of the first disk 2900a and the second disk 2900b is sufficiently high and that the data transfer speed of the virtual server 4000 becomes a bottleneck.
[0012] The management server 6000 includes an API interface 100, a calculation unit 6320, an update unit 6330, a collection unit 6340, a change command unit 6360, and a visualization unit 6370. The management server 6000 includes a storage device that stores various data T1000. The various data T1000 includes an instance list T1100, a job list T1200, a resource list T1300, and a simulation result T1400. The API interface 100 is software that allows software components to communicate with each other to share data. The collection unit 6340 acquires data related to the instances currently used by the virtual server 4000 via the API interface 100, and writes the data to the resource list T1300.
[0013] The update unit 6330 updates the instance list T1100 and the job list T1200 based on user input. The calculation unit 6320 performs calculations (described later) based on the instance list T1100 and the job list T1200, and updates the simulation result T1400 and the resource list T1300. The change command unit 6360 reads the resource list T1300, and changes the instance of the virtual server 4000 as necessary. The visualization unit 6370 visualizes the simulation result T1400 and presents it to the client 9000.
[0014] The client 9000 is a computer used by a user. The client 9000 includes a GUI application 9100, which communicates with the management server 6000 to present a GUI screen (to be described later) to the user. The user may access the update unit 6330 of the management server 6000 via the client 9000.
[0015] 2 is a hardware configuration diagram of a general-purpose computer 40 having hardware common to the first server 2000a, the second server 2000b, the management server 6000, and the client 9000. The virtual server 4000 has the same configuration as the general-purpose computer 40 as virtual hardware, but does not have a physical configuration. A hardware device (not shown) that realizes the virtual server 4000 has the same configuration as the general-purpose computer 40. The virtual server 4000 may be realized by any of the first server 2000a, the second server 2000b, and the management server 6000. The hardware configurations of the first server 2000a, the second server 2000b, the management server 6000, and the client 9000 may not be the same, and may further include hardware that the general-purpose computer 40 does not have.
[0016] The general-purpose computer 40 includes a CPU 41, which is a central processing unit, a ROM 42, which is a read-only storage device, a RAM 43, which is a readable and writable storage device, an input / output device 44, which is a user interface, a communication device 45, and a storage device 46. The CPU 41 loads a program stored in the ROM 42 into the RAM 43 and executes it to perform various calculations. The general-purpose computer 40 may be realized by a field programmable gate array (FPGA), which is a rewritable logic circuit, or an application specific integrated circuit (ASIC), which is an integrated circuit for a specific application, instead of the combination of the CPU 41, the ROM 42, and the RAM 43. The general-purpose computer 40 may also be realized by a combination of different configurations, for example, a combination of the CPU 41, the ROM 42, the RAM 43, and an FPGA, instead of the combination of the CPU 41, the ROM 42, and the RAM 43.
[0017] The input / output device 44 is a keyboard, a mouse, a liquid crystal display, etc. However, the general-purpose computer 40 may be provided with a communication port to which a keyboard, a mouse, and a liquid crystal display can be connected instead of the input / output device 44. A person uses the input / output device 44 to exchange information with the general-purpose computer 40. However, the input / output device 44 is not an essential component. In particular, the first server 2000a, the second server 2000b, and the management server 6000 may not include the input / output device 44. The communication device 45 is, for example, a network interface card, and realizes communication with other devices. The communication protocol used by the communication device 45 is arbitrary. The storage device 46 is a non-volatile storage device.
[0018] 3 is a diagram showing an example of the instance list T1100 and the job list T1200. The instance list T1100 and the job list T1200 may be created in advance, or may be newly created by the update unit 6330, or the update unit 6330 may add or delete parts of the list.
[0019] The instance list T1100 is a list of available instances. In this embodiment, the available data transfer speed differs for each instance. In this embodiment, the transfer speed, data transfer speed, processing speed, and throughput have the same meaning. In the following, the transfer speed is also simply called "speed". The instance list T1100 includes the instance name T1110, the reference speed T1120, the maximum speed T1130, the maximum credit T1140, and the hourly cost T1150 of each instance. In this embodiment, the instances are sorted by cost, with the top row being the lowest cost. The instance name T1110 is the name or identifier of the instance. In this embodiment, for convenience of explanation, the instance name T1110 is a combination of "VM" and a number. As will be described later, the larger this number is, the higher the performance and the higher the cost.
[0020] The reference speed T1120 is the data transfer speed that the instance can always use, and is also called the "baseline." The maximum speed T1130 is the highest speed that the instance can use. The maximum credit T1140 is the maximum credit that the instance can hold. Credits will be described in more detail later. The hourly cost T1150 is the cost of using the instance. The instance has a positive correlation between cost and performance. In other words, the higher the hourly cost T1150, the higher the reference speed T1120, the maximum speed T1130, and the maximum credit T1140 tend to be.
[0021] The job list T1200 is a list of jobs to be executed by the batch processing system S. The job list T1200 includes a job name T1210, a data transfer amount T1220, a time frame start time T1230, a time frame end time 1240, and a resource name 1250. The job name T1210 is a name or identifier of a job. For ease of explanation in this embodiment, the job name T1210 is a combination of "job" and a number. Unlike the instance name T1110, the size of the number in the job name T1210 does not have a special meaning. The data transfer amount T1220 is the total amount of data to be transferred in the job.
[0022] The time frame start time T1230 is the time at which the job should start. The time frame end time 1240 is the time at which the job should be completed. The job cannot start before the time frame start time T1230, and is not allowed to run beyond the time frame end time 1240. The resource name 1250 is an identifier of the resource that runs the job. The instance that the resource uses is not stated in the job list T1200, and the calculation unit 6320 can calculate the optimal instance, as described below. Note that in this embodiment, it is not assumed that each resource will change the instance midway.
[0023] In the example shown in Fig. 3, the job with job name T1210 "Job 1" has a time frame from 1:00 to 1:05, and indicates that 50 GB of data will be transferred to virtual server 4000. Note that in the example shown in Fig. 3, the resource name T1250 is "Virtual Server", that is, only the virtual server 4000 in Fig. 1, but a job related to a virtual server not shown may also be described.
[0024] 4 is a diagram showing an example of the resource list T1300 and the simulation result T1400. The resource list T1300 is created by the collection unit 6340 and the calculation unit 6320, and the simulation result T1400 is created by the calculation unit 6320.
[0025] Resource list T1300 includes resource name T1310, current instance T1320, ideal instance T1330, and cost difference T1340. Note that resource list T1300 may further include other resources that use a credit mechanism, such as disks, as indicated by reference symbol T1350.
[0026] The resource name T1310 is an identifier of the resource and corresponds to the resource name T1250 in the job list T1200. The current instance T1320 is the current instance of the resource, and one of the instance names T1110 in the instance list T1100 is input. The ideal instance T1330 is the optimal instance for the resource, and is calculated by the calculation unit 6320. The cost difference T1340 is the difference in cost between the current instance T1320 and the ideal instance T1330. In the example shown in FIG. 4, the current instance T1320 and the ideal instance T1330 of the "Virtual Server" match, and the cost difference T1340 is zero. On the other hand, it is shown that the current instance T1320 of "Server 3" is "VM3", but the ideal instance T1330 is "VM1", and the cost difference T1340 is "-1.0". Note that "Server 3" is a virtual server not shown in FIG. 1.
[0027] The simulation result T1400 is the result of calculation performed by the calculation unit 6320 on a specific combination of resources and instances. Specifically, the simulation result T1400 is the remaining amount, credits, and transfer speed of each job at each time obtained by the simulation. Although only one simulation result T1400 is shown in Fig. 4, a different simulation result T1400 is generated for each combination of resources and instances.
[0028] FIG. 5 is a diagram for explaining the increase and decrease of credits and the communication speed. In FIG. 5, the size of the container indicates the maximum credits, and the liquid stored in the container indicates the credit balance. The inflow of liquid into the container indicates the increase of credits, and the outflow of liquid from the container indicates the consumption of credits. C100 shown in the upper part shows a case where the requested speed is greater than the reference speed and the credit balance is not zero. In this case, the credits are decreasing as shown by the symbol C150, and the consumption rate is proportional to the requested speed. The maximum speed at which an instance can be used is the value of the maximum speed T1130 in the instance list T1100. In the following, processing with a processing speed faster than the reference speed is also called "burst processing". In other words, the condition for burst processing is the consumption of credits. Burst processing can also be called processing of jobs at a maximum speed that is higher than the baseline, which is the processing speed of jobs that can always be used.
[0029] C200 in the middle row shows the case where the requested speed is smaller than the reference speed. In this case, the credits are increasing as shown by symbol C250, and the increase rate is proportional to the reference speed. When the credits reach the maximum value, the credit increase stops. Also in this case, since the requested speed is smaller than the reference speed, the instance can use the requested speed itself. C300 in the bottom row shows the case where the requested speed is greater than the reference speed and the credit balance is zero. In this case, the speed is limited to the reference speed and the acquired credits are zero.
[0030] Fig. 6 is a diagram showing an example of a simulation result visualization diagram G6000 generated by the visualization unit 6370. The simulation result visualization diagram G6000 is generated based on the simulation result T1400 generated by the calculation unit 6320. As described above, a simulation result is generated for a combination of resources and instances. The example shown in Fig. 6 is a case where the resource to be processed is a "virtual server" and the instance being used is "VM2".
[0031] The simulation result visualization diagram G6000 includes a time frame G6100, a job remaining amount G6200, a credit transition G6300, and a speed transition G6400. The time frame G6100, the job remaining amount G6200, the credit transition G6300, and the speed transition G6400 are on the same time axis, and each of the dashed lines indicated by symbols P10 to P100 indicates the same time.
[0032] The time frame G6100 shows, as a Gantt chart, the time frame for the job of the resource to be processed that is listed in the job list T1200. That is, the time frame G6100 is generated based on the job list T1200, not the simulation result T1400. Specifically, the time from the time frame start time T1230 to the time frame end time T1240 is shown by hatching, and the name of the job is written above the hatching.
[0033] The job remaining amount G6200 is a graph showing the time series change in the remaining data amount of each job. The remaining data amount of each job for each time is recorded in the simulation result T1400. However, the remaining data amount of each job at a time not recorded in the simulation result T1400 is the same as the remaining data amount of the job recorded immediately before, or is zero. The vertical axis of each graph in the job remaining amount G6200 may have a different scale for each job, or the scale may be uniform for all jobs.
[0034] The credit transition G6300 is a time series graph showing the transition of the credit of the resource to be processed. The credit for each time is listed in the simulation result T1400. An upper limit is set for the credit that each resource can hold, and it will not exceed a predetermined maximum value. The lower limit of the credit is also zero.
[0035] The speed transition G6400 is a time series graph showing the transition of the speed of the resource to be processed. The speed at each time is described in the simulation result T1400. As described above, the upper limit and reference value of the speed are set in advance for each instance. In this embodiment, the speed of each resource is set to either zero, a reference value, or a maximum value.
[0036] Time P10 is the time frame start time for "Job 1," at which time the transfer begins. Time P20 is the time when "Job 1" finishes the transfer. Between time P10 and time P20, credits are consumed and the maximum speed is utilized. Time P30 is the time frame end time for "Job 1." "Job 1" finishes before the time frame end time. Because no jobs are executed between time P20 and time P40, the credits increase over time and reach the maximum value.
[0037] Time P40 is the start time of the time frame for "Job 2," and time P50 is the start time of the time frame for "Job 3." "Job 2" starts at time P40 and processes at maximum speed by consuming credits, but at time P50 "Job 2" is not yet complete. "Job 3" starts at time P50, and the speed is distributed evenly between the two jobs. As a result, the slope of the line indicating the remaining data amount for "Job 2" in job remaining amount G6200 becomes gentler at the boundary of time P50.
[0038] At time P60, "Job 2" is completed, but "Job 3" is not completed and so processing continues. Because "Job 2" is completed at time P60, "Job 3" no longer needs to be shared with other jobs, and after time P60, the slope of the line indicating the remaining data amount of "Job 3" in job remaining amount G6200 becomes steeper. Time P70 is the end time of the time frame for "Job 2", and "Job 2" is completed before time P70.
[0039] At time P80, the credits become zero and the speed drops to the standard speed. Therefore, after time P80, the slope of the line indicating the remaining data amount of "Job 3" in the job remaining amount G6200 becomes gentler. At time P90, the data transfer of "Job 3" ends. Since there are no jobs after time T90, the credits increase over time. Time P100 is the end of the time frame for "Job 3," and "Job 3" is completed before time P100. This concludes the explanation of Figure K.
[0040] 7 and 8 are flowcharts showing the processing by the calculation unit 6320. In step S301, the calculation unit 6320 selects one of the unprocessed resources as a processing target resource. In the following step S302, the calculation unit 6320 selects the smallest instance as a tentative instance used by the processing target resource, and proceeds to step S303. For example, in the example shown in FIG. 3, "VM1" is selected.
[0041] In step S303, the calculation unit 6320 sets the time to zero. However, here, "zero" is merely used for convenience as the earliest time, and it is sufficient if the time is before the earliest time frame start time T1230 in the job list T1200. Note that the credit at time zero is a predetermined value, for example, zero or a maximum value.
[0042] In step S304, the calculation unit 6320 advances the time by a predetermined time, for example, one second. Hereinafter, this time will be referred to as the "unit time." In the following step S305, the calculation unit 6320 judges whether or not a job is currently being executed. If the calculation unit 6320 judges that a job is currently being executed, it proceeds to the simulation core processing of step S310, and if it judges that a job is not currently being executed, it proceeds to step S306. The calculation unit 6320 can judge whether or not a job is currently being executed as follows. That is, the calculation unit 6320 extracts jobs whose time frame start time is before the current time, deletes completed jobs from the extracted jobs, and can judge whether or not there are any remaining jobs.
[0043] In step S306, the calculation unit 6320 increases the credit of the resource to be processed and returns to step S304. The value of the increased credit is a predetermined value, for example, a value obtained by multiplying the reference speed of the resource to be processed by a predetermined proportional coefficient. The simulation core process in step S310 will be described in detail with reference to FIG. 8.
[0044] In step S311, which is the first step of the simulation core process, the calculation unit 6320 judges whether the credit of the processing target resource at the current time is zero. If the calculation unit 6320 judges that the credit is zero, the calculation unit 6320 proceeds to step S312, and if the calculation unit 6320 judges that the credit is not zero, the calculation unit 6320 proceeds to step S313. In step S312, the calculation unit 6320 sets the speed to a reference value and proceeds to step S314. In step S313, the calculation unit 6320 sets the speed to a maximum value and proceeds to step S314.
[0045] In step S314, the calculation unit 6320 divides the speed of each job equally according to the number of jobs being executed. For example, if the speed is set to 15 Gbps in step S312 or step S313 and there are three jobs being executed, the speed of each job is set to 5 Gbps. In the following step S315, the calculation unit 6320 reduces the remaining amount of data of each job according to the speed. Specifically, the remaining amount of data is reduced by multiplying the value divided equally by the number of jobs in step S314 by the unit time, which is the length of time to be advanced in step S304. For example, if the value divided equally by the number of jobs in step S314 is 5 Gbps and the unit time is 1 second, the amount of data is reduced by 5 Gb.
[0046] In the next step S316, the calculation unit 6320 reduces the credits and ends the process shown in Fig. 8. The value of the credits to be reduced may be a predetermined fixed value or a value according to the maximum speed. Returning to Fig. 7, the explanation will be continued.
[0047] In step S321, which is executed next after step S310, the calculation unit 6320 judges whether or not there is a job that will not be completed by the end of the time frame. For example, in the example shown in FIG. 3, if "Job 1" is not completed at time "01:05:01", a positive judgment is made in this step. If the calculation unit 6320 judges that the job will be completed by the end of the time frame, it proceeds to step S322. If the calculation unit 6320 judges that there is a job that will not be completed by the end of the time frame, it proceeds to step S323, selects an instance of one rank higher, and returns to step S303. By raising the rank of the instance, the cost increases, but at least one of the reference speed and the maximum speed is improved, so that the possibility of the job being completed within the time frame increases.
[0048] In step S322, the calculation unit 6320 judges whether all jobs of the resource to be processed have been completed. Here, "all jobs" refers not only to jobs whose time frame start time has arrived by the current time, but also to all jobs listed in the job list T1200 whose resource name 1250 is a resource to be processed. If the calculation unit 6320 judges that all jobs have been completed, it proceeds to step S323, and if it judges that there is a job that has not been completed, it returns to step S304.
[0049] In step S323, the calculation unit 6320 sets the current instance as the optimal instance because the current instance is the lowest-cost instance that can complete all jobs by the end of the time frame. In the following step S324, the calculation unit 6320 calculates the cost difference with the currently set instance. In the following step S325, the calculation unit 6320 outputs the simulation result to the simulation result T1400. Specifically, the calculation unit 6320 outputs the remaining amount, credit, and speed of each job at each time. However, when the calculation unit 6320 judges in step S321 that it is positive, it erases the progress of the simulation and outputs only the simulation result when the optimal instance is used.
[0050] In the following step S326, the calculation unit 6320 determines whether or not there are any unprocessed resources. If it is determined that there are any unprocessed resources, the calculation unit 6320 returns to step S301. If it is determined that there are no unprocessed resources, the calculation unit 6320 terminates the processing shown in FIG.
[0051] Fig. 9 is a diagram showing an example of an update screen for the instance list T1100. This screen is generated by the update unit 6330. The upper part of Fig. 9 shows an existing instance list T1100. However, a delete button G1100 and a modify button G1200 are arranged on the right end of the instance list T1100. When the user presses the delete button G1100 of any row, the data of that row is deleted. When the user presses the modify button G1200 of any row, the data of that row is entered into the instance input form G2000.
[0052] A user can register a new instance or modify an existing instance using the instance input form G2000 shown in the lower part of Fig. 9. Reference symbol G2100 is an input field for the instance name T1110. Reference symbol G2200 is an input field for the reference speed T1120. Reference symbol G2300 is an input field for the maximum speed T1130. Reference symbol G2400 is an input field for the maximum credit T1140. Reference symbol G2500 is a submit button for adding or modifying an instance. When the user presses the submit button G2400, the update unit 6330 updates the instance list T1100.
[0053] Fig. 10 is a diagram showing an example of an update screen for the job list T1200. This screen is generated by the update unit 6330. An existing job list T1200 is shown at the top of Fig. 10. However, a delete button G1100 and a modify button G1200 are located at the right end of the job list T1200. When the user presses the delete button G1100 for any line, the data for that line is deleted. When the user presses the modify button G1200 for any line, the data for that line is entered into the job input form G4000.
[0054] A user can register a new instance or modify an existing instance using a job input form G4000 shown in the lower part of FIG. 10. Reference symbol G4100 is an input field for a job name T1210. Reference symbol G4200 is an input field for a data transfer amount T1220. Reference symbol G4300 is an input field for a time frame start time T1230. Reference symbol G4400 is an input field for a time frame end time T1240. Reference symbol G4450 is an input field for a resource name T1250. Reference symbol G4500 is a registration button for adding or changing a job. When a user presses the registration button G4500, an update unit 6330 updates the job list T1200. Reference symbol G4600 is a button for checking the optimal instance size. When a user presses this button, a calculation unit 6320 is started to generate a simulation result T1400. After that, a visualization unit 6370 is started to display the simulation result T1400.
[0055] Fig. 11 is a diagram showing an example of an output screen by the visualization unit 6370. Reference symbol G5000 indicates the optimal instance calculated by the calculation unit 6320, that is, the ideal instance T1330 in the resource list T1300. Reference symbol G5100 indicates the difference in cost between the current instance and the optimal instance, that is, the cost difference T1340. Reference symbol G5500 is a button for optimizing the type of instance. When the user presses the button G5500, the change command unit 6360 refers to the resource list T1300 and changes to the optimal instance. The simulation result visualization diagram G6000 shown in the lower part of Fig. 11 is the same as that in Fig. 6, so a description thereof will be omitted.
[0056] According to the above-described first embodiment, the following advantageous effects can be obtained. (1) The management server 6000, which can also be called a calculation device, includes a RAM 43, which is a storage unit that stores a job list T1200, and a calculation unit 6320 that performs calculations on instances that can be burst processed by consuming credits. The job list T1200 is a list of batch jobs. A batch job includes multiple combinations of a time frame, which is a combination of a time frame start time T1230 and a time frame end time T1240, and a data transfer amount T1220. Burst processing is processing a job at a maximum speed that exceeds a baseline, which is a processing speed of a job that can always be used. The calculation unit 6320 determines whether or not a job can be completed within a time frame for a batch job listed in the job list T1200. Therefore, the management server 6000 can determine whether or not an instance is suitable for a specific batch job.
[0057] (2) The RAM 43 stores an instance list T1100. The instance list T1100 lists a reference speed T1120, which is a baseline for each instance, a maximum speed T1130, a maximum credit T1140, and an hourly cost T1150. The calculation unit 6320 identifies an instance that can be completed within a time frame and has the lowest cost for all batch jobs listed in the job list. This allows the management server 6000 to identify the optimal instance.
[0058] (3) The calculation unit 6320 performs a simulation to calculate the remaining job amount and the remaining credit amount for each batch job at each time.
[0059] (4) The calculation unit 6320 first selects the instance with the lowest cost to perform a simulation, and if at least one batch job cannot complete the job within the time frame, selects the instance with the next lowest cost to perform a simulation.
[0060] (5) A job is a transfer of data from the first disk 2900a or the second disk 2900b to the third disk 4900, and the difference between the baseline and maximum speed is the difference in the data transfer speed.
[0061] (Variation 1) In the above-described embodiment, the job was the transfer of data. However, the job is not limited to the transfer of data, and can be various processes that utilize computer resources. For example, the job may be the execution of a calculation. In this case, the difference in the number of calculations per unit time becomes the difference between the baseline and the maximum speed. Specifically, the CPU usage rate, the number of CPU cores, the number of physical CPUs, etc. that the job can use become the difference between the baseline and the maximum speed.
[0062] (Variation 2) In the above-described embodiment, the calculation unit 6320 identifies an optimal instance for each resource. However, the calculation unit 630 may simply determine whether or not a batch job listed in the job list T1200 can be completed within a time frame for a combination of a certain resource and a certain instance. Specifically, the calculation unit 630 may simply execute the processes from steps S303 to S322 in FIG. 7 after a resource and an instance are specified in advance.
[0063] (Variation 3) In the embodiment described above, the calculation unit 6320 identifies the optimal instance by increasing the rank by one at a time (step S323 in FIG. 7). However, the calculation unit 6320 does not necessarily have to increase the rank by one at a time. For example, the calculation unit 6320 may increase the rank by two at a time, or may increase the rank randomly between 1 and 5.
[0064] (Variation 4) The batch processing system S may be a hybrid cloud, i.e., a mixed configuration of a public cloud and a private cloud. In this case, however, the resources that the computing unit 6320 computes may be limited to virtual machines deployed in the public cloud. This is because virtual machines deployed in the private cloud do not need to be restricted because they use their own resources.
[0065] In each of the above-mentioned embodiments and modifications, the configuration of the functional blocks is merely an example. Some functional configurations shown as separate functional blocks may be integrated, or a configuration shown in one functional block diagram may be divided into two or more functions. In addition, some of the functions of each functional block may be provided by other functional blocks.
[0066] In the above-mentioned embodiments and modifications, the program is stored in the ROM 42, but the program may be stored in a non-volatile storage device. The general-purpose computer 40 may have an input / output interface (not shown), and the program may be read from another device via the input / output interface and a medium available to the general-purpose computer 40 when necessary. The medium here refers to, for example, a storage medium that is detachable from the input / output interface, or a communication medium, i.e., a network such as a wired, wireless, or optical network, or a carrier wave or digital signal that propagates through the network. Some or all of the functions realized by the program may be realized by a hardware circuit or an FPGA.
[0067] The above-mentioned embodiments and modifications may be combined with each other. Although various embodiments and modifications have been described above, the present invention is not limited to these. Other aspects that are conceivable within the scope of the technical idea of the present invention are also included in the scope of the present invention. [Explanation of symbols]
[0068] 40: Arithmetic device 4000: Virtual server 4900: 3rd disk 6000: Management server 6320: Arithmetic unit 6330 :Update section 6340: Collection Department 6360: Change Order Department 6370 :Visualization part G6000: Simulation result visualization S: Batch processing system T1100: Instance List T1200: Job List T1300: Resource List T1400: Simulation results
Claims
1. The method includes: providing a storage unit for storing a job list; and a calculation unit for performing calculations related to instances that can perform burst processing by consuming credits; the job list is a list of batch jobs; The batch job includes a plurality of combinations of a time frame, which is a combination of a time when execution of a job can start and a time when the job should be completed, and data regarding the size of the job; The burst processing is processing of the job at a maximum rate above a baseline, which is a processing rate of the job that is always available, and The calculation unit is a calculation device that determines whether the batch job listed in the job list can be completed within the time frame.
2. 2. The computing device according to claim 1, The storage unit further stores an instance list, The instance list includes the baseline, the maximum speed, the maximum credit balance, and a cost required to use the instance for each instance; The calculation unit is a calculation device that identifies the instance that can be completed within the time frame and has the smallest cost for all of the batch jobs listed in the job list.
3. 3. The computing device according to claim 2, The calculation unit is a calculation device that performs a simulation to calculate the remaining amount of the job and the remaining amount of the credit for each of the batch jobs at each time.
4. 4. The computing device according to claim 3, The computing unit first selects the instance with the lowest cost to perform the simulation, and if at least one of the batch jobs cannot complete the job within the time slot, selects the instance with the next lowest cost to perform the simulation.
5. 2. The computing device according to claim 1, A computing device, wherein the job is a transfer of data from a first storage device to a second storage device, and the difference between the baseline and the maximum rate is a difference in data transfer rate.
6. 2. The computing device according to claim 1, A computing device, wherein the job is the execution of an operation, and the difference between the baseline and the maximum speed is the difference in the number of operations per unit time.
7. 3. The computing device according to claim 2, The arithmetic device further comprises a visualization unit that creates a visualization diagram that visualizes a result of the simulation performed by the arithmetic unit.
8. 3. The computing device according to claim 2, The calculation unit further calculates a difference in cost between the instance that is set in advance and the instance that is identified by the calculation unit and has the smallest cost.
9. 3. The computing device according to claim 2, The computing device further comprises a change instruction unit that changes an instance of a virtual machine related to the batch job to the instance identified by the computing unit that has the smallest cost.
10. A computing method executed by a computing device including a storage unit for storing a job list and a computing unit for performing a computation on an instance capable of burst processing by consuming credits, the method comprising: the job list is a list of batch jobs; The batch job includes a plurality of combinations of a time frame, which is a combination of a time when execution of a job can start and a time when the job should be completed, and data regarding the size of the job; The burst processing is processing of the job at a maximum rate above a baseline, which is a processing rate of the job that is always available, and determining whether the batch jobs in the job list can be completed within the time frame;
Citation Information
Patent Citations
Method and device for managing computer resource and processing program
JP2005234637A
Burstable instance recommendation device, method and program
JP2021197039A
Apparatus, method, and storage medium for burstable instance recommendation
US20210398176A1
