gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Gem5 Garnet 3.0 -- Virtual networks

KS
Karim Soliman
Thu, Jun 8, 2023 6:15 AM

Hey everyone, hope you are all doing well.
For research purposes, I'm using gem5 with garnet 3.0, the protocol used is
the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2.
I was wondering if it's possible to change this number and set a different
number of virtual networks.
I understand that changing the protocol will change the number of the used
virtual networks, but I want to perform the simulation under the Standalone
protocol because my interest is the routing in NoC, not the cache.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)

Hey everyone, hope you are all doing well. For research purposes, I'm using gem5 with garnet 3.0, the protocol used is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2. I was wondering if it's possible to change this number and set a different number of virtual networks. I understand that changing the protocol will change the number of the used virtual networks, but I want to perform the simulation under the Standalone protocol because my interest is the routing in NoC, not the cache. Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A)
CW
Chenxun Wang
Fri, Jun 9, 2023 2:21 AM

Hi Karim,

The number of virtual networks under Standalone protocol is set in configs/ruby/Garnet_standalone.py, line 115 which is ruby_system.network.number_of_virtual_networks = 3.
It's the same as every other protocol such as CHI in configs/ruby/CHI.py. This parameter should not be less than the number of the used virtual networks defined in SLICC implementation of protocol, 3 for Standalone.

Hope it helps you.

Chenxun

----- 原始邮件 -----
发件人: "Karim Soliman via gem5-users" gem5-users@gem5.org
收件人: "The gem5 Users mailing list" gem5-users@gem5.org
抄送: "Karim Soliman" karim.soliman@pua.edu.eg
发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30
主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks

Hey everyone, hope you are all doing well.
For research purposes, I'm using gem5 with garnet 3.0, the protocol used is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2.
I was wondering if it's possible to change this number and set a different number of virtual networks.
I understand that changing the protocol will change the number of the used virtual networks, but I want to perform the simulation under the Standalone protocol because my interest is the routing in NoC, not the cache.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hi Karim, The number of virtual networks under Standalone protocol is set in `configs/ruby/Garnet_standalone.py`, line 115 which is `ruby_system.network.number_of_virtual_networks = 3`. It's the same as every other protocol such as CHI in `configs/ruby/CHI.py`. This parameter should not be less than the number of the used virtual networks defined in SLICC implementation of protocol, 3 for Standalone. Hope it helps you. Chenxun ----- 原始邮件 ----- 发件人: "Karim Soliman via gem5-users" <gem5-users@gem5.org> 收件人: "The gem5 Users mailing list" <gem5-users@gem5.org> 抄送: "Karim Soliman" <karim.soliman@pua.edu.eg> 发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30 主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks Hey everyone, hope you are all doing well. For research purposes, I'm using gem5 with garnet 3.0, the protocol used is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2. I was wondering if it's possible to change this number and set a different number of virtual networks. I understand that changing the protocol will change the number of the used virtual networks, but I want to perform the simulation under the Standalone protocol because my interest is the routing in NoC, not the cache. Best Regards, Eng. Karim Soliman Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-leave@gem5.org
KT
Krishna, Tushar
Fri, Jun 9, 2023 2:30 AM

Karim you can control which vnet to inject traffic into using - -inj-vnet

https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
Garnet Synthetic Traffichttps://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
gem5.orghttps://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
[apple-touch-icon.png]https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/

More details of the protocol are here:
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
Garnet standalonehttps://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
gem5.orghttps://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
[apple-touch-icon.png]https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/

Cheers,
Tushar

On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users gem5-users@gem5.org wrote:

Hi Karim,

The number of virtual networks under Standalone protocol is set in configs/ruby/Garnet_standalone.py, line 115 which is ruby_system.network.number_of_virtual_networks = 3.
It's the same as every other protocol such as CHI in configs/ruby/CHI.py. This parameter should not be less than the number of the used virtual networks defined in SLICC implementation of protocol, 3 for Standalone.

Hope it helps you.

Chenxun

----- 原始邮件 -----
发件人: "Karim Soliman via gem5-users" gem5-users@gem5.org
收件人: "The gem5 Users mailing list" gem5-users@gem5.org
抄送: "Karim Soliman" karim.soliman@pua.edu.eg
发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30
主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks

Hey everyone, hope you are all doing well.
For research purposes, I'm using gem5 with garnet 3.0, the protocol used is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2.
I was wondering if it's possible to change this number and set a different number of virtual networks.
I understand that changing the protocol will change the number of the used virtual networks, but I want to perform the simulation under the Standalone protocol because my interest is the routing in NoC, not the cache.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Karim you can control which vnet to inject traffic into using - -inj-vnet <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> Garnet Synthetic Traffic<https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> gem5.org<https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> [apple-touch-icon.png]<https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> More details of the protocol are here: <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> Garnet standalone<https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> gem5.org<https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> [apple-touch-icon.png]<https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> Cheers, Tushar On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users <gem5-users@gem5.org> wrote: Hi Karim, The number of virtual networks under Standalone protocol is set in `configs/ruby/Garnet_standalone.py`, line 115 which is `ruby_system.network.number_of_virtual_networks = 3`. It's the same as every other protocol such as CHI in `configs/ruby/CHI.py`. This parameter should not be less than the number of the used virtual networks defined in SLICC implementation of protocol, 3 for Standalone. Hope it helps you. Chenxun ----- 原始邮件 ----- 发件人: "Karim Soliman via gem5-users" <gem5-users@gem5.org> 收件人: "The gem5 Users mailing list" <gem5-users@gem5.org> 抄送: "Karim Soliman" <karim.soliman@pua.edu.eg> 发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30 主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks Hey everyone, hope you are all doing well. For research purposes, I'm using gem5 with garnet 3.0, the protocol used is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, 2. I was wondering if it's possible to change this number and set a different number of virtual networks. I understand that changing the protocol will change the number of the used virtual networks, but I want to perform the simulation under the Standalone protocol because my interest is the routing in NoC, not the cache. Best Regards, Eng. Karim Soliman Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-leave@gem5.org _______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-leave@gem5.org
KS
Karim Soliman
Sat, Jun 10, 2023 1:42 AM

Thank you so much for your help.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)

On Fri, Jun 9, 2023 at 10:34 AM Krishna, Tushar via gem5-users <
gem5-users@gem5.org> wrote:

Karim you can control which vnet to inject traffic into using - -inj-vnet

Garnet Synthetic Traffic
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
gem5.org
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
[image: apple-touch-icon.png]
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/

More details of the protocol are here:
Garnet standalone
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
gem5.org
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
[image: apple-touch-icon.png]
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/

Cheers,
Tushar

On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users <
gem5-users@gem5.org> wrote:

Hi Karim,

The number of virtual networks under Standalone protocol is set in
configs/ruby/Garnet_standalone.py, line 115 which is
ruby_system.network.number_of_virtual_networks = 3.
It's the same as every other protocol such as CHI in
configs/ruby/CHI.py. This parameter should not be less than the number of
the used virtual networks defined in SLICC implementation of protocol, 3
for Standalone.

Hope it helps you.

Chenxun

----- 原始邮件 -----
发件人: "Karim Soliman via gem5-users" gem5-users@gem5.org
收件人: "The gem5 Users mailing list" gem5-users@gem5.org
抄送: "Karim Soliman" karim.soliman@pua.edu.eg
发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30
主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks

Hey everyone, hope you are all doing well.
For research purposes, I'm using gem5 with garnet 3.0, the protocol used
is the Standalone protocol which provides 3 virtual networks, vnet =0, 1,
2.
I was wondering if it's possible to change this number and set a different
number of virtual networks.
I understand that changing the protocol will change the number of the used
virtual networks, but I want to perform the simulation under the Standalone
protocol because my interest is the routing in NoC, not the cache.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Thank you so much for your help. Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) On Fri, Jun 9, 2023 at 10:34 AM Krishna, Tushar via gem5-users < gem5-users@gem5.org> wrote: > Karim you can control which vnet to inject traffic into using - -inj-vnet > > Garnet Synthetic Traffic > <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> > gem5.org > <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> > [image: apple-touch-icon.png] > <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> > <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> > > More details of the protocol are here: > Garnet standalone > <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> > gem5.org > <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> > [image: apple-touch-icon.png] > <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> > <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> > > > Cheers, > Tushar > > On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users < > gem5-users@gem5.org> wrote: > > Hi Karim, > > The number of virtual networks under Standalone protocol is set in > `configs/ruby/Garnet_standalone.py`, line 115 which is > `ruby_system.network.number_of_virtual_networks = 3`. > It's the same as every other protocol such as CHI in > `configs/ruby/CHI.py`. This parameter should not be less than the number of > the used virtual networks defined in SLICC implementation of protocol, 3 > for Standalone. > > Hope it helps you. > > Chenxun > > > > ----- 原始邮件 ----- > 发件人: "Karim Soliman via gem5-users" <gem5-users@gem5.org> > 收件人: "The gem5 Users mailing list" <gem5-users@gem5.org> > 抄送: "Karim Soliman" <karim.soliman@pua.edu.eg> > 发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30 > 主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks > > Hey everyone, hope you are all doing well. > For research purposes, I'm using gem5 with garnet 3.0, the protocol used > is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, > 2. > I was wondering if it's possible to change this number and set a different > number of virtual networks. > I understand that changing the protocol will change the number of the used > virtual networks, but I want to perform the simulation under the Standalone > protocol because my interest is the routing in NoC, not the cache. > > Best Regards, > Eng. Karim Soliman > Teaching Assistant > Computer Engineering Department > Pharos University in Alexandria (P.U.A) > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >
KS
Karim Soliman
Sat, Jun 10, 2023 4:18 AM

I have tried changing the number of virtual networks
in configs/ruby/Garnet_standalone.py and it's working, I checked the number
of Virtual channels in src/mem/ruby/network/garnet/InputUnit.cc and it's
working.
The problem is the Garnet Synthetic Traffic
in src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc is
just injecting packets in vnet =0, 1, and 2 even if I try to change
the injReqType variable to another value like 3 or 4 (after increasing the
number of virtual networks) still injecting them into virtual network 0, 1
and 2 according to the request type variable.
How can I inject the packet into the new virtual networks?

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)

On Sat, Jun 10, 2023 at 9:42 AM Karim Soliman karim.soliman@pua.edu.eg
wrote:

Thank you so much for your help.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)

On Fri, Jun 9, 2023 at 10:34 AM Krishna, Tushar via gem5-users <
gem5-users@gem5.org> wrote:

Karim you can control which vnet to inject traffic into using -
-inj-vnet

Garnet Synthetic Traffic
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
gem5.org
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
[image: apple-touch-icon.png]
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/
https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/

More details of the protocol are here:
Garnet standalone
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
gem5.org
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
[image: apple-touch-icon.png]
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/
https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/

Cheers,
Tushar

On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users <
gem5-users@gem5.org> wrote:

Hi Karim,

The number of virtual networks under Standalone protocol is set in
configs/ruby/Garnet_standalone.py, line 115 which is
ruby_system.network.number_of_virtual_networks = 3.
It's the same as every other protocol such as CHI in
configs/ruby/CHI.py. This parameter should not be less than the number of
the used virtual networks defined in SLICC implementation of protocol, 3
for Standalone.

Hope it helps you.

Chenxun

----- 原始邮件 -----
发件人: "Karim Soliman via gem5-users" gem5-users@gem5.org
收件人: "The gem5 Users mailing list" gem5-users@gem5.org
抄送: "Karim Soliman" karim.soliman@pua.edu.eg
发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30
主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks

Hey everyone, hope you are all doing well.
For research purposes, I'm using gem5 with garnet 3.0, the protocol used
is the Standalone protocol which provides 3 virtual networks, vnet =0, 1,
2.
I was wondering if it's possible to change this number and set a
different number of virtual networks.
I understand that changing the protocol will change the number of the
used virtual networks, but I want to perform the simulation under the
Standalone protocol because my interest is the routing in NoC, not the
cache.

Best Regards,
Eng. Karim Soliman
Teaching Assistant
Computer Engineering Department
Pharos University in Alexandria (P.U.A)


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

