Thread scheduling method and device, equipment, medium and program product
CN120909723APending Publication Date: 2025-11-07XIAN TONGXING HENGYAO INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by
Patent Information
- Application Number
- CN202511023041.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-23
- Publication Date
- 2025-11-07
Smart Images

Figure CN120909723A_ABST
Abstract
The invention provides a thread scheduling method and device, equipment, a medium and a program product, and relates to the technical field of computers.The method comprises the steps that user configuration is monitored and obtained, a first NUMA node used by a foreground thread pool is determined, the number of thread groups in the foreground thread pool is obtained, each thread group is used for managing a plurality of foreground threads, and the number of the first NUMA node is determined; and according to a predefined thread allocation strategy, establishing a mapping relationship between each thread group and each first NUMA node through the number of the thread groups and the number of the first NUMA nodes, and according to the mapping relationship, scheduling the to-be-allocated threads in each thread group to the corresponding first NUMA node. The threads are managed in a unified mode through the foreground thread pool, creating of a large number of concurrent threads is reduced, the NUMA nodes used are configured and defined based on the user, the mapping relation is configured, the threads to be distributed are scheduled to the fixed NUMA nodes, the access proportion of a local memory during request processing is increased, and the overall processing performance is improved.
Need to check novelty before this filing date? Find Prior Art