Cache access method, cache access router and computer system

An access method and router technology, applied in the communication field, can solve problems such as limited three-level cache capacity, reduced memory access performance, and insufficient cache space

Active Publication Date: 2015-11-25
HUAWEI TECH CO LTD +1
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the limited capacity of the third-level cache, storing all data in the third-level cache indiscriminately may cause some commonly used data to be repl

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
  • Cache access method, cache access router and computer system
  • Cache access method, cache access router and computer system
  • Cache access method, cache access router and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0141] The solution in Embodiment 1 is applicable to both single-core computer systems and multi-core operating systems. Embodiment 2 of the present invention is based on the above-mentioned Embodiment 1, and a multi-core operating system is used as an example for illustration. When the processor includes multiple processing When using a processor core, the feature information of the data packet also includes the indication of the processor core corresponding to the data packet. The processor core corresponding to the data packet refers to the processor core that requested the data packet. For example, the processor core sends a network access Request, the network access request is used to obtain data from the network, the network access request passes through the cache access router and then to the peripheral device, and the cache access router records the identifier of the processor core sending the memory access request. When the peripheral device receives the data packet co...

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 embodiment of the invention provides a cache access method, a cache access router and a computer system. The cache access method comprises the following steps of: receiving a data packet sent by peripheral equipment by the cache access router, and obtaining the feature information of the data packet, wherein the feature information of the data packet includes any one piece the following information or the combination of the following information including data packet size, packet interval and hot degree information; and storing the data packet into a cache of the processor by the cache access router according to the feature information of the data packet, wherein the cache of the processor comprises at least two stages of caches. The method has the advantages that the data packet is directly stored into the cache; the processor can directly read data from the cache; the number of memory access times is reduced; and the hit rate of the cache is improved, so that the memory access efficiency is improved. The cache of the processor comprises at least two stages of caches; the cache access router can store the data packet into the proper cache according to the feature information of the data packet; and further, the memory access efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to communication technologies, and in particular to a cache access method, a cache access router and a computer system. Background technique [0002] With the rapid development of the semiconductor industry, the clock frequency of the processor increases rapidly, but the access speed of the main memory increases much more slowly. The main memory is also called memory. Due to the speed mismatch between processor and memory, memory access latency is still the bottleneck in improving application speed. [0003] In response to the above problems, cache (cache) technology emerged as the times require. Usually, a cache is set between the processor and the memory. By taking out the data that the user may use from the memory and putting it in the cache in advance, when the program wants to call the data, it can Data is read directly from the cache, thus reducing memory access latency. The above method is very e...

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): G06F12/08
Inventor 张乾龙崔晓松李晔刘月吉
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products