A method and device for allocating CPU core resources
A CPU core and resource technology, applied in the direction of resource allocation, program control design, multi-programming device, etc., can solve the problems of slow response speed of the focus process, unable to reach the optimal running state of the focus process, and many running resources, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0135] Example 1: In an example where the number of physical core resources is more than the number of time-sensitive threads (that is, n>p), it is assumed that the multi-core CPU has 4 physical core resources, that is, n=4, and each physical core resource There are 2 logical core resources, i.e. m=2, the focus process contains 2 time-sensitive threads TCT1 and TCT2, i.e. p=2, the focus process also includes 10 background threads BGT, q=10, and except the focus process There are also two background processes BGP running at the same time.
[0136] Figure 4a ~ Figure 4d In the method for allocating CPU core resources provided by another embodiment of the present invention, a schematic diagram corresponding to an example where the number of CPU physical core resources is greater than the number of time-sensitive threads, as shown in Figure 4a As shown, the CPU physical core resources P1-P4 that have not yet been allocated with time-sensitive threads have corresponding logical ...
example 2
[0156] Example 2: In an example where the number of physical core resources is equal to the number of time-sensitive threads (i.e. n=p), assume that the multi-core CPU has 3 physical core resources, i.e. n=3, and each physical core resource has 2 logical core resources, i.e. m=2, the focus process contains 3 time-sensitive threads TCT1, TCT2, and TCT3, i.e. p=3, the focus process also includes 8 background threads BGT, q=8, and except the focus In addition to the process, there are three background processes BGP running at the same time.
[0157] Figure 5a ~ Figure 5d In the method for allocating CPU core resources provided by another embodiment of the present invention, a schematic diagram corresponding to an example in which the number of CPU physical core resources is equal to the number of time-sensitive threads, as shown in Figure 5a As shown, CPU physical core resources P1-P3 that have not yet been allocated with time-sensitive threads run corresponding logical core r...
example 3
[0182] Example 3: In an example where the number of logical core resources is greater than the number of time-sensitive threads (that is, n×m>p), assume that the multi-core CPU has 3 physical core resources, that is, n=3, and each physical The core resource has 2 logical core resources, that is, m=2, and the focus process includes four time-sensitive threads TCT1, TCT2, TCT3 and TCT4, that is, p=4 (n=3 [0183] Figure 7a ~ Figure 7d In the method for allocating CPU core resources provided by another embodiment of the present invention, a schematic diagram corresponding to an example where the number of CPU logical core resources is greater than the number of time-sensitive threads, as shown in Figure 7a As shown, CPU physical core resources P1-P3 that have not yet been allocated with time-sensitive thr...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com