[go: up one dir, main page]

CN100377104C - Device for capturing memory access information in real time and method for capturing memory access information - Google Patents

Device for capturing memory access information in real time and method for capturing memory access information Download PDF

Info

Publication number
CN100377104C
CN100377104C CNB2005100086126A CN200510008612A CN100377104C CN 100377104 C CN100377104 C CN 100377104C CN B2005100086126 A CNB2005100086126 A CN B2005100086126A CN 200510008612 A CN200510008612 A CN 200510008612A CN 100377104 C CN100377104 C CN 100377104C
Authority
CN
China
Prior art keywords
access information
data
unit
memory
logical block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100086126A
Other languages
Chinese (zh)
Other versions
CN1828550A (en
Inventor
李磊
陈明宇
曹政
樊建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CNB2005100086126A priority Critical patent/CN100377104C/en
Publication of CN1828550A publication Critical patent/CN1828550A/en
Application granted granted Critical
Publication of CN100377104C publication Critical patent/CN100377104C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Information Transfer Systems (AREA)

Abstract

本发明公开了一种内存访问信息实时捕获装置及访存信息捕获方法,该装置包括内存信号捕获逻辑单元、数据缓冲区单元、高速数据接口单元、嵌入式处理器单元及配置缓冲区单元,这些逻辑单元利用高速IO、大容量RAM和嵌入式处理器,实现高速内存接口和数据发送接口,并对数据进行预处理,所述内存访问信息实时捕获装置接收内存控制器信号。由于采用了并联的DDR内存接口作为捕获接口,以高速FIFO和高速IO进行数据存储、传送,由操作系统补丁和工具软件作为支持实现的。本发明所提供的装置能够在不修改原有系统硬件、对系统性能影响很小的情况下,实现实时、高速的访存信息捕获。

Figure 200510008612

The invention discloses a real-time capture device for memory access information and a method for capturing memory access information. The device includes a memory signal capture logic unit, a data buffer unit, a high-speed data interface unit, an embedded processor unit, and a configuration buffer unit. The logic unit utilizes high-speed IO, large-capacity RAM and an embedded processor to realize a high-speed memory interface and a data transmission interface, and preprocess the data, and the real-time capture device for memory access information receives a memory controller signal. Since the parallel DDR memory interface is used as the capture interface, high-speed FIFO and high-speed IO are used for data storage and transmission, and it is realized by operating system patches and tool software. The device provided by the invention can realize real-time and high-speed memory access information capture without modifying the original system hardware and having little impact on system performance.

Figure 200510008612

Description

一种内存访问信息实时捕获装置及访存信息捕获方法 Device for capturing memory access information in real time and method for capturing memory access information

技术领域 technical field

本发明涉及高性能计算领域,尤其涉及一种内存访问信息实时捕获装置及访存信息捕获方法。The invention relates to the field of high-performance computing, in particular to a device for capturing memory access information in real time and a method for capturing memory access information.

背景技术 Background technique

访存信息的跟踪获取(profikling)传统上用于程序的编译优化,用以提高程序性能。同时,在高性能计算机的研究和实现中,远程分布式存储是一种重要的方式,特别是利用光互连,可以将本地内存拉到远端,实现内存和处理器的松耦合。为了隐藏远程内存延迟,预取是一种重要而有效的方式,但是高效的预取策略需要对访存模式的了解作为基础。Tracing and acquisition (profikling) of memory access information is traditionally used for program compilation and optimization to improve program performance. At the same time, in the research and implementation of high-performance computers, remote distributed storage is an important way, especially the use of optical interconnection, which can pull the local memory to the remote end and realize the loose coupling of memory and processor. In order to hide remote memory latency, prefetching is an important and effective way, but an efficient prefetching strategy requires an understanding of memory access patterns as a basis.

现有的访存信息捕获与跟踪(profiling)方法可以分为软件方法、硬件方法和软硬结合的方法。Existing memory access information capture and tracking (profiling) methods can be classified into software methods, hardware methods and methods combining hardware and software.

大多数profiling方法为软件方法,通过在代码中需要的地方插入特定的指令或者模块来获取信息,具有很大灵活性。但是得到的是处理器所看到的信息,而不是针对的物理内存访存信息,即物理内存端所看到的真实模式。如果想获取它们,必须要有硬件支持,因此纯软件方法不能完成本发明的目标。而且软件方法开销大、实时性差、对系统性能影响很大,还需要对应用进行重新编译。Most profiling methods are software methods, which have great flexibility to obtain information by inserting specific instructions or modules where needed in the code. But what is obtained is the information seen by the processor, not the targeted physical memory access information, that is, the real mode seen by the physical memory side. If want to obtain them, must have hardware support, so pure software method can't accomplish the goal of the present invention. Moreover, the software method has high overhead, poor real-time performance, and has a great impact on system performance, and the application needs to be recompiled.

硬件支持的profiling技术可以在一定程度上克服开销问题的影响。Pentium等现代处理器内部有用于性能统计的寄存器,可以通过软件工具读取。但是这些寄存器只提供累计的统计结果,例如高速缓存不命中次数等,不能提供详细的过程记录和分布,而且要通过特殊指令或者中断来获取信息,对系统性能影响很大。逻辑分析仪等方法可以采集到实时信息,但是易用性很差,代价很高。The profiling technology supported by hardware can overcome the impact of the overhead problem to a certain extent. Modern processors such as the Pentium have internal registers for performance statistics that can be read by software tools. However, these registers only provide cumulative statistical results, such as the number of cache misses, etc., and cannot provide detailed process records and distributions. In addition, special instructions or interrupts are required to obtain information, which has a great impact on system performance. Methods such as logic analyzers can collect real-time information, but the ease of use is poor and the cost is high.

发明内容 Contents of the invention

本发明所要解决的技术问题是提供一种能够在不修改原有系统硬件、对系统性能影响很小的情况下,实时、高速、低开销的内存访问信息实时捕获装置,该装置采用并联的DDR内存接口作为捕获接口,以高速FIFO和高速IO进行数据存储、传送,由操作系统补丁和工具软件作为支持;以及提供一种利用该装置进行内存访问信息实时捕获的方法;同时,对系统性能的影响和对软硬件的修改很小,易用性很高。The technical problem to be solved by the present invention is to provide a real-time, high-speed, low-overhead real-time capture device for memory access information without modifying the original system hardware and with little impact on system performance. The device uses parallel DDR As a capture interface, the memory interface uses high-speed FIFO and high-speed IO for data storage and transmission, supported by operating system patches and tool software; and provides a method for using the device to capture memory access information in real time; at the same time, the system performance The impact and modification of software and hardware are small, and the ease of use is high.

为了解决上述技术问题,本发明提供一种内存访问信息实时捕获装置,包括内存信号捕获逻辑单元10、数据缓冲区单元20、高速数据接口单元30、嵌入式处理器单元40及配置缓冲区单元50,这些逻辑单元利用高速IO、大容量RAM和嵌入式处理器,实现高速内存接口和数据发送接口,并对数据进行预处理,所述内存访问信息实时捕获装置接收内存控制器信号;In order to solve the above technical problems, the present invention provides a real-time capture device for memory access information, including a memory signal capture logic unit 10, a data buffer unit 20, a high-speed data interface unit 30, an embedded processor unit 40 and a configuration buffer unit 50 , these logic units utilize high-speed IO, large-capacity RAM and embedded processor, realize high-speed memory interface and data transmission interface, and carry out preprocessing to data, described memory access information real-time capturing device receives memory controller signal;

其中,内存信号捕获逻辑单元10实现了JEDEC DDR RAM规范的子集,对DDR内存的命令进行解析,对地址和数据进行识别和捕获;Wherein, the memory signal capture logic unit 10 implements a subset of the JEDEC DDR RAM specification, parses the commands of the DDR memory, and identifies and captures addresses and data;

数据缓冲区单元20包括高速FIFO缓冲区和相关控制逻辑,内存信号捕获逻辑单元10将捕获的信息写入该FIFO;FIFO提供空、满、计数器等,供流量控制使用;The data buffer unit 20 includes a high-speed FIFO buffer and related control logic, and the memory signal capture logic unit 10 writes the captured information into the FIFO; the FIFO provides empty, full, counters, etc., for use in flow control;

高速数据接口单元30用于将数据送往主机,或者接收主机传来的控制和配置命令传给配置缓冲区单元50;The high-speed data interface unit 30 is used to send data to the host, or receive control and configuration commands from the host and pass them to the configuration buffer unit 50;

配置缓冲区单元50通过内存信号捕获逻辑单元10接收捕获规则,用以对信息进行过滤,并将过滤后的信息传给内存信号捕获逻辑单元10。The configuration buffer unit 50 receives capture rules through the memory signal capture logic unit 10 to filter information, and transmits the filtered information to the memory signal capture logic unit 10 .

在上述方案中,内存控制器所控制的若干DDR内存插槽之间,除了片选信号线以外,其他信号线以总线形式共享,通过监听内存总线来获取处理器的访存信息。In the above solution, among the several DDR memory slots controlled by the memory controller, except for the chip select signal line, other signal lines are shared in the form of a bus, and the memory access information of the processor is obtained by monitoring the memory bus.

在上述方案中,内存访问信息实时捕获装置使用USB2.0接口或多通道的Xilinx专用高速IO通道实现捕获数据的传送。In the above solution, the real-time capture device for memory access information uses a USB2.0 interface or a multi-channel Xilinx dedicated high-speed IO channel to transmit captured data.

在上述方案中,动态配置配置缓冲区单元50。In the above scheme, the configuration buffer unit 50 is configured dynamically.

在上述方案中,内存信号捕获逻辑单元10由配置缓冲区单元50中的规则控制。In the above solution, the memory signal capture logic unit 10 is controlled by the rules in the configuration buffer unit 50 .

本发明还提供一种访存信息捕获方法,包括以下步骤:The present invention also provides a method for capturing memory access information, comprising the following steps:

a)内存访问信息实时捕获装置接收处理器通过主板的DDR插槽发来的访存信号;a) The memory access information real-time capture device receives the memory access signal sent by the processor through the DDR slot of the motherboard;

