Yes you can change these values.
The flit size is essentially the link width, and its default is 16B (128b), 
defines jn src/mem/ruby/network/garnet2.0/GarnetNetwork.py

src/mem/ruby/network/Network.py defines the default control message size which 
is 8B (64b).
The default data message size is in src/mem/ruby/network/network.cc and is 
control msg size + cache block size , so (8+64)B = 72B

Accordingly the number of control flits and data flits get computed. You can 
change any of these to model the number of flits per packet that you are 
interested in.

Note — if you increase the number of control / data flits, you may need to 
increase the control and data VC depths accordingly in 
src/mem/ruby/network/garnet2.0/GarnetNetwork.py

Cheers,
Tushar
On Jun 15, 2018, 2:36 AM -0400, F. A. Faisal <dipu.7...@gmail.com>, wrote:
Dear All,

In the default garnet configuration, the default value of ni_flit_size = 16 
results in control messages fitting within 1 flit, and data messages fitting 
within 5 flits.
However, I would like to increase the number of data message flit size to 10 
flits or the control message size to 5 flits. [In addition, I am also unsure 
about changing ni_flit_size to any value, can change the actual number of flit 
size in data packets or the control packets]

Please let me know the possible configuration to perform such changes.

Thanks in advance for your kindness.

Thanks and best regards,

F. A. Faisal
---------------------------------
School  of Information Science, JAIST
Doctoral Student

_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to