Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Resource Scheduling Method for a Resource Manager

A resource manager and resource scheduling technology, which is applied in resource allocation, multi-programming devices, etc., can solve the problems that the performance cannot be fully utilized, the waiting time is unpredictable, and the equipment utilization efficiency is not high, so as to shorten the resource acquisition time and avoid Effects of system unresponsive issues

Active Publication Date: 2017-06-16
BEIJING HAITAI FANGYUAN HIGH TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, when the request for the resource exceeds the free resource, the resource needs to be created again, which takes more time
[0005] 2. The thread blocking or request queuing method is used, and the waiting time is unpredictable
When resources are occupied for a long time, any request will not get corresponding feedback, that is, the system will not respond
[0006] 3. When there is a peak in the request for resources, due to the settings of the resource pool boundary size, boundary survival time, boundary timeout time, etc., the utilization efficiency of the equipment is not high, and the performance cannot be fully utilized
However, the cache object thus created is still in the current resource pool, and depends on the limitations of the current resource pool, so it is less flexible to use

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
  • A Resource Scheduling Method for a Resource Manager
  • A Resource Scheduling Method for a Resource Manager
  • A Resource Scheduling Method for a Resource Manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] First of all, explain the pseudocode of the implementation process of the method of the present invention (Pseudocode), in which each parameter is explained as follows:

[0025] POOL: resource pool;

[0026] UNLOCKED: Unlocked resource collection in the resource pool;

[0027] LOCKED: The locked resource collection in the resource pool;

[0028] POOL_MAX: The set capacity of the resource pool (equivalent to UNLOCKED+LOCKED);

[0029] POOL_CACHE: cache resource pool;

[0030] UNLOCKED_CACHE: Unlocked resource collection in the cache resource pool;

[0031] LOCKED_CACHE: The locked resource collection in the cache resource pool;

[0032] POOL_CACHE_MAX: the set capacity of the cache resource pool (equivalent to UNLOCKED_CACHE+LOCKED_CACHE);

[0033] QUEUE: request buffer queue;

[0034] QUEUE_MAX: Request the set capacity of the buffer queue;

[0035] KEEPALIVETIME: The maximum survival time of resources in the unlocked resource collection of the resource pool;

[0036] TIMEOUTTIME: The m...

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 present invention provides a resource scheduling method for a resource manager, including: A. Accessing a resource pool to request resources: if there are resources in the resource pool, obtain the resources; otherwise, proceed to the next step; B. Accessing the cached resource pool to request resources: if the cached resource pool has resources , to obtain resources; otherwise, go to the next step; C. Determine whether the amount of resources in the resource pool is less than the set amount: if yes, create and obtain new resources; otherwise, add the request to the buffer queue; D. Determine whether the buffer queue has reached the maximum amount; if it reaches the maximum If there is a large number, reject the request; otherwise, go to the next step; E. Access the cache resource pool to request resources through the buffer queue: if the cache resource pool has resources, obtain the resource; otherwise, go to the next step; F. Determine whether the resource amount of the cache resource pool is less than the set amount : If yes, create and obtain a new resource; otherwise, increase or decrease the set amount of the cache resource pool according to the size of the buffer queue and return to step E. The above method solves the problems existing in the resource scheduling method of the existing resource manager.

Description

Technical field [0001] The invention relates to a resource scheduling method of a resource manager. Background technique [0002] In the prior art, the resource manager obtains resources from a resource pool with a fixed boundary value by unlocking resource queues or creating resources. When there are too many resource requests, the resource manager waits for free resources through thread blocking or request queuing. [0003] The above prior art has the following problems: [0004] 1. Since a resource pool with a fixed boundary value is set, in this way, the monitored idle resource will be removed from the resource pool after being idle for a certain period of time. At this time, when the request for the resource exceeds the idle resource, the resource needs to be created again, which consumes more time. [0005] 2. Using thread blocking or request queuing, the waiting time is unpredictable. When resources are occupied for a long time, it will cause no response to any request, that...

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): G06F9/50
Inventor 管延军蒋红宇蔡龙
Owner BEIJING HAITAI FANGYUAN HIGH TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products