b)内存信号捕获逻辑单元10捕获到访存信息;b) the memory signal capture logic unit 10 captures the memory access information;

c)配置缓冲区单元50通过内存信号捕获逻辑单元10接收的捕获规则,过滤访存信息,并将过滤后的信息传给内存信号捕获逻辑单元10;c) configure the buffer unit 50 to capture the capture rules received by the memory signal capture logic unit 10, filter the memory access information, and pass the filtered information to the memory signal capture logic unit 10;

d)内存信号捕获逻辑单元10将过滤过的访存信息存入数据缓冲区单元20;d) the memory signal capture logic unit 10 stores the filtered memory access information into the data buffer unit 20;

e)嵌入式处理器单元40对数据缓冲区单元20中的数据进行处理;E) the embedded processor unit 40 processes the data in the data buffer unit 20;

f)处理过的数据由数据缓冲区单元20送入高速数据接口单元30;f) the processed data is sent into the high-speed data interface unit 30 by the data buffer unit 20;

g)嵌入式处理器单元40控制高速数据接口单元30,将处理过的数据送出。g) The embedded processor unit 40 controls the high-speed data interface unit 30 to send out the processed data.

由上可知,本发明采用了并联的DDR接口作为捕获接口,用高速FIFO和高速IO进行数据存储、传送,由操作系统补丁和工具软件作为支持;本发明所提供的装置能够在不修改原有系统硬件、对系统性能影响很小的情况下,实现实时、高速的访存信息捕获,能够获取包括时间和空间分布的全频谱的访存记录。As can be seen from the above, the present invention adopts the parallel DDR interface as the capture interface, carries out data storage and transmission with high-speed FIFO and high-speed IO, and is supported by operating system patches and tool software; the device provided by the present invention can be used without modifying the original In the case of system hardware and little impact on system performance, real-time and high-speed memory access information capture can be achieved, and full-spectrum memory access records including time and space distribution can be obtained.

