[gem5-users] Ruby - HeteroGarnet - Running PARSEC benchmark on NoC

2023-09-10 Thread Karim Soliman via gem5-users
Hey everyone, hope you all are doing well. For my research purposes, which is about Network-on-Chip routing algorithms and the effects of using different virtual networks and virtual channels. I have successfully run the PARSEC benchmark suite with the 2D-Mesh topology and it's working well, I

[gem5-users] Re: Ruby - HeteroGarnet - Running PARSEC benchmark on NoC

2023-09-11 Thread Karim Soliman via gem5-users
while resp is 5 flit. > > You could either make changes at this level (might be harder) OR you can > maybe hack into NetworkInterface.cc in the garnet folder .. see the wakeup > function and how it gets packets from protocol and injects them into the > vnets and make changes there .. > >

[gem5-users] Gem5 - Garnet - Full System

2023-09-18 Thread Karim Soliman via gem5-users
Hey everyone, hope you are doing well. For my research purposes, I'm using Gem5 in FS mode, with PARSEC benchmark suite to do some research related to Network-on-Chip. I have built gem5 using the default command and I'm using 2-D Mesh topology - python3 `which scons` build/X86/gem5.opt -j n

[gem5-users] Re: Gem5 - Garnet - Full System

2023-09-18 Thread Karim Soliman via gem5-users
Thank you, Gabriel, for your valuable feedback. Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) On Mon, Sep 18, 2023 at 11:48 PM gabriel.busnot--- via gem5-users < gem5-users@gem5.org> wrote: > Hi Karim, > > The

[gem5-users] Re: Running PARSEC benchmark on gem5 Garnet

2023-08-17 Thread Karim Soliman via gem5-users
mCPU --cpu-clock=2GHz --caches --l1d_size=16kB >> --l1i_size=16kB --l2cache --num-l2cache=4 --mem-type=SimpleMemory >> --mem-size=3GB --ruby --network=garnet --topology=Mesh_XY --mesh-rows=2 >> --script=scripts/parsec.rcS* >> >> >> >> Regards, >>

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
Yes, I understand that. DPRINTF and std::cout work fine with me too. But i'm sorry, my question wasn't about using DPRINTF, I already used it before and it worked fine. My question is about the flit inside the Mesh_XY routing, i want to debug and print the flits or packets to trace it during the

[gem5-users] gem5 / garnet / simple custom routing

2023-03-13 Thread Karim Soliman via gem5-users
Hey everyone, for learning and researching purposes I'm trying to build a simple custom routing algorithm in gem5/garnet between only two routers. And use the custom routing algorithm in simulation command But always i'm getting "Segmentation fault" The following diagram represents what I'm

[gem5-users] Re: gem5 / garnet / simple custom routing

2023-03-13 Thread Karim Soliman via gem5-users
Yes, when I simulate the topology with the default weight-based routing algorithm it's working fine. and the simulation ends when the network tester completes simCycles successfully. Actually I can't tell exactly when the segmentation fault happens, but it's happening the moment when I hit the

[gem5-users] garnet - garnet synthetic traffic - Mesh_XY routing algorithm

2023-03-08 Thread Karim Soliman via gem5-users
Hi, for my research I'm trying to implement a custom routing algorithm in gem5/garnet. Someone from the mailing list recommended that I should go for the Mexh_XY routing algorithm to understand how it's working. The mesh topology i'm using contains only 4 cpus and 4 dirs and number of mesh rows

[gem5-users] Gem5 - garnet 3.0 - Mesh_XY - Deadlock

2023-03-25 Thread Karim Soliman via gem5-users
Hey everyone, For learning purposes, I'm trying to understand the deadlock and virtual channels, so in gem5/garnet 3.0 in file mem/ruby/network/garnet/InputUnit.cc I have tried to output the following: std::cout << " - VCs " << m_router->get_num_vcs() << " Vnetworks: " << m_router->get_num_vnets()

[gem5-users] Re: Gem5 - garnet 3.0 - Mesh_XY - Deadlock

2023-03-25 Thread Karim Soliman via gem5-users
you have any questions about changing them . > > Srikant > > On Sat, Mar 25, 2023 at 12:15 AM Karim Soliman via gem5-users < > gem5-users@gem5.org> wrote: > >> Hey everyone, >> For learning purposes, I'm trying to understand the deadlock and virtual >> channels, s

