Hmm this info might be available when you see the config file - am not entirely 
sure. Alternately, there should be a way to snoop the Msg going out of / in to 
the NIC and display the name of the controller.
Note that the order in which you connect the controllers in the topology file 
is the order in which the NI IDs get created.
For eg., if you were to use MOESI_hammer protocol with MeshDirCorners_XY.py for 
say a 8x8 mesh, NIs 0 to 63 correspond to cache controllers and NIs 64 to 67 
correspond to directory controllers.

Tushar
On Apr 23, 2020, 11:32 PM -0400, Arun Mishra <mishra.arun22...@gmail.com>, 
wrote:
That makes things a lot easier. Thank you.

A follow up question :
Where should I look if I want to identify the specific Controller connected
to a NI. I would like to identify a NI's corresponding controller by a name
and a number, e.g. CPCntrl0, L3Cntrl1 etc.

Regards,
Arun Mishra

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
     Virus-free. 
www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>

On Thu, Apr 23, 2020 at 11:12 PM Krishna, Tushar 
<tus...@ece.gatech.edu<mailto:tus...@ece.gatech.edu>> wrote:
Each controller creates one NI. Multiple NIs connect to the same router within 
the NoC.
So you can collect controller specific network stats from the NI it is 
connected to.

Best,
Tushar

On Apr 23, 2020, 11:09 PM -0400, Arun Mishra via gem5-users 
<gem5-us...@gem5.org<mailto:gem5-us...@gem5.org>>, wrote:
Hi All,

In Garnet, is a single Network Interface object (NI) connected to a single 
Protocol Controller (e.g. Directory Controller, Cache Ctrl, Core pair Ctrl) or 
is connection to multiple controllers possible ?

I am asking this because I need to collect some controller specific network 
stats and I want to know if there is a way to separate out the stats based on 
the NI it is connected with. Otherwise, is there a better way of collecting per 
controller network stats ?

Thank You,
Arun Mishra

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
     Virus-free. 
www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to