附图说明 Description of drawings

图1是本发明内存访问信息实时捕获装置的工作模式。Fig. 1 is the working mode of the real-time capture device for memory access information of the present invention.

图2是本发明的内存访问信息实时捕获装置的结构图。FIG. 2 is a structural diagram of a device for capturing memory access information in real time according to the present invention.

图3是本发明访存信息捕获方法的流程图。Fig. 3 is a flow chart of the method for capturing memory access information of the present invention.

具体实施方式 Detailed ways

下面参照附图详细说明本发明的技术方案。The technical solution of the present invention will be described in detail below with reference to the accompanying drawings.

如图1所示,内存访问信息实时捕获装置和普通DDR内存并联插在DDR内存插槽上。加粗信号线为共享的总线,带箭头线为分离的片选信号线;内存控制器所控制的若干DDR内存插槽之间,除了片选信号以外,其他信号线以总线形式共享的,通过监听内存总线来获取处理器的访存信息。捕获装置可以接收到处理器和普通内存条间的通信,但由于处理器无法访问它,它的片选信号线不会被选通。As shown in Figure 1, the memory access information real-time capture device and common DDR memory are inserted in parallel on the DDR memory slot. The bold signal line is a shared bus, and the line with an arrow is a separate chip select signal line; between several DDR memory slots controlled by the memory controller, except for the chip select signal, other signal lines are shared in the form of a bus, through Monitor the memory bus to obtain memory access information from the processor. The capture device can receive the communication between the processor and the normal memory stick, but since the processor cannot access it, its chip select line will not be strobed.