I have tried changing the number of virtual networks in configs/ruby/Garnet_standalone.py and it's working, I checked the number of Virtual channels in src/mem/ruby/network/garnet/InputUnit.cc and it's working. The problem is the Garnet Synthetic Traffic in src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc is just injecting packets in vnet =0, 1, and 2 even if I try to change the injReqType variable to another value like 3 or 4 (after increasing the number of virtual networks) still injecting them into virtual network 0, 1 and 2 according to the request type variable. How can I inject the packet into the new virtual networks? Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) On Sat, Jun 10, 2023 at 9:42 AM Karim Soliman <karim.soliman@pua.edu.eg> wrote: > Thank you so much for your help. > > Best Regards, > *Eng. Karim Soliman* > Teaching Assistant > Computer Engineering Department > Pharos University in Alexandria (P.U.A) > > > On Fri, Jun 9, 2023 at 10:34 AM Krishna, Tushar via gem5-users < > gem5-users@gem5.org> wrote: > >> Karim you can control which vnet to inject traffic into using - >> -inj-vnet >> >> Garnet Synthetic Traffic >> <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> >> gem5.org >> <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> >> [image: apple-touch-icon.png] >> <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> >> <https://www.gem5.org/documentation/general_docs/ruby/garnet_synthetic_traffic/> >> >> More details of the protocol are here: >> Garnet standalone >> <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> >> gem5.org >> <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> >> [image: apple-touch-icon.png] >> <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> >> <https://www.gem5.org/documentation/general_docs/ruby/Garnet_standalone/> >> >> >> Cheers, >> Tushar >> >> On Jun 8, 2023, at 10:24 PM, Chenxun Wang via gem5-users < >> gem5-users@gem5.org> wrote: >> >> Hi Karim, >> >> The number of virtual networks under Standalone protocol is set in >> `configs/ruby/Garnet_standalone.py`, line 115 which is >> `ruby_system.network.number_of_virtual_networks = 3`. >> It's the same as every other protocol such as CHI in >> `configs/ruby/CHI.py`. This parameter should not be less than the number of >> the used virtual networks defined in SLICC implementation of protocol, 3 >> for Standalone. >> >> Hope it helps you. >> >> Chenxun >> >> >> >> ----- 原始邮件 ----- >> 发件人: "Karim Soliman via gem5-users" <gem5-users@gem5.org> >> 收件人: "The gem5 Users mailing list" <gem5-users@gem5.org> >> 抄送: "Karim Soliman" <karim.soliman@pua.edu.eg> >> 发送时间: 星期四, 2023年 6 月 08日 下午 2:15:30 >> 主题: [gem5-users] Gem5 Garnet 3.0 -- Virtual networks >> >> Hey everyone, hope you are all doing well. >> For research purposes, I'm using gem5 with garnet 3.0, the protocol used >> is the Standalone protocol which provides 3 virtual networks, vnet =0, 1, >> 2. >> I was wondering if it's possible to change this number and set a >> different number of virtual networks. >> I understand that changing the protocol will change the number of the >> used virtual networks, but I want to perform the simulation under the >> Standalone protocol because my interest is the routing in NoC, not the >> cache. >> >> Best Regards, >> Eng. Karim Soliman >> Teaching Assistant >> Computer Engineering Department >> Pharos University in Alexandria (P.U.A) >> >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> >> _______________________________________________ >> gem5-users mailing list -- gem5-users@gem5.org >> To unsubscribe send an email to gem5-users-leave@gem5.org >> >
GB
gabriel.busnot@arteris.com
Mon, Jun 12, 2023 5:28 PM

Hi Karim,

You can’t set the value of ruby_system.network.number_of_virtual_networks arbitrarily. This value must match the actual virtual networks used by the protocol it corresponds to. In the case of Garnet_standalone, only 3 vnets are defined (c.f., network buffers defined by Garnet_standalone-cache.sm and Garnet_standalone-dir.sm). You can still force GarnetSyntheticTraffic (the traffic generator) to use only one of these using the --inj-vnet option but you can’t expect traffic to use more than 3 networks without modifying the code.

Hopefully, this should be relatively easy to do (given you know a bit about SLICC). You can add buffers in both the cache and the directory to use additional networks. Then, you can update mandatory_request_type_to_event to return additional event types that will trigger traffic on additional networks. Then, define the corresponding transition in cache, update dir to consume the messages on the new network and update the traffic generator (GarnetSyntheticTraffic) to issue new types of request that mandatory_request_type_to_event will match to events. Finally, update number_of_virtual_networks in configs/ruby/Garnet_standalone.py to match the new number of vnets used by the protocol and you should be good.

Best,

Gabriel

Hi Karim, You can’t set the value of ruby_system.network.number_of_virtual_networks arbitrarily. This value must match the actual virtual networks used by the protocol it corresponds to. In the case of Garnet_standalone, only 3 vnets are defined (c.f., network buffers defined by Garnet_standalone-cache.sm and Garnet_standalone-dir.sm). You can still force GarnetSyntheticTraffic (the traffic generator) to use only one of these using the --inj-vnet option but you can’t expect traffic to use more than 3 networks without modifying the code. Hopefully, this should be relatively easy to do (given you know a bit about SLICC). You can add buffers in both the cache and the directory to use additional networks. Then, you can update mandatory_request_type_to_event to return additional event types that will trigger traffic on additional networks. Then, define the corresponding transition in cache, update dir to consume the messages on the new network and update the traffic generator (GarnetSyntheticTraffic) to issue new types of request that mandatory_request_type_to_event will match to events. Finally, update number_of_virtual_networks in configs/ruby/Garnet_standalone.py to match the new number of vnets used by the protocol and you should be good. Best, Gabriel