[Gems-users] Does gems (ruby) model the DMA operations now?


Date: Fri, 18 Dec 2009 11:24:41 +0800
From: Sitos Lin <sitos.lin@xxxxxxxxx>
Subject: [Gems-users] Does gems (ruby) model the DMA operations now?
Hello all:
  I want to use gems (ruby) to capture the memory access trace.
However, I am wondering if gems models the DMA operations. In the
paper, it says "Also, Ruby does not model the memory system traffic
due to direct memory access (DMA) operations or memory-mapped I/O
loads and stores." However, gems is now version 2.1. Does gems model
the DMA operations now?
  Besides that, if the memory system traffic of DMA operations are not
modeled, I want to know if DMA operations invalidate the correspondent
cache blocks in L1/L2 caches. Since the values of memory have been
changed by DMA (read) operations, the cache blocks should be
invalidated and the following cache accesses to these lines should be
miss. I have tried to test gems by two simple program. However, the
results are not consistent to my knowledge. The program with
additional DMAs causes less cache misses than another one without DMA
operation.
  If gems can not model the features mentioned above, I will try other
approaches.
Best regards,
  Sitos
[← Prev in Thread] Current Thread [Next in Thread→]