如图2所示,内存访问信息实时捕获装置包括内存信号捕获逻辑单元10、数据缓冲区单元20、高速数据接口单元30、嵌入式处理器单元40及配置缓冲区单元50。所述的这些单元由Xilinx公司的VirtexII Pro FPGA实现。该型号FPGA带有高速IO、大容量RAM和嵌入式处理器,可以实现高速DDR内存接口、高速数据收发接口和数据预处理功能,还可以根据不同需要对功能逻辑进行重构,从而增加系统功能,降低系统成本。As shown in FIG. 2 , the real-time capture device for memory access information includes a memory signal capture logic unit 10 , a data buffer unit 20 , a high-speed data interface unit 30 , an embedded processor unit 40 and a configuration buffer unit 50 . These units described are realized by VirtexII Pro FPGA of Xilinx Company. This type of FPGA is equipped with high-speed IO, large-capacity RAM and embedded processor, which can realize high-speed DDR memory interface, high-speed data transceiver interface and data preprocessing function, and can also reconstruct the functional logic according to different needs, thereby increasing system functions , reduce system cost.

其中,内存信号捕获逻辑单元10实现了JEDEC DDRRAM规范的子集,能够对DDR内存的命令进行解析,对地址和数据进行识别和捕获。Wherein, the memory signal capture logic unit 10 implements a subset of the JEDEC DDRRAM specification, and can analyze commands of the DDR memory, and identify and capture addresses and data.

数据缓冲区单元20包括一个高速FIFO缓冲区,内存信号捕获逻辑单元10将捕获的信息写入FIFO。FIFO提供空、满、计数器等,供流量控制使用。The data buffer unit 20 includes a high-speed FIFO buffer, and the memory signal capture logic unit 10 writes the captured information into the FIFO. FIFO provides empty, full, counters, etc. for flow control.

高速数据接口单元30用于将数据送往主机,或者接收主机传来的控制和配置命令传给配置缓冲区单元50。The high-speed data interface unit 30 is used to send data to the host, or receive control and configuration commands from the host and transmit them to the configuration buffer unit 50 .

配置缓冲区单元50通过内存信号捕获逻辑单元10接收捕获规则,用以对信息进行过滤,并将过滤后的信息传给内存信号捕获逻辑单元10。The configuration buffer unit 50 receives capture rules through the memory signal capture logic unit 10 to filter information, and transmits the filtered information to the memory signal capture logic unit 10 .

如图3所示,一种访存信息捕获方法包括以下步骤:As shown in Figure 3, a memory access information capture method includes the following steps:

步骤10,内存访问信息实时捕获装置接收处理器通过主板的DDR插槽发来的访存信号;Step 10, the memory access information real-time capture device receives the memory access signal sent by the processor through the DDR slot of the motherboard;

步骤20,内存信号捕获逻辑单元10捕获到访存信息;Step 20, the memory signal capture logic unit 10 captures the memory access information;

步骤30,配置缓冲区单元50通过内存信号捕获逻辑单元10接收的捕获规则,过滤访存信息,并将过滤后的信息传给内存信号捕获逻辑单元10;Step 30, configure the buffer unit 50 to capture the capture rules received by the memory signal capture logic unit 10, filter the memory access information, and pass the filtered information to the memory signal capture logic unit 10;

