Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Binding strategy inference method and device, electronic equipment and storage medium

A strategy and binding technology, applied in the direction of multi-program device, program control design, electronic digital data processing, etc., can solve the problem of low efficiency of the optimal affinity binding strategy

Active Publication Date: 2021-08-06
中科曙光国际信息产业有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiment of the present application is to provide a binding policy inference method, device, electronic device and storage medium, which are used to improve the problem of low efficiency of inferring the optimal affinity binding policy of the server

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
  • Binding strategy inference method and device, electronic equipment and storage medium
  • Binding strategy inference method and device, electronic equipment and storage medium
  • Binding strategy inference method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0030]Before introducing the binding policy inference method provided by the embodiment of this application, some concepts involved in the embodiment of this application are introduced first:

[0031] Test case (Test Case) refers to in software engineering, the tester determines whether the application software or software system works correctly according to the test case, or is understood as the method of determining whether the software program or system passes the test called test criteria.

[0032] It should be noted that the binding policy inference method provided in the embodiment of the present application can be executed by an electronic device, where the electronic device refers to a device terminal with the function of executing a computer program or the above-ment...

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 provides a binding strategy inference method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining a plurality of binding strategies in a test script and a hierarchical file; running the test script by using each binding strategy in the plurality of binding strategies to obtain a plurality of test data; according to a preset characteristic index, respectively carrying out weighted calculation on the plurality of test data to obtain a plurality of weighted scores; and determining the binding strategy corresponding to the maximum score in the plurality of weighted scores as the deduced optimal affinity binding strategy. The binding strategies are stored in the hierarchical file in a hierarchical structure mode, and the binding strategy corresponding to the maximum score in the multiple weighted scores is determined as the deduced optimal affinity binding strategy, so that the execution efficiency of the binding strategies iteratively running the test script can be accelerated, and the efficiency of deducing the optimal affinity binding strategy of the server is improved.

Description

technical field [0001] The present application relates to the technical field of computer optimization and processor binding, and in particular, relates to a binding policy inference method, device, electronic device and storage medium. Background technique [0002] CPU affinity (Affinity), also known as processor affinity or processor affinity, means that running software (such as virtual programs, processes, or threads) can be mapped to one or more CPUs through processor affinity. on the physical processor. The technology is based on the native central queue (native central queue) scheduling algorithm in the symmetric multiprocessor operating system. Each task (process or thread) in the queue (Queue) has a tag (Tag) to specify their preferred processor; in the stage of allocating processors, each task will be assigned to their preferred processor . [0003] The binding strategy is an affinity binding strategy (Affinity Bind Strategy) that associates a central processing...

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/5027
Inventor 李秋实郭庆谢莹莹宋怀明
Owner 中科曙光国际信息产业有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products