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

Resource preemption method and device, computer readable storage medium and electronic equipment

A technology for resources and resource queues, applied in the fields of computer-readable storage media and electronic devices, resource preemption methods and resource preemption devices, to achieve the effects of improving accuracy, avoiding waste of idle resources, and improving stability

Pending Publication Date: 2021-07-16
YIDU CLOUD (BEIJING) TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present disclosure is to provide a resource preemption method, a resource preemption device, a computer-readable storage medium, and an electronic device, so as to overcome the problems of invalid preemption and circular preemption caused by the limitations of related technologies at least to a certain extent

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
  • Resource preemption method and device, computer readable storage medium and electronic equipment
  • Resource preemption method and device, computer readable storage medium and electronic equipment
  • Resource preemption method and device, computer readable storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033]Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details being omitted, or other methods, components, devices, steps, etc. may be adopted. In other instances, well-known technical solutions...

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 invention belongs to the technical field of computers, and relates to a resource preemption method and device, a computer readable storage medium and electronic equipment. The method comprises the following steps: acquiring queue parameters of a to-be-allocated resource queue and an allocatable resource queue, and determining the to-be-allocated resource queue to perform resource preemption on the allocatable resource queue according to the queue parameters; if the resource preemption is invalid preemption, resetting queue parameters of the to-be-allocated resource queue so as to perform resource preemption again; and if the resource preemption is effective preemption, determining a to-be-preempted container set according to the queue parameters of the allocable resource queue, so as to allocate resources in the to-be-preempted container set to the to-be-allocated resource queue. On one hand, the problem of idle resource waste caused by invalid preemption is avoided, a better resource preemption mode is provided, and the resource preemption efficiency is improved; and on the other hand, the problem of cyclic preemption is solved, the accuracy of determining the resource preemption of the large container is improved, and the effect of improving the resource preemption stability is further achieved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a resource preemption method and resource preemption device, a computer-readable storage medium, and electronic equipment. Background technique [0002] A resource coordinator (Yet Another Resource Negotiator, Yarn for short) is a resource management system provided by the distributed computing infrastructure, which can allocate and schedule resources from the underlying distributed storage system to run upper-level applications. In Yarn's resource manager (Resource Manager), queues are created, and each queue can set the minimum quota and maximum quota of its own parent queue to improve the overall resource utilization of the cluster. When there is no task running in the queue, resources can be lent to other queues with high load through the scheduler; when the queue that lent resources receives a newly submitted application, the loaned resources can be recovered...

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
IPC IPC(8): G06F9/50
CPCG06F9/5038G06F9/5083
Inventor 朱久龙
Owner YIDU CLOUD (BEIJING) TECH CO LTD