步骤40,内存信号捕获逻辑单元10将过滤过的访存信息存入数据缓冲区单元20;Step 40, the memory signal capture logic unit 10 stores the filtered memory access information into the data buffer unit 20;

步骤50,嵌入式处理器单元40对数据缓冲区单元20中的数据进行处理;Step 50, the embedded processor unit 40 processes the data in the data buffer unit 20;

步骤60,处理过的数据由数据缓冲区单元20送入高速数据接口单元30;Step 60, the processed data is sent to the high-speed data interface unit 30 by the data buffer unit 20;

步骤70,嵌入式处理器单元40控制高速数据接口单元30,将处理过的数据送出。Step 70, the embedded processor unit 40 controls the high-speed data interface unit 30 to send the processed data.

本发明还可以包括支持该卡的操作系统补丁和软件工具。The invention may also include operating system patches and software tools to support the card.

操作系统补丁通过用户的设置,对指定的应用程序的物理内存使用情况进行监测,获取其物理地址空间,并对访存信息实时捕获装置的配置缓冲区进行设置,使之针对这些特定的物理地址范围进行捕获。操作系统补丁还可通过操作系统的内存映射系统调用(mmap)将捕获装置所占用的物理内存空间映射到用户空间,从而可以访问配置缓冲区单元。软件工具是用户和操作系统补丁的接口,用户用它来指定需要捕获的应用、设置捕获规则。The operating system patch monitors the physical memory usage of the specified application through the user's settings, obtains its physical address space, and sets the configuration buffer of the real-time capture device for memory access information to target these specific physical addresses range to capture. The operating system patch can also map the physical memory space occupied by the capture device to the user space through the memory mapping system call (mmap) of the operating system, so as to access the configuration buffer unit. The software tool is the interface between the user and the operating system patch, and the user uses it to specify the application to be captured and set the capture rules.

访存信息实时捕获装置的关键点是由DDR(Double Data Rate)内存接口实现。利用DDR接口有两方面优势:The key point of the real-time capture device for memory access information is realized by the DDR (Double Data Rate) memory interface. Using the DDR interface has two advantages:

首先,内存控制器所控制的若干DDR内存插槽之间,除了片选信号以外,其他信号线以总线形式共享的,因此,可以通过监听内存总线来获取处理器的访存信息,不会对系统性能产生影响,同时不用修改原有系统硬件;First of all, among the several DDR memory slots controlled by the memory controller, except for the chip select signal, other signal lines are shared in the form of a bus. Therefore, the memory access information of the processor can be obtained by monitoring the memory bus, which will not System performance is affected without modifying the original system hardware;

其次,直接利用DDR接口,有足够带宽和处理能力来捕获和传送收集到的数据,即实时性能够得到满足。通过工具和模拟器对SPEC2000有关测试程序进行了统计,得到了访存地址信息的数量级。在二级高速缓存不命中、高速缓存块较大的情况下,DDR200以上有足够能力来记录和传送这些信息。Secondly, directly using the DDR interface, there is enough bandwidth and processing power to capture and transmit the collected data, that is, the real-time performance can be satisfied. Through the tools and simulators, the relevant test programs of SPEC2000 are counted, and the order of magnitude of the access address information is obtained. In the case of a second-level cache miss and a large cache block, DDR200 and above have sufficient capacity to record and transmit these information.

本发明的访存信息实时捕获装置插在主机板空闲的DDR内存插槽上。该卡实现了JEDEC DDR RAM规范,能够通过内存总线上出现的内存控制器信号,识别命令、地址和数据。The device for capturing memory access information in real time of the present invention is inserted into the idle DDR memory slot of the motherboard. The card implements the JEDEC DDR RAM specification and is able to recognize commands, addresses and data through the memory controller signals present on the memory bus.

防止捕获卡对内存总线产生干扰是一个关键问题。在DDR接口规范中,除了DQ,DQS等信号是双向外,其余信号都是由内存控制器端向插槽端传送。实际上在做捕获时,得到单向的信号就可以,因此在实现时,不向控制器方传送这些信号,所以不会对其他内存模块和内存控制权产生干扰。Preventing capture cards from interfering with the memory bus is a key issue. In the DDR interface specification, except DQ, DQS and other signals are bidirectional, other signals are transmitted from the memory controller side to the slot side. In fact, when doing capture, it is enough to get one-way signals. Therefore, these signals are not transmitted to the controller during implementation, so there will be no interference with other memory modules and memory control rights.

