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 of the virtual networks, and their names The following is terminal output, the line print the size of the vector *m_vnet_type_names *and the following line are the names of these virtual networks. [image: image.png] however, when i tried to reduce the number of the virtual networks to be less than 5 inside the configuration file *gem5/configs/ruby/Ruby.py* - by setting the following value to any number less than 5 ruby.network.number_of_virtual_networks It generate fatal error when simulating from *build/NULL/mem/ruby/network/Network.cc:212: fatal: fatal condition network_num >= m_virtual_networks occurred: Network id is out of range* I'm aware that garnet3.0 has 3 different types of packets, request, forward, and response. So if each one of these types uses one of the virtual networks, what's the use of the other two? I have output during the simulation the route virtual network used in routing by printing the following variable route.vnet in file mem/ruby/network/garnet/RoutingUnit.cc inside function int RoutingUnit::outportComputeXY(RouteInfo route, int inport, PortDirection inport_dirn) and only i can find virtual networks with IDs 2,3 and 4 - i can't find 0 or 1 in route.vnet.
*My question is, what is a virtual network? and each virtual network used to route only one packet type?* *And another question, what's the buffer default size inside each virtual channel? How can I modify the size of the buffer? * 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