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.soli...@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.soli...@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-le...@gem5.org
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to