访存信息的数量级很大,为了保证实时性,需要分别做一些处理。地址信息的捕获是本发明最重要的目标,在高速缓存不命中、启动访存操作的情况下,只需要记录高速缓存块的首地址,这样就可以大大减小需要采集和传送的数据量。The order of magnitude of the access information is very large, and in order to ensure real-time performance, some processing needs to be done separately. The capture of address information is the most important goal of the present invention. In the case of a cache miss and memory access operation, only the first address of the cache block needs to be recorded, so that the amount of data to be collected and transmitted can be greatly reduced.

为了进行实时高速数据传送,逻辑内部提供高速数据FIFO作为缓冲区。另一端通过高速数据接口将数据送到主机。高速数据接口要有与数据实时获取相匹配的高速带宽。对于地址捕获,USB2.0的带宽即可满足要求,如果是数据捕获,需要更高带宽。本发明使用USB2.0接口或Xilinx专用高速IO通道实现捕获数据的传送,其它类型高速数据访问接口也可适用。In order to transmit real-time high-speed data, the logic provides high-speed data FIFO as a buffer. The other end sends data to the host through the high-speed data interface. The high-speed data interface must have a high-speed bandwidth that matches the real-time acquisition of data. For address capture, the bandwidth of USB2.0 can meet the requirements, and for data capture, higher bandwidth is required. The present invention uses a USB2.0 interface or a Xilinx dedicated high-speed IO channel to realize the transmission of captured data, and other types of high-speed data access interfaces are also applicable.

本发明中,访存信息实时捕获装置可以捕获全部的访存信息。但是,可能用户只对某些特定的应用的访存信息感兴趣。本发明提供操作系统补丁,可以获取不同应用的物理地址空间,并对捕获卡的地址窗口进行设置。利用软件工具,用户可以对要捕获的目标进行设置。软件工具还包括接收程序,用于接收捕获卡来的数据。In the present invention, the device for real-time capture of memory access information can capture all memory access information. However, the user may only be interested in the fetching information of some specific applications. The invention provides an operating system patch, which can acquire the physical address space of different applications and set the address window of the capture card. Using the software tool, the user can set the target to be captured. The software tool also includes a receiver program for receiving data from the capture card.

以上所述仅为本发明技术构思下的一些基本说明,而依据本发明的技术方案所做的任何等效变换,均应属于本发明的保护范围,例如针对SDRAM的系统,不利用内存插槽而是利用主板总线或内存控制器输出等的方法等均是保护对象。The above are only some basic explanations under the technical conception of the present invention, and any equivalent transformation done according to the technical solution of the present invention should belong to the scope of protection of the present invention, for example, for SDRAM systems, memory slots are not used Instead, methods using the motherboard bus or memory controller output, etc., are protected objects.

最后应说明的是:以上实施例仅用以说明而非限制本发明的技术方案,尽管参照上述实施例对本发明进行了详细说明,本领域的普通技术人员应当理解:依然可以对本发明进行修改或者等同替换,而不脱离本发明的精神和范围的任何修改或局部替换,其均应涵盖在本发明的权利要求范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate and not limit the technical solutions of the present invention, although the present invention has been described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: the present invention can still be modified or Any modification or partial replacement without departing from the spirit and scope of the present invention shall fall within the scope of the claims of the present invention.

Claims (7)

