These discussions might be better on the gem5-users list ...
Can you re-send this email on that? I'll explain how you can separate out the power for different routers and ports ...


On 10/25/2011 06:21 AM, lyh wrote:
In a NoC, there are many routers. In general, some with more ports, some with fewer ones. 
Does "total router power" in simulation results indicate the power of a single 
router, or the sum of that for all the routers? How to distinguish power differnce for 
different routers that maybe with different number of ports?

lyh

At 2011-10-24 13:45:04,"Tushar Krishna"<tus...@csail.mit.edu>  wrote:
Hi Lyh,
The orion parameters are defined here: src/mem/ruby/network/orion/router.cfg
LINK_LENGTH is the length of each link.

For orion, an important file to look at is:
src/mem/ruby/network/orion/NetworkPower.cc

OrionLink has no direct relationship with BasicLink.
BasicLink is the base class for links in garnet and simple network.

When the garnet simulation completes, each link in garnet calls the
calculate_power() function.
This function creates objects of the class OrionLink which are used to
estimate power for the links based on activity and link model.

There is no direct provision to specify different wire spacings for
different links in the network since all links use the spacing specified
in router.cfg.
[The init() function in OrionLink.cc does the following: const string&
width_spacing_model_str =
m_orion_cfg_ptr->get<string>("WIRE_WIDTH_SPACING");]
If you want to model different spacings, I suggest modifying this
function to set different spacing models for different links.

- Tushar


On 10/24/2011 1:27 AM, lyh wrote:
Hi,
How do i set "len" of OrionLink ?
What's the relationship between OrionLink and BasicLink?
Now there are four width_spacing_models for wire,i.e.  
SWIDTH_SSPACE,SWIDTH_DSPACE,DWIDTH_SSPACE,DWIDTH_DSPACE. If i want to set each 
link a different width_spacing_model for a network, what should I do? In other 
words, where should i do configuration?

lyh
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to