Load balancing method and device, cluster and many-core processor
A technology of many-core processors and load balancing, applied in the computer field, can solve problems such as system performance needs to be improved, thread migration delay is large, etc., and achieve the effect of reducing average waiting time, improving parallelism, and improving system performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0061] by image 3 The shown application scenario is taken as an example, and the specific embodiment 1 of the present invention is as follows:
[0062] In the embodiment of the present invention, when calculating the load of the processor core, it is necessary to consider the transfer-in thread, the local thread and the interrupt thread of the processor core.
[0063] The first step is to obtain the load of each processor core.
[0064] The router can obtain the stack information of each processor core through the thread stack information collector, obtain the number of transfer-in threads to be executed in each processor core, and thus obtain the load of the transfer-in threads to be executed in each processor core quantity.
[0065] For example, in image 3 In the shown scenario, the router may learn that processor core 1 includes 5 incoming threads, processor core 2 includes 1 incoming thread, processor core n includes 2 incoming threads, and so on.
[0066] The router...
specific Embodiment 2
[0085] by image 3 The shown application scenario is taken as an example, and the specific embodiment 2 of the present invention is as follows:
[0086] In the embodiment of the present invention, when calculating the load of the processor core, only the transfer-in thread and the local thread of the processor core are considered.
[0087] The first step is to obtain the load of each processor core.
[0088] The router can obtain the stack information of each processor core through the thread stack information collector, so as to obtain the number of incoming threads to be executed in each processor core.
[0089] For example, in image 3 In the shown scenario, the router may learn that processor core 1 includes 5 incoming threads, processor core 2 includes 1 incoming thread, processor core n includes 2 incoming threads, and so on.
[0090] In addition, the router obtains the number of local threads to be executed in the processor core according to the Load / Store queue of t...
specific Embodiment 3
[0113] by image 3 The shown application scenario is taken as an example, and the specific embodiment 3 of the present invention is as follows:
[0114] In the embodiment of the present invention, when calculating the load of the processor core, only the transfer-in thread and the local thread of the processor core are considered.
[0115] The first step is to obtain the load of each processor core.
[0116] The router can obtain the stack information of each processor core through the thread stack information collector, so as to obtain the number of incoming threads to be executed in each processor core.
[0117] For example, in image 3 In the shown scenario, the router may learn that processor core 1 includes 5 incoming threads, processor core 2 includes 1 incoming thread, processor core n includes 2 incoming threads, and so on.
[0118] In addition, the router obtains the number of local threads to be executed in the processor core according to the Load / Store queue of t...
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