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

Multi-core system resource delay recycle lock realizing method and multi-core system resource delay recycle lock realizing system

A multi-core system and resource recovery technology, applied in the field of data sharing, can solve problems such as resource exhaustion and affecting the normal operation of business

Inactive Publication Date: 2012-07-25
OPZOON TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is: how to let the CPU enter a silent state during garbage collection, so as to solve the problem that a large number of resource bursts are collected intensively, causing the exhaustion of such resources and affecting the normal operation of the business

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
  • Multi-core system resource delay recycle lock realizing method and multi-core system resource delay recycle lock realizing system
  • Multi-core system resource delay recycle lock realizing method and multi-core system resource delay recycle lock realizing system
  • Multi-core system resource delay recycle lock realizing method and multi-core system resource delay recycle lock realizing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] The following uses three data units to form a circular linked list as an example to illustrate the present invention, but does not limit the protection scope of the present invention, wherein each data unit has eight bits, and all indicate whether a certain CPU enters silence based on the bit form state.

[0062] The method of this embodiment is:

[0063] S101: Set up a ring-linked list composed of 3 data units, and associate each of the eight CPUs in the multi-core system with one bit of data in the data units (each data unit has eight bits).

[0064] S102: When a CPU undergoes a context switch, it enters the process of multi-core resource recovery lock processing, obtains the number of times the current CPU enters the grace period, selects the corresponding current data unit according to the number of times, and compares the current data unit with the Set a bit of data corresponding to the current CPU; when setting, use the parity feature of the number of times to se...

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 multi-core system resource delay recycle lock realizing method and a multi-core system resource delay recycle lock realizing system, which relate to the technical field of data sharing. The multi-core system resource delay recycle lock realizing method includes: identifying states of a CPU (central processing unit) by setting a ring chain table consisting of data units, so that during trash recycling, other CPUs can recycle trashes simultaneously when the CPU for recycling trashes gets into silent state. Accordingly, the problem that running of normal services are affected due to the fact that resources are suddenly massively centrally recycled to be used up.

Description

technical field [0001] The present invention relates to the technical field of data sharing, in particular to a method and system for realizing a multi-core system resource delayed recovery lock. Background technique [0002] As we all know, in order to protect shared data, some synchronization mechanisms are needed, such as spin lock (spinlock), read-write lock (rwlock), they are very simple to use, and they are a very effective synchronization mechanism, which has been widely used in Linux systems. usage of. However, with the rapid development of computer hardware, the cost of obtaining such a lock is increasing exponentially relative to the speed of the CPU. Atomic operation instructions, which need to access memory atomically, that is to say, the cost of acquiring a lock is related to the speed of memory access, so its cost is getting larger and larger relative to the speed of the CPU, and another problem with this lock mechanism is that Its scalability, on a multi-pro...

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/50G06F15/16
CPCG06F9/52G06F9/526
Inventor 陈天航王博
Owner OPZOON TECH
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