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

Shared resource allocation method and device

A technology for sharing resources and threads, applied in the field of information, can solve the problems of unpredictable thread performance, affecting the service quality of target threads, etc., to achieve the effect of improving utilization, improving accuracy, and ensuring service quality

Active Publication Date: 2019-02-05
HUAWEI TECH CO LTD +1
View PDF13 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of the Internet and cloud computing, more and more threads are migrated from local to cloud data center servers. In order to reduce the hardware overhead of data center servers and improve the resource utilization of data center servers, multiple The strategy of thread mixed deployment is to deploy multiple threads in the same data center server. Since multiple threads in the mixed deployment need to share the software and hardware resources (that is, shared resources) in the data center server, resource competition occurs, resulting in mixed Unpredictability of deployed thread performance will seriously affect the service quality of target threads (such as high-priority threads)

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
  • Shared resource allocation method and device
  • Shared resource allocation method and device
  • Shared resource allocation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] see first figure 1 , figure 1 is a schematic structural diagram of a shared resource allocation system according to an embodiment of the present application, such as figure 1 As shown, the shared resource allocation system 100 includes a target thread 102 , a non-target thread 103 , a shared resource 300 and a shared resource allocation device 200 .

[0039] In the embodiment of the present application, the target thread 102 refers to the thread that needs to guarantee the quality of service, and it has a small requirement on the delay, and it needs to ensure that the shared resources occupied by it are sufficient. The non-target thread 103 refers to the thread that does not need to guarantee the quality of service. The delay requirement can be greater than that of the target thread, and the shared resources occupied by the non-target thread 103 can be sacrificed on the premise of ensuring the service quality of the target thread 102 .

[0040] Specifically, the targe...

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

A method and apparatus for allocate shared resource are provided in embodiments of that present application, The method comprises: Detects and counts the working state of a shared resource when multiple threads are simultaneously accessing the shared resource, The count value is read to obtain the number of base clock cycles, the number of waiting clock cycles and the number of interfering clock cycles, wherein the number of base clock cycles is a count value of the shared resource in the first state, The number of waiting clock cycles is the count value of the shared resources in the second state, and the number of interference clock cycles is the count value of the shared resources in the third state. According to the number of basic clock cycles, the number of waiting clock cycles and the number of interference clock cycles, the allocation quota of the shared resources of the target thread is adjusted, thereby ensuring the quality of service of the target thread.

Description

technical field [0001] The present application relates to the field of information technology, in particular to a method and device for allocating shared resources. Background technique [0002] With the development of the Internet and cloud computing, more and more threads are migrated from local to cloud data center servers. In order to reduce the hardware overhead of data center servers and improve the resource utilization of data center servers, multiple The strategy of thread mixed deployment is to deploy multiple threads in the same data center server. Since multiple threads in the mixed deployment need to share the software and hardware resources (that is, shared resources) in the data center server, resource competition occurs, resulting in mixed Unpredictability of deployed thread performance will seriously affect the service quality of target threads (such as high-priority threads). Contents of the invention [0003] In order to solve the problems in the prior a...

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 Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5038G06F9/50
Inventor 靳鑫黄博文余子濠包云岗孙凝晖吴文良
Owner HUAWEI TECH CO LTD