1. internal storage access information captured in real time device, comprise internal memory signal capture logical block (10), unit, data buffer (20), high speed interface unit (30), flush bonding processor unit (40) and configuration buffer location (50), described internal memory signal capture logical block (10), unit, data buffer (20), high speed interface unit (30), flush bonding processor unit (40) and configuration buffer location (50) utilize High-speed I, high capacity RAM and flush bonding processor, realize high-speed internal memory interface and data transmit-receive interface, and data are carried out pre-service, described internal storage access information captured in real time device receives the Memory Controller Hub signal;
Wherein, internal memory signal capture logical block (10) has realized the subclass of JEDEC DDR RAM standard, and the order of DDR internal memory is resolved, and address and data are discerned and caught;
Unit, data buffer (20) comprises high speed FIFO buffer zone and relevant steering logic, and internal memory signal capture logical block (10) writes this FIFO with the information of catching; That FIFO provides is empty, full, counter etc., uses for flow control;
High speed interface unit (30) is used for that data are sent to main frame or receives control and the configuration order that main frame transmits passing to configuration buffer location (50);
Configuration buffer location (50) receives capture rule by internal memory signal capture logical block (10), and in order to information is filtered, and the information after will filtering is passed to internal memory signal capture logical block (10).
2. a kind of internal storage access information captured in real time device as claimed in claim 1 is characterized in that, the Memory Controller Hub signal of internal storage access information captured in real time device by occurring on the rambus, recognition command, address and data.
3. internal storage access information captured in real time device as claimed in claim 1 is characterized in that, internal storage access information captured in real time device uses USB2.0 interface or Xilinx specialized high-speed IO passage to realize catching the transmission of data.
4. internal storage access information captured in real time device as claimed in claim 1, it is characterized in that, high speed interface unit (30) sends to the packing data in unit, data buffer (20) main frame by USB interface or high-speed serial channel and stores and analyze; Unit, data buffer (20), high speed interface unit (30) and upper layer drivers cooperate jointly, carry out flow control.
5. internal storage access information captured in real time device as claimed in claim 1, it is characterized in that, described configuration buffer location (50) receives capture rule by internal memory signal capture logical block (10), in order to information is filtered, and the information after will filtering is passed to internal memory signal capture logical block (10).
6. internal storage access information captured in real time device as claimed in claim 1 is characterized in that, internal memory signal capture logical block (10) is by the control of the rule in the configuration buffer location (50).
7. an application rights requires 1 described internal storage access information captured in real time device to carry out the method for memory access information capture, may further comprise the steps:
A) the memory access signal sent by the DDR slot of motherboard of internal storage access information captured in real time device receiving processor;
B) internal memory signal capture logical block (10) captures memory access information;
C) capture rule that receives by internal memory signal capture logical block (10) of configuration buffer location (50), in order to information is filtered, and the information after will filtering is passed to internal memory signal capture logical block (10);
D) internal memory signal capture logical block (10) the memory access information that will cross filtration deposits unit, data buffer (20) in;
E) handle the data in the data buffer location (20) flush bonding processor unit (40);
F) data processed is sent into high speed interface unit (30) by unit, data buffer (20);
G) data processed is sent in flush bonding processor unit (40) control high speed interface unit (30).
CNB2005100086126A 2005-02-28 2005-02-28 Device for capturing memory access information in real time and method for capturing memory access information Expired - Fee Related CN100377104C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100086126A CN100377104C (en) 2005-02-28 2005-02-28 Device for capturing memory access information in real time and method for capturing memory access information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100086126A CN100377104C (en) 2005-02-28 2005-02-28 Device for capturing memory access information in real time and method for capturing memory access information

Publications (2)

Publication Number Publication Date
CN1828550A CN1828550A (en) 2006-09-06
CN100377104C true CN100377104C (en) 2008-03-26

Family

ID=36946961

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100086126A Expired - Fee Related CN100377104C (en) 2005-02-28 2005-02-28 Device for capturing memory access information in real time and method for capturing memory access information

Country Status (1)

