----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2746/ -----------------------------------------------------------
(Updated July 2, 2015, 3:04 p.m.) Review request for Default. Repository: gem5 Description (updated) ------- Changeset 10889:4e1f65546a25 --------------------------- mem: Avoid DRAM write queue iteration for merging and read lookup This patch adds a simple lookup structure to avoid iterating over the write queue to find read matches, and for the merging of write bursts. Instead of relying on iteration we simply store a set of currently-buffered write-burst addresses and compare against these. For the reads we still perform the iteration if we have a match. For the writes, we rely entirely on the set. Note that there are corner-cases where sub-bursts would actually not be mergeable without a read-modify-write. We ignore these cases and opt for speed. Diffs (updated) ----- src/mem/dram_ctrl.cc 73d4798871a5 src/mem/dram_ctrl.hh 73d4798871a5 Diff: http://reviews.gem5.org/r/2746/diff/ Testing ------- Thanks, Andreas Hansson _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev