Re: [Gems-users] virtual networks in MSI_MOSI_CMP_directory


Date: Thu, 10 Apr 2008 18:13:08 -0400
From: Niket <niketa@xxxxxxxxxxxxx>
Subject: Re: [Gems-users] virtual networks in MSI_MOSI_CMP_directory
Virtual networks are used by coherence protocols to ensure protocol level deadlock avoidance.
Take a look at the protocol files $GEMS/protocols/

If you look at the protocol files for MSI_MOSI_CMP_directory, you will notice that they use 5 separate virtual networks (0-4).
Niket

Olya Krachina wrote:
ok, so now i got ruby to init with 8 virtual networks, but i actually do not
understand what are virtual networks and where i can find how many of them
MSI_MOSI_CMP_directory uses. Could someone please explain?
thanks


Quoting Olya Krachina <okrachin@xxxxxxxxxx>:

Hi,
how can i find out how many virtual networks does MSI_MOSI_CMP_directory use?
i
assume thats what the error is about? this is my output when i try to init
ruby.
Or what is the problem here? One thing though is that I haven't changed hierarchical switch to PT_TO_PT
or
FILE_SPECIFIED as suggested on the wikipage for this protocol, and number of
virtual networks right now is 4 in rubyconfig.defaults.

simics> load-module ruby
simics> ruby0.setparam g_NUM_PROCESSORS 8
simics> ruby0.init
Ruby Timing Mode
Creating event queue...
Creating event queue done
Creating system...
  Processors: 8
failed assertion 'network_num < m_virtual_networks' at fn void
SimpleNetwork::checkNetworkAllocation(NodeID, bool, int) in
network/simple/SimpleNetwork.C:200
failed assertion 'network_num < m_virtual_networks' at fn void
SimpleNetwork::checkNetworkAllocation(NodeID, bool, int) in
network/simple/SimpleNetwork.C:200
At this point you might want to attach a debug to the running and get to the
crash site; otherwise press enter to continue
PID: 27331

***  Simics getting shaky, switching to 'safe' mode.
***  Simics (main thread) received an abort signal, probably an assertion.

when i increased number of virtual networks i get this:

simics> ruby0.setparam NUMBER_OF_VIRTUAL_NETWORKS 5
simics> ruby0.init
Ruby Timing Mode
Fatal Error: in fn static void RubyConfig::init() in config/RubyConfig.C:91:
g_MEMORY_SIZE_BITS must be zero at initialization.
Fatal Error: in fn static void RubyConfig::init() in config/RubyConfig.C:91:
g_MEMORY_SIZE_BITS must be zero at initialization.
***  Simics getting shaky, switching to 'safe' mode.
***  Simics (main thread) received an abort signal, probably an assertion.

thanks in advance

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding
"site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.



_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/"; to your search.





[← Prev in Thread] Current Thread [Next in Thread→]