[gem5-users] Re: Garnet Synthetic Traffic

2023-02-22 Thread Srikant Bharadwaj via gem5-users
Hi, The number of directories should be a power of 2. Even if you are not connecting one of the directories to the rest of the network, it should be present in the system. If you only want three directories, you will also have to modify the injectPkt() function according to your synthetic traffic

[gem5-users] Re: Garnet Synthetic Traffic

2023-02-22 Thread Srikant Bharadwaj via gem5-users
Hi, The exact function is called generatePkt() and you can find it in src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc https://github.com/gem5/gem5/blob/stable/src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc In line 199 above, for uniform random traffic, the co

[gem5-users] Re: Print Packet Content /Flit Content

2023-03-23 Thread Srikant Bharadwaj via gem5-users
The DataBlk should show the correct hex values. However, you might be looking at data requests. Ensure that you look at data responses when loading data. What kind of application/workload are you running? Synthetic simulations always have 0x0 data values in packets. Srikant On Thu, Mar 23, 2023

[gem5-users] Re: Multicast messages support in gem5 Garnet

2023-03-23 Thread Srikant Bharadwaj via gem5-users
Hi Richard, I am not aware of any works to add multicast support. Can you tell us more about what kind of multicast transmission you are looking for? You could look at the network interface code and modify it yourself to add support. For example, Line 389 is where a multicast message is converted

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