Country Link
CN (1) CN100377104C (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101320589B (en) * 2007-06-05 2010-06-23 华硕电脑股份有限公司 Motherboard and memory device thereof
CN100596114C (en) * 2007-08-24 2010-03-24 中国科学院计算技术研究所 A reputation-based traffic control system, device and method
CN101763292B (en) * 2010-01-18 2012-07-04 龙芯中科技术有限公司 Filtering device for processor presumed access and filtering method thereof based on address window
CN102495788B (en) * 2011-11-04 2015-02-25 北京星网锐捷网络技术有限公司 Internal storage counting method and device of embedded system
CN103092737A (en) * 2011-11-08 2013-05-08 鸿富锦精密工业(深圳)有限公司 Computer system with solid-state hard disk rate indication function
CN102541772B (en) * 2011-12-29 2014-11-26 中国科学院计算技术研究所 Signal acquisition device of memory bus
CN102609217B (en) * 2012-01-13 2015-04-29 从兴技术有限公司 High-speed storage method and high-speed storage system for IO (input/output) equipment
CN103914363B (en) 2012-12-31 2016-10-26 华为技术有限公司 A kind of internal memory monitoring method and relevant apparatus
CN112463655B (en) * 2020-11-14 2022-06-14 武汉汇迪森信息技术有限公司 Data storage and reading method of high-speed data acquisition and storage system
CN117093353B (en) * 2023-10-17 2024-02-02 北京开源芯片研究院 Interrupt control method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974536A (en) * 1997-08-14 1999-10-26 Silicon Graphics, Inc. Method, system and computer program product for profiling thread virtual memory accesses
CN1286429A (en) * 1999-11-20 2001-03-07 深圳市中兴通讯股份有限公司 Test and monitor method for embedded in processor memory
CN1427342A (en) * 2001-12-21 2003-07-02 上海贝尔有限公司 Internal storage management system and its distribution method
US6622203B2 (en) * 2001-05-29 2003-09-16 Agilent Technologies, Inc. Embedded memory access method and system for application specific integrated circuits
US6662278B1 (en) * 2000-09-22 2003-12-09 Intel Corporation Adaptive throttling of memory acceses, such as throttling RDRAM accesses in a real-time system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5974536A (en) * 1997-08-14 1999-10-26 Silicon Graphics, Inc. Method, system and computer program product for profiling thread virtual memory accesses
CN1286429A (en) * 1999-11-20 2001-03-07 深圳市中兴通讯股份有限公司 Test and monitor method for embedded in processor memory
US6662278B1 (en) * 2000-09-22 2003-12-09 Intel Corporation Adaptive throttling of memory acceses, such as throttling RDRAM accesses in a real-time system
US6622203B2 (en) * 2001-05-29 2003-09-16 Agilent Technologies, Inc. Embedded memory access method and system for application specific integrated circuits
CN1427342A (en) * 2001-12-21 2003-07-02 上海贝尔有限公司 Internal storage management system and its distribution method

Also Published As

Publication number Publication date
CN1828550A (en) 2006-09-06

Similar Documents

Publication Publication Date Title
KR101873794B1 (en) Techniques for tracing wakelock usage
US6889344B2 (en) System and method for exposing hidden events on system buses
CN100377104C (en) Device for capturing memory access information in real time and method for capturing memory access information
CN107527317B (en) Data Transmission System Based on Image Processing
CN106951587A (en) FPGA debugging systems and method
CN102044063A (en) FPGA (Field Programmable Gate Array) and DSP (Digital Signal Processor) based machine vision system
CN103198856A (en) DDR (Double Data Rate) controller and request scheduling method
CN102265262A (en) Mechanism for storing and extracting trace information using internal memory in microcontrollers
CN108427629A (en) A kind of the SoC chip tracking of information device and performance optimization method of data compression
CN103092119B (en) A kind of bus state supervision method based on FPGA
TWI439925B (en) Embedded systems and methods for threads and buffer management thereof
RU2016119814A (en) INSTRUCTIONS AND LOGIC FOR ACCESS TO MEMORY IN A WIDE EXECUTED CLUSTER MACHINE
CN102841871A (en) Pipeline read-write method of direct memory access (DMA) structure based on high-speed serial bus
CN101751327A (en) Method for tracing embedded processor debugging
CN105528300B (en) A kind of DDR Memory Controller Hub and its access monitoring method
US7373557B1 (en) Performance monitor for data processing systems
US20040199902A1 (en) Method and apparatus for performing bus tracing with scalable bandwidth in a data processing system having a distributed memory
JP2004310749A (en) Method and apparatus for performing bus tracing in data processing system having distributed memory
CN104572515B (en) Tracking module, method, system and on-chip system chip
CN115240752A (en) Device and method for analyzing flash memory signal in chip and electronic equipment
CN105242603A (en) Power collection terminal with USB OTG interface and debugging upgrade method thereof
CN101963936B (en) Method for DSP equipment to store working parameter state through CF memory card
CN104331352B (en) Detection method and device are read outside cache uniformity chip address band
CN114090480A (en) Master control embedded instruction and data recording device
CN102541772B (en) Signal acquisition device of memory bus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080326