gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Dumping network traces from gem5 for Tarce-based NoC simulation

HM
Hansika Madushan Weerasena Loku Kattadige
Wed, Feb 14, 2024 10:02 PM

Hi everyone,

I have a requirement to dump traffic traces of running a program in gem5 and
replay it in another NoC simulator (e.g., Noxim). I have two questions, and any
help or pointers would be appreciated.

I want to dump traces of every inter-node traffic (e.g., a read request from an
L1 cache to a directory at another node). Since I don't need a detailed NoC
simulation for trace (I only need input/output to the interconnection network),
I plan to use a simple network instead of garnet.  I want a single row of
traces to have information on at least the source, destination, and packet
size. I want to know what files I have to consider putting the DPRINTF
statement to dump traces into a debug file.

I'm planning to conduct a dependency-based simulation using Netrace
(https://www.cs.utexas.edu/~netrace/) on traced traffic from gem5. However, the
Netrace library does not provide APIs or functions for preprocessing trace
files to identify dependencies. Did anyone use Netrace to dump gem5 traffic
traces and preprocess it for dependencies? If so, what parameters were dumped,
and how did you conduct dependency between each trace?

Also, I would like to talk about any other approaches in dumping network traces
from gem5.

Thanks, and Regards,
Hansika Weerasena

Hi everyone, I have a requirement to dump traffic traces of running a program in gem5 and replay it in another NoC simulator (e.g., Noxim). I have two questions, and any help or pointers would be appreciated. 1. I want to dump traces of every inter-node traffic (e.g., a read request from an L1 cache to a directory at another node). Since I don't need a detailed NoC simulation for trace (I only need input/output to the interconnection network), I plan to use a simple network instead of garnet. I want a single row of traces to have information on at least the source, destination, and packet size. I want to know what files I have to consider putting the DPRINTF statement to dump traces into a debug file. 2. I'm planning to conduct a dependency-based simulation using Netrace (https://www.cs.utexas.edu/~netrace/) on traced traffic from gem5. However, the Netrace library does not provide APIs or functions for preprocessing trace files to identify dependencies. Did anyone use Netrace to dump gem5 traffic traces and preprocess it for dependencies? If so, what parameters were dumped, and how did you conduct dependency between each trace? Also, I would like to talk about any other approaches in dumping network traces from gem5. Thanks, and Regards, Hansika Weerasena