Method for binding software service to CPU core and related device

A software business and binding technology, applied in the storage field, can solve problems such as unbalanced CPU utilization and multi-CPU processing time, and achieve the effects of improving CPU utilization, optimizing storage read/write IO, and improving overall processing efficiency

Pending Publication Date: 2022-03-04
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

This patented technology allows companies or organizations to bind their own computing resources (CPU cores) onto one another more efficiently without being limited due to its specific use case. By selecting an appropriate thread based upon usage rates from multiple sources, these systems allow them flexibly combine different types of work together into larger queues called job queens instead of just having it fixed once they start working at home. These techniques help increase server performance while optimizing resource allocation within data centers.

Problems solved by technology

This patented technology solves issues with current methods that involve binding together different operations for efficient use of resources within servers without causing any negative effects like slowdowned execution times caused by overlapping tasks across many cores.

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
  • Method for binding software service to CPU core and related device
  • Method for binding software service to CPU core and related device
  • Method for binding software service to CPU core and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0073] Further, on the basis of the above-mentioned embodiments, as a specific implementation manner, it also includes:

[0074] After the target thread finishes processing the new task, delete the new task from the target task queue of the target thread.

[0075] To sum up, the method for binding CPU cores to software services provided by this application includes: binding each CPU core to a preset number of threads; counting the utilization rate of each CPU core; When generating, query the utilization rate of each of the CPU cores; select the thread bound to the CPU core with the smallest utilization rate as the target thread, and add the new task to the target task queue of the target thread . It can be seen that, compared with the traditional technical solution in which the business objects processed by the CPU core are fixed after the thread is bound to the CPU core, the method for binding the software business to the CPU core provided by this application, on the basis of b

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 invention discloses a method for binding a software service to CPU cores. The method comprises the steps that each CPU core is bound with a preset number of threads; the utilization rate of each CPU core is counted; when a new task is generated, querying the utilization rate of each CPU core; and selecting the thread bound with the CPU core with the minimum utilization rate as a target thread, and adding the new task into a target task queue of the target thread. By applying the method, the service and the CPU core can be flexibly bound according to the utilization rate of the CPU core, the utilization rate of the CPU can be effectively improved, the overall processing efficiency of the IO service is improved, and storage read-write IO is optimized. The invention further discloses a device and equipment for binding the software service to the CPU core and a computer readable storage medium which all have the technical effects.

Description

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

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
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products