gem5-users@gem5.org

The gem5 Users mailing list

View all threads

TrafficGen on Ruby

DN
David Novo
Fri, Jun 2, 2023 2:32 PM

Hi,

I am interested in injecting prerecorded traces into a Ruby system using the TrafficGen object. However I'm encountering difficulties in establishing the connection between them. E.g., Is it necessary for connect TrafficGen to a sequencer to interface with Ruby? Are there any available examples or references that could assist me in this process?

Best,
David

Hi, I am interested in injecting prerecorded traces into a Ruby system using the TrafficGen object. However I'm encountering difficulties in establishing the connection between them. E.g., Is it necessary for connect TrafficGen to a sequencer to interface with Ruby? Are there any available examples or references that could assist me in this process? Best, David
GB
gabriel.busnot@arteris.com
Mon, Jun 12, 2023 9:16 PM

Hi David,

If these “prerecorded traces” are not recorded using the standard gem5 cpu tracer (elastic traces), you will likely need to roll your own trace-based traffic generator.

TrafficGen is likely not the tool you are looking for. TraceCPU might be a closer match. You can watch at the code that relates to TraceCPU as well as to etrace_replay.py to see how to configure a system with a trace replayer.

Regards,

Gabriel

Hi David, If these “prerecorded traces” are not recorded using the standard gem5 cpu tracer (elastic traces), you will likely need to roll your own trace-based traffic generator. TrafficGen is likely not the tool you are looking for. TraceCPU might be a closer match. You can watch at the code that relates to TraceCPU as well as to etrace_replay.py to see how to configure a system with a trace replayer. Regards, Gabriel