[gem5-users] Re: GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
inside file *mem/ruby/network/garnet/flit.cc* I found this function that can print out the flit data during the simulation. But I don't know how to call it during the simulation. // Flit can be printed out for debugging purposes void flit::print(std::ostream& out) const { out << "[flit:: ";

[gem5-users] GEM5 - Garnet - Mesh_XY

2023-03-20 Thread Karim Soliman via gem5-users
Hey everyone, for learning purposes, I'm trying to print out the packets or flits information being routed inside the Mexh_XY routing algorithm. inside file *"mem/ruby/network/garnet/RoutingUnit.cc" *I tried to *DPRINTF *but it did not work. one more thing, inside the Mesh_XY routing algorithm,

[gem5-users] Re: gem5 / garnet / simple custom routing

2023-03-15 Thread Karim Soliman via gem5-users
Thank you so much for your time and help. Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A) On Tue, Mar 14, 2023 at 4:17 PM gabriel.busnot--- via gem5-users < gem5-users@gem5.org> wrote: > When getting a segfault, you

[gem5-users] Re: 回复:Problem using HeteroGarnet / Garnet in simulation

2023-02-20 Thread Karim Soliman via gem5-users
it's working .. 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 Mon, Feb 20, 2023 at 6:00 PM 赵子丰 via gem5-users wrote: > hi Soliman, > The parameter"simcycles" in the command line

[gem5-users] Garnet - Custom routing algorithm