2023-03-25 Thread Srikant Bharadwaj via gem5-users
Hi Karim, The virtual network is the protocol level sub network. The virtual channels indicate the number of parallel buffer streams in each virtual network. To achieve a protocol deadlock you will have to set a single virtual network and then force the different types of messages (request, respon

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

2023-03-25 Thread Srikant Bharadwaj via gem5-users
Change the virtual network for request, forward, and response to a single vnet (0) in the following files and then set the src/mem/ruby/protocol/Garnet_standalone-cache.sm src/mem/ruby/protocol/Garnet_standalone-dir.sm Then restrict the number of vnets to 1 in configs/ruby/Garnet_standalone.py Mak

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

2023-03-27 Thread Srikant Bharadwaj via gem5-users
Hi Karim, Can you give us more details on your configuration? What is the type of build, config, and command line you are running which leads to this? Any changes that you may have done to the codebase will also be helpful. Srikant On Mon, Mar 27, 2023 at 8:26 PM Karim Soliman via gem5-users < ge

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

2023-03-29 Thread Srikant Bharadwaj via gem5-users
Hi Karim, Adding to what Tushar and Gabriel mentioned, you can use Garnet standalone to do this. >From what I understand, you want to create a custom traffic pattern according to your calculations. You can create your own traffic pattern by modifying the traffic injector. You can follow the follow

[gem5-users] Re: How to change voltage and frequency of individual ComputeUnit for GPU?

2023-04-04 Thread Srikant Bharadwaj via gem5-users
Hi Kazi, Matt's assumption is correct. Voltage does not affect the correctness of the model. You can see the scope of the voltage domain in src/sim/voltage_domain.cc Changing the voltage when the DVFS is enabled changes the clock frequency according to the perf levels that have been set. One can th

[gem5-users] Re: Print Packet Content /Flit Content

2023-04-05 Thread Srikant Bharadwaj via gem5-users
Hi Lissiyas, Yes, the data packet is 72 bytes and can be configured in Ruby (See https://gem5.googlesource.com/public/gem5/+/refs/heads/develop/src/mem/ruby/network/Network.cc#66 ) The address that you are seeing is the simulated virtual address that the message is carrying data for. This address w

[gem5-users] Re: Using DSENT with on-chip-network-power-area.py

2023-04-05 Thread Srikant Bharadwaj via gem5-users
Hi, I believe this is because certain stats names have changed in recent times. Specifically, the error you sent shows that it is not able to get 'sim_seconds' from the stats file. Can you provide the stats file from your simulation? It would be great if you can submit a change to gem5 dev doing t

[gem5-users] Re: Using Virtual Networks in garnet

2023-05-23 Thread Srikant Bharadwaj via gem5-users
Hi Ali, We can create a topology with just one vnet in Garnet. But you need to make sure that you are injecting traffic with just one virtual network. The default standalone traffic configuration has 3 virtual networks, if I recall correctly. Garnet currently does not allow connecting a pair with

[gem5-users] Re: Chiplet simulation using HeteroGarnet (Garnet 3.0)

2023-06-21 Thread Srikant Bharadwaj via gem5-users
Hi Haoyu, HeteroGarnet works similar to legacy Garnet when used with standalone scripts. You just need to modify the topology to reflect the Chiplet architecture. The way to create a Chiplet topology is described in the documentation page. Let me know if you need a sample Topology to work with.

[gem5-users] Re: Chiplet simulation using HeteroGarnet (Garnet 3.0)

2023-06-26 Thread Srikant Bharadwaj via gem5-users
Hi, Attaching a sample topology file for Kite Large ( https://dl.acm.org/doi/abs/10./3437539.3437683). Let me know if you have any questions. Thanks, Srikant On Thu, Jun 22, 2023 at 12:48 AM Haoyu Wang wrote: > Hi Srikant, > > I appreciate your assistance. If you could provide me with a sam

[gem5-users] Re: Modifying Garnet Routers

2024-02-01 Thread Srikant Bharadwaj via gem5-users
Hi Vladimir, You can print the message pointer in Network Interface. You can use the Garnet DPRINTF to do so. The file to modify would be src/mem/ruby/network/garnet/NetworkInterface.cc in function flitisizeMessage Thanks, Srikant On Thu, Feb 1, 2024 at 7:26 PM Vladimir Milicevic via gem5-user

[gem5-users] Re: Chiplet Simulation with Gem5

2024-02-21 Thread Srikant Bharadwaj via gem5-users
Hi Preet, 1. I am attaching a config file for Kite Large topology that you can use as a reference for building chiplet-based topologies. More info on Kite Large can be found in this paper: https://dl.acm.org/doi/abs/10./3437539.3437683 2. HeteroGarnet only handles the network traffic. So Hetero

[gem5-users] Re: capturing/tracing flits to measure message flow through Ruby memory system

2024-03-01 Thread Srikant Bharadwaj via gem5-users
Hi Ojas, If you are using Garnet network then you can print it from Network Interface. If not, you could replace the debug flag to something custom for the specific DPRINT that you want and build again to reduce the size of your output log. Thanks, Srikant On Fri, Mar 1, 2024 at 11:20 AM Ojas Sha

[gem5-users] Re: getting/converting a flit into stream of bits in gem5 garnet

2024-08-30 Thread Srikant Bharadwaj via gem5-users
Hi Ojas, I can probably help you with that. Can you describe what exactly you want to do with the flits? Do you want the bits of the address or the data? Thanks, Srikant On Fri, Aug 30, 2024 at 11:48 AM Ojas Sharma via gem5-users < gem5-users@gem5.org> wrote: > dear all, > > I hope this email re

[gem5-users] Re: AMD GCN3 - Virtual network type correctness in MOESI_AMD_Base-dir.sm

2020-08-30 Thread Srikant Bharadwaj via gem5-users
Hi Sampad, The vnet_type 'request' and 'response' in vnet is consumed by Garnet for setting the message size. In general, if a message has data that will be transmitted it should be marked as a 'response' type. I am not sure about the GPU_VIPER protocol, but if both the message buffers in question

[gem5-users] Re: Reproducible/deterministic runs

2024-09-27 Thread Srikant Bharadwaj via gem5-users
Hi, I have faced this issue in non-FS mode in the past and it always eventually boiled down to two things: 1. If you running your jobs in a cluster - it is possible that the ld.so.cache is different in each host. This means that your simulations will be slightly different because of the libraries l

[gem5-users] Re: Reproducible/deterministic runs

2024-09-27 Thread Srikant Bharadwaj via gem5-users
Hi, I have faced this issue in non-FS mode in the past and it always eventually boiled down to two things: 1. If you running your jobs in a cluster - it is possible that the ld.so.cache is different in each host. This means that your simulations will be slightly different because of the libraries l

[gem5-users] Re: Connecting custom peripheral to Garnet

2025-05-22 Thread Srikant Bharadwaj via gem5-users
Hi Xomse, Can you describe more about what you want to do? What do you mean by connecting a Garnet component to a simple port Srikant On Wed, May 21, 2025 at 6:37 AM xomse via gem5-users wrote: > Hi gem5-users, > > I have been playing around with NoC models in gem5 using Garnet. > It is very co