HMTT v1: HMTT for DDR

Features

  • Works at 100MHz to support DDR-200

  • Supported memory size can be up to 8GB

  • Max trace transmission bandwidth is 1Gb/s

  • Developed at Linux 2.6.14, can be ported to other versions with few efforts, such as 2.6.18

[parameters]

Framework

  • Memory Trace Board (MTB)

  • Kernel Synchronization Module (KSMod)

  • Trace packets capture and analysis Toolkit

[framework]

Hardware Design

  • Power supply

  • DDR gold-finger

  • 1 GE PHY

  • Xilinx Virtex II Pro FPGA

The FPGA Physical Block Diagram

[fpga]

HMTT Hardware Board

[board]

Software Design

Kernel Synchronization Module (KSMod)

  • One module is added to alter the first page's cache attribution

  • Another module is a more important module which provides the hmtt_printk routine to collect page table information and to store the information in a kernel-user shared buffer

  • One kernel patch for pgtable.h records each update of page table

  • Another kernel patch for entry.S sends identifiers to MTB when kernel-enter and kernel-exit occur (optional)

Trace packets capture and analysis Toolkit

  • Memory Trace Board (MTB) Configuration

  • Trace Dumping and Replay

MTB Configuration Mechanism

[configuration]