Method and device for processing single-producer/single-consumer queue in multi-core system
A technology of a multi-core system and a processing method, which is applied to the processing and device field of a single-producer/single-consumer queue in a multi-core system, can solve problems such as heavy communication burden, and achieve the effects of improving efficiency, reducing overhead, and improving stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0052] Such as Figure 4 The processing method of single-producer 2 / single-consumer 1 queue in the shown multi-core system is special in that: at least one end of the producer 2 is provided with a private cache area 4 and a timer in the multi-core system, and the production When producer 2 generates new data, the new data is written into private cache 4, and producer 2 writes all the data in private cache 4 once and only when private cache 4 is full or the timer overflows in queue.
[0053] Specifically, the private cache area 4 is a section of memory unit opened in the shared memory 3 , and the memory unit is only accessed by the producer 2 . The size of the private cache area 4 is a positive integer multiple of the cache block size of the processor in the multi-core system.
[0054] In terms of a preferred embodiment of the present invention, writing includes the following steps, at first determining that the queue is not full, then copying the data into the queue, pointin...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com