2023-03-02 Thread Karim Soliman via gem5-users
Hey everyone, I'm trying to configure custom routing algorithm in gem5 garnet - NOC. I'm aware that i must implement the routing algorithm in C++ in the following function: int RoutingUnit::outportComputeCustom(RouteInfo route, int inport,

[gem5-users] Re: Garnet - Custom routing algorithm

2023-03-05 Thread Karim Soliman via gem5-users
> Tushar > > On Mar 3, 2023, at 2:45 AM, Karim Soliman via gem5-users < > gem5-users@gem5.org> wrote: > >  > Hey everyone, > I'm trying to configure custom routing algorithm in gem5 garnet - NOC. > I'm aware that i must implement the routing algorithm in C++ in the

[gem5-users] Garnet Synthetic Traffic

2023-02-22 Thread Karim Soliman via gem5-users
Hi gem5 users, for research purposes, i'm trying to model a ring topology using garnet with only 3 routers but after writing the configuration file in python at try to run the topology an error showed up *i tried to model only two nodes ==> Works fine *i tried to model four nodes ==> also works

[gem5-users] Re: Garnet Synthetic Traffic

2023-02-22 Thread Karim Soliman via gem5-users
synthetic traffic needs. > > Thanks, > Srikant > > On Wed, Feb 22, 2023 at 7:09 PM Karim Soliman via gem5-users < > gem5-users@gem5.org> wrote: > >> Hi gem5 users, >> >> for research purposes, i'm trying to model a ring topology using garnet >> w

[gem5-users] Re: Gem5 - ruby - garnet3.0

2023-03-29 Thread Karim Soliman via gem5-users
andom traffic. > > Thanks, > Srikant > > > On Wed, Mar 29, 2023 at 7:03 PM Karim Soliman via gem5-users < > gem5-users@gem5.org> wrote: > >> Thank you for your response, I'm actually interested in routing and not >> coherency protocols, so i rebuild

[gem5-users] Re: Gem5 - ruby - garnet3.0

2023-03-29 Thread Karim Soliman via gem5-users
Thank you for your response, I'm actually interested in routing and not coherency protocols, so i rebuild gem5 with the following command to use Garnet Standalone protocol scons build/NULL/gem5.debug PROTOCOL=Garnet_standalone Thanks for the help about using the appropriate protocol. What I want

[gem5-users] Gem5 / garnet 3.0 - Standalone

2023-03-31 Thread Karim Soliman via gem5-users
Hey everyone, My research field is about NoC and I'm working on gem5/garnet 3.0 standalone. For research purposes, I'm trying to push Garnet standalone protocol into deadlock or traffic congestion during the simulation of Mesh_XY topology. So, that's what i have done so far: -

[gem5-users] gem5 / Garnet 3.0 / Standalone

2023-04-03 Thread Karim Soliman via gem5-users
Hey everyone, I was trying to limit the size of the flitBuffer. The default constructor is set *max_size = INFINITE_;* So, I used the method *setMaxSize(); *to alter the default *max_size *of the buffer. During the simulation, I output the current size of the flitBuffer at

[gem5-users] Re: Gem5 / garnet 3.0 - Standalone

2023-04-03 Thread Karim Soliman via gem5-users
pers from my group might be useful as > well : > https://github.com/noc-deadlock > > Cheers, > Tushar > On Apr 1, 2023, 12:12 AM -0400, Karim Soliman via gem5-users < > gem5-users@gem5.org>, wrote: > > Hey everyone, > My research field is about NoC and I'm working o

[gem5-users] Gem5 - ruby - garnet3.0

2023-03-29 Thread Karim Soliman via gem5-users
Hey everyone. For research purposes, I need to inject on purpose the flits into a certain virtual network, is that possible? Best Regards, *Eng. Karim Soliman* Teaching Assistant Computer Engineering Department Pharos University in Alexandria (P.U.A)

[gem5-users] Gem5 - ganret3.0 - Mesh_XY - Virtual Networks - Virtual Channels buffers

2023-03-27 Thread Karim Soliman via gem5-users
Hey everyone, For learning purposes, I'm trying to understand what's the virtual networks inside gem5/garnet3.0 - I'm working with Mesh_XY topology configurations. I found that inside garnet3.0 there are 5 virtual networks and in the file *mem/ruby/network/Network.cc* I managed to print the count

[gem5-users] Gem5 Garnet 3.0 -- Virtual networks

2023-06-08 Thread Karim Soliman via gem5-users
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

[gem5-users] Re: Gem5 Garnet 3.0 -- Virtual networks

2023-06-09 Thread Karim Soliman via gem5-users
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

[gem5-users] Re: Gem5 Garnet 3.0 -- Virtual networks

2023-06-09 Thread Karim Soliman via gem5-users
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 C

[gem5-users] Running PARSEC benchmark on gem5 Garnet

2023-08-09 Thread Karim Soliman via gem5-users
Hey everyone, For research purposes, I'm trying to run the *PARSEC *benchmark on Garnet 2D mesh topology. I successfully simulated garnet synthetic traffic under standalone protocol, after building gem5 using the following command *scons build/NULL/gem5.opt PROTOCOL=Garnet_standalone -j* I've

[gem5-users] Re: Running PARSEC benchmark on gem5 Garnet

2023-08-10 Thread Karim Soliman via gem5-users
=SimpleMemory > --mem-size=3GB --ruby --network=garnet --topology=Mesh_XY --mesh-rows=2 > --script=scripts/parsec.rcS* > > > > Regards, > > Hansika Weerasena > > Research Assistant, > > University of Florida > > > > > > > > *From: *Karim Solim

[gem5-users] gem5 garnet 3.0 standalone

2023-05-07 Thread Karim Soliman via gem5-users
Hey everyone, I'm trying to learn the garnet 3.0 standalone protocol for NoC research purposes, I read in some articles that they perform a warm-up before starting their simulations, if anyone knows how can I apply the warm-up in garnet 3.0? Best Regards, *Eng. Karim Soliman* Teaching Assistant

[gem5-users] Re: gem5 garnet 3.0 standalone

2023-05-09 Thread Karim Soliman via gem5-users
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 Tue, May 9, 2023 at 6:10 PM gabriel.busnot--- via gem5-users < gem5-users@gem5.org> wrote: > Hi Karim, > > You can run simulation

[gem5-users] Configuring Multi-Level Caches in Ruby with MESI_Three_Level Protocol

2024-04-18 Thread Karim Soliman via gem5-users
Dear gem5 community, I am writing to inquire about configuring cache coherence protocols in Ruby with HeteroGarnet for research purposes. As I am relatively new to this area, I appreciate your patience and guidance. I am currently exploring the implementation of a three-level cache hierarchy using

[gem5-users] Re: Where exactly are the flits generated

2024-05-03 Thread Karim Soliman via gem5-users
Hello Ojas, If you are using the Gem5 synthetic traffic patterns, you will find the packet generation in the following file src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc Which is also responsible for generating packets, injecting them into the networks, and the corresponding