Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for resource scheduling

A resource scheduling and resource technology, applied in the computer field, can solve problems such as inelegant killing, resource overrun, process or thread suffering, etc., to achieve the effect of improving user experience and improving stability

Active Publication Date: 2021-01-15
ALIBABA GRP HLDG LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are usually many resources that need to be isolated, such as CPU (central processing unit), memory, IO (input / output), etc. So far, there are many resource scheduling methods developed. In order to maximize resource utilization, generally in Multiple tasks run on one machine, but if we limit resources, the size of the limited resources directly determines the life and death of the task, such as the memory isolation limit. If the task exceeds the memory limit, it will trigger OOM (Out of Memory, memory overflow), the task will be killed gracefully
For a user of a cloud product, the killing of a task will obviously affect the operation of the business, and the current common practice is to restart the task, but it still makes the user feel uncomfortable, because a task is often multiple processes or threads , the original resource overrun caused by one process or thread also caused other processes or threads to suffer

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for resource scheduling
  • Method and device for resource scheduling
  • Method and device for resource scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The application will be described in further detail below in conjunction with the accompanying drawings.

[0057] figure 1 It shows a method for resource scheduling at the control device side provided according to one aspect of the present application, wherein the method includes:

[0058] Step S11: Obtain the resource usage status of the private resource pool for processing tasks;

[0059] Step S12: If the resources of the private resource pool exceed the limit, transfer all or part of the tasks currently processed by the private resource pool to the public resource pool.

[0060]Specifically, a task is executed in a private resource pool by default. Therefore, when there is a task, a resource application for the private resource pool needs to be initiated to the resource allocation device, and the resource allocation device will allocate a private resource pool for the task based on the resource application.

[0061] Here, the private resource pool may be provided b...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The purpose of this application is to provide a method and device for resource scheduling, which includes: obtaining the resource usage status of the private resource pool; if the resource of the private resource pool exceeds the limit, requesting the resource allocation device to block the user's Private resource pool resource application, transfer all or part of the work of the task that currently causes the private resource pool resources to exceed the limit to the public resource pool, after the transfer is completed, request the resource allocation device to stop blocking the private resource pool resource application .

Description

technical field [0001] The present application relates to the field of computers, and in particular to a technology for resource scheduling. Background technique [0002] Resource scheduling is an essential basic function of cloud computing, and the effect of resource scheduling directly determines the stability and cost of cloud computing. There are usually many resources that need to be isolated, such as CPU (central processing unit), memory, IO (input / output), etc. So far, there are many resource scheduling methods developed. In order to maximize resource utilization, generally in Multiple tasks run on one machine, but if we limit resources, the size of the limited resources directly determines the life and death of the task, such as the memory isolation limit. If the task exceeds the memory limit, it will trigger OOM (Out of Memory, memory overflow), the task will be killed gracefully. For a user of a cloud product, the killing of a task will obviously affect the opera...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24H04L29/08
CPCH04L41/5054H04L67/60
Inventor 范孝剑张广舟林晓斌周正中
Owner ALIBABA GRP HLDG LTD