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

Thread scheduling method and device based on RISC-V multi-core processor

A RISC-V, multi-core processor technology, applied in the computer field, can solve problems such as inability to respond to users in time, and achieve the effects of improving data processing performance, realizing dynamic load balancing, and reducing energy consumption

Pending Publication Date: 2020-02-25
CANAAN BRIGHT SIGHT CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problem mentioned above that if the specified processor core is not in the idle state, it cannot respond to the user's operation in time, resulting in delay or lag, a thread scheduling method based on RISCV multi-core processor is proposed, which can According to the pre-set data processing logic, the thread specified by the user is scheduled to run, so that the thread scheduling process is smoother, the stuttering phenomenon is reduced, the program runs more smoothly, and the user experience is improved.

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
  • Thread scheduling method and device based on RISC-V multi-core processor
  • Thread scheduling method and device based on RISC-V multi-core processor
  • Thread scheduling method and device based on RISC-V multi-core processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0044] In the present invention, it should be understood that terms such as "comprising" or "having" are intended to indicate the presence of features, numbers, steps, acts, components, parts or combinations thereof disclosed in the specification, and are not intended to exclude one or multiple other features, numbers, steps, acts, parts, parts or combinations thereof.

[0045] In addition, it should be noted that, in the case of n...

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 thread scheduling method and device based on an RISC-V multi-core processor. The thread scheduling method comprises the following steps: in response to a target thread scheduling instruction, obtaining a kernel identifier of a first processor kernel occupied by a current thread; judging whether the kernel identifier of the first processor kernel and the kernel identifier of a second processor kernel are the same or not, and obtaining a judgment result; and scheduling the target thread according to the judgment result so as to enable the target thread to run in the second processor core. By utilizing the thread scheduling method, a target thread in a processor core in an idle state can be allocated to an emergency task; required resources are provided for running ofthe program, so that running of the emergency task is completed quickly, information is processed more efficiently in a concurrent manner, dynamic load balance of the multi-core processor is realized, data processing performance of the multi-core processor is improved, and energy consumption of the multi-core processor is reduced indirectly.

Description

technical field [0001] The invention relates to the field of computers, in particular to a thread scheduling method and device based on a RISC-V multi-core processor. Background technique [0002] RISC-V is an open source instruction set architecture designed and released by the University of California at Berkeley (UCB). Its goal is to become Linux in the field of instruction set architecture, with applications covering IoT (Internet of Things) devices and desktops. Computers, high-performance computers and many other fields. [0003] Compared with other instruction set frameworks in the prior art, the RISC-V framework has the key advantages of open source, differentiation and freedom of choice. Therefore, many processors based on the RISC-V framework have appeared, and the implementation of these processors The range is vast, from simple IoT processors to application processors running Linux, all based on a common set of instructions. At the same time, in order to improv...

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/50G06F9/48
CPCG06F9/505G06F9/4881G06F2209/5018Y02D10/00
Inventor 郭晖张楠赓
Owner CANAAN BRIGHT SIGHT CO LTD
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