Not sure if my previous email went through so sending it again:
for gdb, you need to do
gdb ./build/Garnet_standalone/gem5.opt
run configs/example/garnet_synth_traffic.py --network=garnet2.0 âŠ
you can find info on routing algorithms here:
http://www.gem5.org/Garnet2.0
To implement XYZ routing I would just advice setting weights of X links to 1, Y links to 2 and Z links to 3.
If you want to modify outportComputeXY, I donât think you need to go down the gdb route - itâs a simple function that you can read and modify.
Cheers,
Tushar
On Oct 24, 2018, at 5:41 PM, Idris M. Umar <***@abu.edu.ng<mailto:***@abu.edu.ng>> wrote:
I really need to get an XYZ routing for the 3D topology because my target is to control traffic flow at the bridge links level by using suitable buffer occupancy threshold settings.
I attempted to used gdb debugger to check the variables in the first five lines of codes in the RoutingUnit::outportComputeXY() function, with a view towards modification, but received error message as shown beneath the command lines below.
~/gem5$ gdb ./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py --network=garnet2.0 --num-cpus=16 --num-dirs=16 --topology=Prism_Mesh --mesh-rows=4 --sim-cycles=5000 --injectionrate=0.02 --synthetic=uniform_random --routing-algorithm=1
gdb: unrecognized option '--network=garnet2.0'
Use `gdb --help' for a complete list of options.
How should I use gdb to recognize the optional parameters?
In addition, I suspect if one can split the m_router along the z-axis and treat each level individually, a working XYZ routing can be obtained from the XY routing.
Can you help with that?
Thanks.
Idris Umar
_______________________________________________
gem5-users mailing list
gem5-***@gem5.org<mailto:gem5-***@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users