Supercharge Your Innovation With Domain-Expert AI Agents!

Method, device and system for locking CPU scheduling optimization and program product

A state and switch technology, applied in the field of linux kernel, can solve problems such as migration and failure to meet user performance requirements

Inactive Publication Date: 2019-08-30
ALLWINNER TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the Hotplug scenario, the tasks on the target CPU will be migrated to other online CPUs during the core shutdown period, and the tasks originally bound to the CPU will not be migrated back when the core is turned on, which cannot satisfy the user's performance. need

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, device and system for locking CPU scheduling optimization and program product
  • Method, device and system for locking CPU scheduling optimization and program product
  • Method, device and system for locking CPU scheduling optimization and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0061] Embodiment, a program product for locking CPU scheduling optimization, used in the LinuxCpu-hotplug mechanism, the program product has executable figure 1 Computer program code for each step in .

[0062] Implementing a method, device, system and program product for locking CPU scheduling optimization of the present invention has the following beneficial technical effects:

[0063] Different from the existing technology, in the Hotplug scenario, the task (tasks on the target CPU) will be migrated to other online CPUs during the shutdown period, and the tasks originally bound to the CPU will not be migrated back when the core is turned on. In this technical solution, when the system uses hotplug for dynamic or static power consumption, it notifies the user state of the switch core state through the notify mechanism, and the user state can effectively and timely re-task affinity. bound.

[0064] Those skilled in the art should understand that the embodiments of the pres...

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 method for locking CPU scheduling optimization, which is applied to a Linux Cpu-hotplug mechanism and comprises the following steps of S1, designing a platform bus driving module; S2, registering a notification chain module on the basis of the platform bus driving module; S3, enabling the notification chain module to receive the switch core state sent by a core system; andS4, informing a user layer of the state of a switch core, so that the user layer decides whether a task needs to be rebound to the target processor. The invention further discloses a parallel starting device and system and a program product. According to the technical scheme, when the system uses the hotplug to perform dynamic or static power consumption, the switch core state is notified to theuser state through the notify mechanism, and the user state can effectively and timely rebound with the task affinity.

Description

technical field [0001] The invention relates to the field of linux kernel, in particular to a method, device, system and program product for locking CPU scheduling optimization. Background technique [0002] Linux is a set of Unix-like operating systems that are free to use and spread freely. It is a POSIX and UNIX-based multi-user, multi-tasking, multi-threading and multi-CPU operating system. It can run major UNIX utility software, application programs and network protocols. It supports 32-bit and 64-bit hardware. Linux inherits Unix's network-centric design idea and is a multi-user network operating system with stable performance. [0003] In the Linux system, the user sets cpuaffinity to bind tasks to one or a group of cpus. However, in the Hotplug scenario, the tasks on the target CPU will be migrated to other online CPUs during the core shutdown period, and the tasks originally bound to the CPU will not be migrated back when the core is turned on, which cannot satis...

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
IPC IPC(8): G06F9/50G06F9/48
CPCG06F9/4806G06F9/5027Y02D10/00
Inventor 刘邵华蒋斌
Owner ALLWINNER TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More