Re: [gem5-users] Fault Injection in garnet Network on chip Router

2017-10-18 Thread Tushar Krishna
The codebase has a fault model based on http://projects.csail.mit.edu/wiki/pub/LSPgroup/PublicationList/FaultModel_DAC2011.pdf I believe it generates probabilities of failures for a given NoC configuration

Re: [gem5-users] Garnet 2.0 + How the dir_nodes are connected in Mesh_XY network

2017-09-07 Thread Tushar Krishna
ort) 0 -> 2 (inport) Router_1 > ROTUER_0 --> (outport) 0 -> 3 (inport) Router_1 > > Thanks again. > > Best Regards, > > F. A. Faisal > > > On Thu, Aug 31, 2017 at 3:44 PM, Tushar Krishna <mailto:tus...@ece.gatech.edu>> wrote: > Hi Faisal, >

Re: [gem5-users] DMA controller

2017-09-07 Thread Tushar Krishna
You can remove that assertion if you are sure what controllers are getting connected. The topology file makes an assumption about the number of L2s being equal to the number of CPUs. > On Sep 7, 2017, at 9:17 AM, Hagai David wrote: > > Hi, > > What is the best way to add DMA controllers to

Re: [gem5-users] Garnet 2.0 + How the dir_nodes are connected in Mesh_XY network

2017-08-30 Thread Tushar Krishna
Hi Faisal, > On Aug 31, 2017, at 2:17 AM, F. A. Faisal wrote: > > Dear All, > > 1. I cross-checked the code for Mesh_XY.py and MeshDirCorners_XY.py file. > Where, in the MeshDirCorners_XY.py has the proper implementation of the > connected dir_nodes. > However, I couldn't find any code that c

Re: [gem5-users] Regarding garnet2.0

2017-08-23 Thread Tushar Krishna
not? Can I set mesh_row with 9 cpus > and 16 dirs? Because I encountered the errors as assert(node.type == > 'DMA_Controller') > assert(num_columns * num_rows == num_routers) > > Or can I comment out these assertion? > Thanks in advance. > Best, > Evania > >

Re: [gem5-users] vcs per vnet and ni_flit_size and link width in garnet2

2017-08-18 Thread Tushar Krishna
Depending on the coherence protocol, there are certain number of “virtual networks" or “message classes”, such as request, response, forward etc. This to carry coherence messages. Within each vnet, the NoC can have one or more VCs. So together, num_vnets x vcs_per_vnet is the total number of VCs *

Re: [gem5-users] vcs per vnet and ni_flit_size and link width in garnet2

2017-08-18 Thread Tushar Krishna
You can find the answers here: http://www.gem5.org/Garnet2.0 > On Aug 19, 2017, at 1:49 AM, matild breo wrote: > > Hi every body > I have some questions: > > 1- what is default link width in garnet 2 in bytes? > > 2- if the ni_flit_size is 16 byte, does it mean

Re: [gem5-users] Regarding garnet2.0

2017-08-17 Thread Tushar Krishna
sg_size differently when > generating packet each time? > And is ni_flit_size equal to rubysystem::getBlockSizeBytes()? > Thanks for your kind help. > Best, > Evania > > 2017-08-18 3:36 GMT+08:00 Tushar Krishna <mailto:tus...@ece.gatech.edu>>: > Take a look at > http://

Re: [gem5-users] Regarding garnet2.0

2017-08-17 Thread Tushar Krishna
Take a look at http://www.gem5.org/Garnet2.0#Configuration control_msg_size, data_msg_size, and ni_flit_size are the parameters you an play with for what you want to do. Cheers Tushar > On Aug 17, 2017, at 1:22 PM, evania.t...@gmail.com wrote: >

Re: [gem5-users] injection rate

2017-08-12 Thread Tushar Krishna
For avg rate just divide total packets injected by total cycles (sim_ticks) Different values are per virtual network. Their sum will add up to the total. > On Aug 12, 2017, at 3:22 AM, matild breo wrote: > > Hi Tushar > > > yes I saw the packet and flit injection like bellow in my stas.txt:

Re: [gem5-users] Stats in garnet 2.0

2017-08-03 Thread Tushar Krishna
To get utilization of individual links, go to GarnetNetwork.cc … you’ll see that it gets the link utilization of each link and aggregates it. You can print each of them out instead. > On Jul 29, 2017, at 2:42 PM, SHARJEEL KHILJI > wrote: > > Hi, > I am running ARM

Re: [gem5-users] Problem in running garnet

2014-08-16 Thread Tushar Krishna via gem5-users
Hi Mohammad, Hmm I have not looked at the gem5 codebase in 3 years so I'm afraid I don't have any idea on how to resolve this error. A few pointers: try --mesh-rows=1. This might have changed since I looked at it, but the option used to be called --garnet-network=fixed rather than --garnet=fixed

Re: [gem5-users] odd even turn model

2013-07-30 Thread Tushar Krishna
Hi Yuhang, There is no way to identify the directions of the ports since the current setup allows you to potentially declare any topology, not just a mesh. The way I typically do this is the following: In GarnetNetwork_d.cc, when the router ports are being added (makeInternalLink etc), you can se

Re: [gem5-users] routing table and weight table

2013-07-12 Thread Tushar Krishna
Hi Yuhang, msg_destination is basically a bit vector for the destination(s). 0 0 0 0 - 1 0 0 0 - 0 0 0 0 This represents the 4 directories, 4 L2s and 4 L1s. In your example, this means that the destination is L2 #3, which will be connected to Router #3. Now, with regard to the code, the actual co

Re: [gem5-users] Change garnet to 3D

2013-07-06 Thread Tushar Krishna
Hi Yuhang, Once you set up a 3D topology, fundamentally nothing has to change in garnet for it to work - each router simply has more ports now. If you want the Z links to have different latencies, I think you can set that in the topology file as well. But if you actually want to model some differ

Re: [gem5-users] Network latency breakdown for Garnet

2013-07-04 Thread Tushar Krishna
That breakdown is not tracked. You will have to add your own counters. - Tushar Mahshid Sedghi wrote: >Hi all, > >I am using Garnet and would like to know the breakdown of the network >latency. To be more exact, I want to know the queuing latency as well >as >transfer latency. It seems that th

Re: [gem5-users] Perfect Network

2013-06-18 Thread Tushar Krishna
Hi Mahshid, I have often done the following to model a 0/fixed-delay network: Magically send the message from the source NetworkInterface to the destination NetworkInterface without sending it through the routers. Create some function in the global network class (GarnetNetwork_d.cc) to receive a

Re: [gem5-users] buffers in the router

2013-06-11 Thread Tushar Krishna
The organization is as follows: Each Input Unit has a vector of Virtual Channels Each Virtual Channel has a member called flitBuffer_d Each flitBuffer_d is a vector of flits (flit_d) Each flit_d carries a actual message (MsrPtr) in addition to network related information (route, vc id etc etc). If

Re: [gem5-users] MessageBuffer Usage

2013-06-07 Thread Tushar Krishna
Hi Mann, Many of the SLICC experts are perhaps not actively monitoring this list currently, hence you have not gotten a reply. While I have not used MessageBuffers much, here are my 2 cents. Try to read up on SLICC (http://gem5.org/SLICC) and Life of a Memory Request in Ruby (http://gem5.org/Rub

Re: [gem5-users] how .sm files communicate?

2013-06-04 Thread Tushar Krishna
cation between these or is >there >other way? > > >On Tue, Jun 4, 2013 at 5:09 AM, Tushar Krishna >wrote: > >> They follow a producer-consumer relationship. >> The slicc parser makes some module the consumer for this queue, and >that >> module will call

Re: [gem5-users] how .sm files communicate?

2013-06-03 Thread Tushar Krishna
They follow a producer-consumer relationship. The slicc parser makes some module the consumer for this queue, and that module will call the dequeue for its producer. Take a look at build/X86/mem/protocol/L1CacheController.cc for instance, after you build your protocol. You will see lines like thi

Re: [gem5-users] virtual_network : 0 / 1 / 2 meaning?

2013-06-01 Thread Tushar Krishna
Protocol messages are sent in different virtual networks (message classes) to avoid deadlock .. example requests and responses go on separate virtual networks which use separate queues... Mann wrote: >hi all > >what virtual_network : 0 / 1 / 2 refers to/mean in protocol (.sm) >files ? > >eg.

Re: [gem5-users] gem5-users Digest, Vol 81, Issue 65

2013-04-26 Thread Tushar Krishna
> ---------- >> >> Message: 4 >> Date: Thu, 25 Apr 2013 12:01:12 -0400 >> From: Tushar Krishna >> To: gem5 users mailing list >> Subject: Re: [gem5-users] SE mode: 2DMesh topology >> Message-ID: >> Content-Type: text/plain; char

Re: [gem5-users] SE mode: 2DMesh topology

2013-04-25 Thread Tushar Krishna
The simulation itself worked fine. The error happened after simulation when Orion is trying to compute network power using activity stats. The assertion seems to indicate that a router with zero input ports was created, which is weird. I know the Mesh topology works if you use equal number of CPU

Re: [gem5-users] About Network Interfaces Garnet flexible pipeline in Ruby

2013-03-19 Thread Tushar Krishna
Each coherence controller (L1, L2, Directory and DMA) creates an NI. - Tushar On Mar 19, 2013, at 2:54 PM, Lu Hang wrote: > Hi all, I have a question in terms of the network interfaces (NI) implemented > in Garnet flexible pipeline in ruby. I used 16 cores for simulation, so the > routers and

Re: [gem5-users] how to declare a MessageBuffer transporting MemoryMsg

2013-03-13 Thread Tushar Krishna
The vnet_type field is used by the garnet on-chip network to decide whether the message only carries control (= request) information or data (i.e. the cache line) (= response), and size the number of buffers required within each VC appropriately (e.g. vnets carrying control have 1-flit buffers,

Re: [gem5-users] What does this warning mean?

2013-03-07 Thread Tushar Krishna
You can ignore the warnings. -Tushar On Mar 7, 2013, at 5:44 PM, Lu Hang wrote: > Dear all, I use ruby with garnet network to run parsec benchmark. The > simulation goes smoothly without any error, except that some warnings are > printed on the screen, as the last few lines below: "warning:

Re: [gem5-users] Can anyone explain the items in ruby.stats?

2013-03-06 Thread Tushar Krishna
The number outside is the count of the number of messages of type Request_Control on that link, which is 550. The number of bytes transferred is 4400 (since each Request_Control message is 8 byte long). Note sure why there are 10 numbers inside. It is some kind of histogram. You can take a look

Re: [gem5-users] Can anyone explain the items in ruby.stats?

2013-03-06 Thread Tushar Krishna
Hi Lu, The routers on the edges will have fewer ports (links). I think Router 0 gets connected to DMA and hence has more links. You can take a look at src/mem/ruby/network/topologies/Mesh.py to see how the topology gets constructed. 550 4400 […] means that 550 messages were sent, with size 550*8

Re: [gem5-users] The problem with running interconnct network simulation

2013-02-05 Thread Tushar Krishna
Hi Dehghani, Sorry I am super swamped with work so can't help out too much on this. Anyone else seen this error earlier and know what the problem is? A few quick suggestions from the top of my head: - check if you have python-dev installed - am surprised why it would run without garnet, but break

Re: [gem5-users] how to run interconnect network in gems

2013-01-30 Thread Tushar Krishna
Hi Dehghani, I just pulled out the latest repo and ran the same simulation and it worked fine. The error itself is due to older python/c++ libraries. Note sure why it did not show up without garnet. Can you double check if all your libraries match the version numbers listed here: http://gem5.org/

Re: [gem5-users] how to run interconnect network in gems

2013-01-28 Thread Tushar Krishna
Make sure you have the correct python and C++ libraries. Look at the website to see which versions are compatible. - Tushar On Jan 28, 2013, at 1:22 PM, abbas dehghani wrote: > hello > I downloaded the gem5.I used the command line > scons build/ALPHA_Network_test/gem5. debug > > It is built gem

Re: [gem5-users] Concentrated 2D Mesh

2013-01-05 Thread Tushar Krishna
Hi Ni, You can create your own topology file for the concentrated mesh. Currently each cache controller connects to one router. You can instead connect 4 controllers to each router. Take a look at Mesh.py and MeshDirCorner.py for reference. - Tushar Rx Ni wrote: >Hi, all, > >I am running

Re: [gem5-users] Default network test

2012-12-22 Thread Tushar Krishna
n. > > Best, > Vineeth > > > On Sun, Dec 23, 2012 at 1:34 PM, Tushar Krishna wrote: > Hi Vineeth, > Yeah it should be ruby_random_test.py instead of run_random_test.py .. I > will edit that on the wiki. > But you seem to indicate that "it does not work&quo

Re: [gem5-users] Default network test

2012-12-22 Thread Tushar Krishna
Hi Vineeth, Yeah it should be ruby_random_test.py instead of run_random_test.py .. I will edit that on the wiki. But you seem to indicate that "it does not work" with ruby_random_test.py? What do you mean by that? Did it give you some error? - Tushar On Dec 23, 2012, at 12:29 AM, Vineeth Mohan

Re: [gem5-users] Decouple Garnet

2012-11-27 Thread Tushar Krishna
Hi Daniel, As long as you make sure a flit that comes in sits in a correct VC and gets to use the switch, it should all work fine. Both units should access all flits at all input ports, there are no other dependencies I can immediately think of. - Tushar On Nov 27, 2012, at 2:08 PM, Bueso, Da

Re: [gem5-users] Decouple Garnet

2012-11-19 Thread Tushar Krishna
Hi Daniel, Firstly regarding the mapping of input port numbers to port type: the network models in Ruby can model any topology, not just a mesh. Even in a mesh, some routers (edges/corners) have fewer ports, while others have more etc. Hence the mapping between input port id and direction is arbi

Re: [gem5-users] Question about Garnet network

2012-11-15 Thread Tushar Krishna
Hi Xi, Hmm one way to make the entire network (or parts of it) stall for a certain time could be to use the event queue: every time a wakeup is called for any network event, you could re-insert that back into the event queue with wakeup time such that it wakes up after the voltage transition is

Re: [gem5-users] Network Message and Memory Message

2012-10-02 Thread Tushar Krishna
Hi Tejasi, Try testing your code with the NetworkTest protocol and inject a fixed number of packets and see if they get delivered. If not, see why some flits might be stuck at some routers. While I didn't go through your entire code in detail, I see you have some wait cycles etc for each input p

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-10-01 Thread Tushar Krishna
avan > > On Tue, Sep 25, 2012 at 9:53 PM, Tushar Krishna wrote: > Yes 1-flit packets (of type HEAD_TAIL_) are control messages from the > protocol. > > - Tushar > > On Sep 25, 2012, at 8:04 PM, Pavan Poluri wrote: > >> Hello, >> >> I have a quest

Re: [gem5-users] Network Message and Memory Message

2012-09-26 Thread Tushar Krishna
pe (e.g. read/write, etc). Can you > please suggest the correct way of getting this information from the flit? > > I appreciate your guidance. > > Thanks! > > > -- Forwarded message -- > From: Tushar Krishna > Date: Thu, Jan 5, 2012 at 9:09

Re: [gem5-users] # of input ports and output ports

2012-09-26 Thread Tushar Krishna
I'm guessing the value 4 is at one of the corner routers where there is perhaps one L1, one Dir, and 2 network ports. From a router's perspective, all input/output ports are the same. If you want to know which ones are connected to the directory, I think you will need to set some variables in t

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-09-25 Thread Tushar Krishna
ing different? > > Thanks for your time. > > Thanks, > Pavan > > On Mon, Sep 17, 2012 at 1:56 PM, Pavan Poluri wrote: > Thanks Tushar. > > Thanks, > Pavan > > > On Mon, Sep 17, 2012 at 11:49 AM, Tushar Krishna wrote: > Yes all that is corre

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-09-17 Thread Tushar Krishna
ntrol message takes 1 flit and > 72 bytes data message takes 5 flits. > > Am I correct? > > Thanks, > Pavan > > On Mon, Sep 17, 2012 at 10:04 AM, Tushar Krishna wrote: > Answers inline. > > On Sep 17, 2012, at 12:42 PM, Pavan Poluri wrote: > >> Hello, >

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-09-17 Thread Tushar Krishna
message (16 bytes) and data message (80 bytes) > fixed? Is it possible to modify their sizes? > Take a look at network/Network.py/cc > Thanks for your time. > > Thanks, > Pavan > > On Wed, Sep 12, 2012 at 2:54 PM, Pavan Poluri wrote: > Thanks Tushar. > > T

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-09-12 Thread Tushar Krishna
at 10:51 AM, Tushar Krishna <mailto:tus...@csail.mit.edu>> wrote: Hi Pavan, There are two issues here. One, as Mitch pointed out, is that Orion is not entirely accurate. I would suggest computing activity counts from garnet and feeding them to DSENT. However,

Re: [gem5-users] Question on PARSEC+GARNET+RUBY

2012-09-12 Thread Tushar Krishna
Hi Pavan, There are two issues here. One, as Mitch pointed out, is that Orion is not entirely accurate. I would suggest computing activity counts from garnet and feeding them to DSENT. However, I have a feeling you will see a similar phenomenon (dynamic power >> leakage power) even with DSENT. Ho

Re: [gem5-users] How to specify the latency between L1 and L2 cache

2012-09-11 Thread Tushar Krishna
ombination of > states in L1 and L2. > > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Tushar Krishna > Sent: Wednesday, September 12, 2012 10:33 AM > To: gem5 users mailing list > Subject: Re: [gem5-users] How to specify the la

Re: [gem5-users] How to specify the latency between L1 and L2 cache

2012-09-11 Thread Tushar Krishna
d L2 communicate, using > trigger queue? > > Thanks! > > Zhiguo > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Tushar Krishna > Sent: Wednesday, September 12, 2012 9:52 AM > To: gem5 users mailing list > Subject: Re:

Re: [gem5-users] How to specify the latency between L1 and L2 cache

2012-09-11 Thread Tushar Krishna
Zhiguo > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Tushar Krishna > Sent: Tuesday, September 11, 2012 10:31 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] How to specify the latency between L1 and L2 cache > > The

Re: [gem5-users] How to specify the latency between L1 and L2 cache

2012-09-11 Thread Tushar Krishna
The point of the interconnect network is to model a realistic and variable delay between L1 and L2 (if it is a shared L2 protocol). If you want a fixed latency between L1 and L2, play around with the topology and/or hack into the network to deliver packets with same delay irrespective of content

Re: [gem5-users] garnet network router

2012-09-10 Thread Tushar Krishna
Hi Xi, My answers are inline... On Sep 10, 2012, at 1:13 AM, Xi Chen wrote: > Hi Tushar, > > Can I ask you a problem of router in garnet network? I use fixed pipeline, > garnet network. > > I want to capture the request that entering each router, then in > network/Garnet/Fixed-pipeline/Router

Re: [gem5-users] Average network latency in Ruby simple network

2012-08-31 Thread Tushar Krishna
messages right away, so there will be some real > transitions for hammer. I actually tried a few experiments with hammer, and > got some results I expected. I wonder if that makes sense. Thanks. > > Jun > > On Sat, Sep 1, 2012 at 12:07 AM, Tushar Krishna wrote: > Hi Jun,

Re: [gem5-users] Average network latency in Ruby simple network

2012-08-31 Thread Tushar Krishna
f this tester is not actual or does not work well with > hammer, are there any other recommendation for a few simple benchmarks to > run? Thanks. > > Jun > > On Wed, Aug 29, 2012 at 3:38 PM, Tushar Krishna wrote: > Yes simple network does not output network latency stats

Re: [gem5-users] Question on GARNET + Ruby

2012-08-29 Thread Tushar Krishna
atic power so high compared to the dynamic power. Shouldn't it be the other way around where the dynamic power consumed is higher than the static power? Thanks for your time. Thanks, Pavan On Tue, Aug 28, 2012 at 12:12 PM, Tushar Krishna <mailto:tus...@csail.mit.edu>> wrote:

Re: [gem5-users] Average network latency in Ruby simple network

2012-08-29 Thread Tushar Krishna
Yes simple network does not output network latency stats, only garnet does. In Garnet the start and end are easy to identify since they are network interfaces, while all intermediate nodes are routers. In Simple Network on the other hand all nodes are identical … Messages move between MessageBuff

Re: [gem5-users] Set total order among multiple logic buses

2012-08-28 Thread Tushar Krishna
igure it out. Thank you very much! > > Best, > > Jinzhu > > On Thu, Aug 23, 2012 at 10:07 PM, gem5 gem5 wrote: > Thank you very much, Tushar:) > > Best, > > Jinzhu > > > On Wed, Aug 22, 2012 at 12:24 AM, Tushar Krishna wrote: > Hi Jinzhu, &

Re: [gem5-users] Question on GARNET + Ruby

2012-08-28 Thread Tushar Krishna
That is the combined power for entire NoC. If you want individual router power, and/or breakdown of individual components, look at network/orion/NetworkPower.cc - Tushar On Aug 28, 2012, at 12:30 PM, Pavan Poluri wrote: > Hello, > > I have done a full system simulation with 8 cores, 8 routers,

Re: [gem5-users] Set total order among multiple logic buses

2012-08-19 Thread Tushar Krishna
router arbitrates/allocates everything following the same round robin, but > maybe that's not the case... > > Thanks for your suggestion. I will look at the simple router first and then > check the event queue if necessary. > > Best, > > Jinzhu > > > On Fri, Aug

Re: [gem5-users] Set total order among multiple logic buses

2012-08-09 Thread Tushar Krishna
Hi Jinzhu, Hmm if I understand your topology correctly, each controller connects to multiple routers: each router corresponding to one bus. The problem is that all these routers connect to the same MessageBuffer in the controller... ? And I guess the problem occurs because the routers on each bu

Re: [gem5-users] Ruby Message.clone() -- multicast

2012-08-07 Thread Tushar Krishna
Hi Mark, No sending the same MsgPointer around can cause problems because the NI that receives it earlier will send it up to the cache/dir controller which will delete it after consuming it. You could perhaps add some extra bcast_id in the message at the source and identify it based on the {sou

Re: [gem5-users] Questions with moving broadcast protocol MOSI_SMP_bcast from GEMS to GEM5

2012-08-06 Thread Tushar Krishna
ing(the root node is the serialization point). Do I misunderstand something here? Can the protocol cause the violation if it's not the topology? Thank you! Best, Jinzhu On Fri, Aug 3, 2012 at 8:12 PM, Tushar Krishna <mailto:tus...@csail.mit.edu>> wrote: Hi Jinzhu, The er

Re: [gem5-users] Questions with moving broadcast protocol MOSI_SMP_bcast from GEMS to GEM5

2012-08-03 Thread Tushar Krishna
Hi Jinzhu, The error is that your protocol found an invalid transition when in state "I". If you grep for "Invalid transition", you will see that this error message was most likely printed out from build/X86_SE/mem/protocol/L1Cache_Transitions.cc You can print out a protocol trace in such cases t

Re: [gem5-users] NetworkTest: Packets generated but not actually injected?

2012-08-02 Thread Tushar Krishna
Hi Kypros, Yes they should be injected at some point, they will not get thrown away. But you defined your simulation's simCycles to be 100,000 cycles at which point the simulation ended. If you use the --fixed-pkts option to inject a fixed number of packets or flits say 640,000 with injectionRate

Re: [gem5-users] NetworkTest: Packets generated but not actually injected?

2012-08-02 Thread Tushar Krishna
Hi Kypros, The network tester generates (InjectionRate * num-dirs * sim-cycles) number of flits, and these are sent to the NetworkInterface (NI) in Garnet. The NI now tries to inject them into the network. That depends on whether there are free VCs at the input port of the connected router, which

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-27 Thread Tushar Krishna
nd then modify the MOSI_SMP_bcast? I > should be able to create a hierarchical switch with gem5 right? > > Thank you! It's so nice of you! > > Best, > > Jinzhu > > On Fri, Jul 27, 2012 at 6:24 PM, Tushar Krishna wrote: > For instance, you could think of the &qu

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-27 Thread Tushar Krishna
For instance, you could think of the "directory" in the MOESI_hammer protocol as something analogous to the bus arbiter, which receives unicast requests from all caches, and then sends them out on the bus (broadcast) in some order… - Tushar On Jul 27, 2012, at 6:10 PM, Tushar Kri

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-27 Thread Tushar Krishna
ection to go? Thanks a lot again! > > Best, > > Jinzhu > > On Fri, Jul 27, 2012 at 12:44 AM, Tushar Krishna wrote: > Hi Jinzhu, > Ok so I see two components in your design: > (1) broadcast-based coherence protocol > (2) shared-bus based crossbar > > For (1) y

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-26 Thread Tushar Krishna
ar is > very very close to what I wanna do. Thank you very much! > > Best, > > Jinzhu > > On Thu, Jul 26, 2012 at 7:30 PM, Tushar Krishna wrote: > Hi Jinzhu, > Why do you want to broadcast to L1s and the directories? Just to add more > messages in the network? MOE

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-26 Thread Tushar Krishna
ight way to do or there is some other better method? > Thank you very much for your help. > > Best, > > Jinzhu > > > > On Thu, Jul 26, 2012 at 12:53 PM, Tushar Krishna wrote: > The error has nothing to do with the virtual network being ordered or not. > If you

Re: [gem5-users] Modify MOESI_hammer protocol

2012-07-26 Thread Tushar Krishna
The error has nothing to do with the virtual network being ordered or not. If you look at MessageBuffer.hh, line 131, a setOrdering function needs to be called for each MessageBuffer. This is called from the coherence protocol's generated files. [The ordering itself might be true or false dependi

Re: [gem5-users] NetworkTester and GarnetNetwork_d

2012-07-24 Thread Tushar Krishna
Hi Kypros, The hierarchy is something like this: src/cpu/testers/networktest.cc (~CPU, issues reads and writes) --> NetworkTest protocol (~cache coherence protocol which creates cache/dir controllers) --> garnet/fixed-pipeline/NetworkInterface_d (receives msgs from cache controller and converts

Re: [gem5-users] NetworkTester and GarnetNetwork_d

2012-07-24 Thread Tushar Krishna
Hi Kypro, NetworkTest is simply the dummy coherence protocol that you can run to simulate network-only traffic. GarnetNetwork_d is the actual network. The messages to/from the NetworkInterface_d come from/to the cache/dir controllers in NetworkTest. Could you give me more details about what is it

Re: [gem5-users] Network Mesh topology not working

2012-07-10 Thread Tushar Krishna
Ah ... I think the problem is that the number of L2's (required by MESI_CMP_directory), has not been defined as 16 (default is 1). [Note that for private L2 coherence protocols like MOESI_hammer the number of L2's is equal to the number of L1's by default, while for shared L2 protocols like MES

Re: [gem5-users] Network Mesh topology not working

2012-07-10 Thread Tushar Krishna
Hi Xi, The Network_test coherence protocol and ruby_network_test.py work in tandem, and is for simulating synthetic network-only traffic. With other coherence protocols (such as MESI_CMP_directory) as you are using currently, you should use other testers (such as ruby_random_test.py), or run in

Re: [gem5-users] [gem5-dev] Review Request: Garnet: Stats at vnet granularity + code cleanup

2012-05-10 Thread Tushar Krishna
the problem is only related to gem5-stable version, because I > am able to run the same command with gem5 (development version). Can you > perform the regression test for the protocol with gem5-stable in your side? > Thanks. > > Regards, > > Juyoung > > On Wed, May

Re: [gem5-users] [gem5-dev] Review Request: Garnet: Stats at vnet granularity + code cleanup

2012-05-09 Thread Tushar Krishna
imulation even > though I am able to invoke a garnet object without error in this time. I am > not sure if this deadlock or invalid transition problem is also caused by > slightly different development tool version. What would be the real cause of > the deadlock/invalid transition be

Re: [gem5-users] Run a new topology in Gem5

2012-05-08 Thread Tushar Krishna
kill the simulation? > > > Regards, > HR > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Tushar Krishna > Sent: Tuesday, May 08, 2012 1:16 PM > To: gem5 users mailing list > Subject: Re: [gem5-users] Run a new topology in Ge

Re: [gem5-users] [gem5-dev] Review Request: Garnet: Stats at vnet granularity + code cleanup

2012-05-08 Thread Tushar Krishna
version of c++ you are > using on your platform? (including other packages' version such as > swig/python/zlib/m4 if possible). > > Can you give me more comment on this garnet invocation issue? > Thanks. > > > - Juyoung > > > > > > > &g

Re: [gem5-users] Run a new topology in Gem5

2012-05-08 Thread Tushar Krishna
> --timing --garnet-network=fixed ……… --topology=Mytopology --mesh-rows=8 -b fft > > Thanks, > HR > > From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On > Behalf Of Tushar Krishna > Sent: Tuesday, May 08, 2012 12:01 PM > To: gem5 users mailing list &

Re: [gem5-users] [gem5-dev] Review Request: Garnet: Stats at vnet granularity + code cleanup

2012-05-08 Thread Tushar Krishna
Hi Juyoung, In future pls send the emails directly on gem5-users so that others who experienced similar problems can help out as well? I am cc:ing gem5-users I just pulled out the latest version of gem5 and ran this exact command and it worked fine. Are you getting this error only with ruby and

Re: [gem5-users] Run a new topology in Gem5

2012-05-08 Thread Tushar Krishna
I assume in Mytopology.py, you start with class Mytopology(Topology): … right? If yes, what was the command you ran? - Tushar On May 8, 2012, at 5:05 AM, Haera Chung wrote: > Hi Gem5, > > I created my network topology and copied the ‘Mytopology.py’ into > “~/gem5-stable/src/mem/ruby/networ

Re: [gem5-users] Question on Network_test (networktest.cc) to test GARNET

2012-04-30 Thread Tushar Krishna
another question. When injecting synthetic traffic we control the injection rate via the --injectionrate argument. Is it possible to control the injection rate of benchmark traffic too? Thanks, Pavan On Apr 30, 2012, at 12:02 PM, Tushar Krishna wrote: Hmm, you probably need to take a look at src

Re: [gem5-users] Question on Network_test (networktest.cc) to test GARNET

2012-04-30 Thread Tushar Krishna
the same thing it reported when simcycles was of type Tick. Thanks for your time. Thanks, Pavan On Sun, Apr 29, 2012 at 1:57 PM, Tushar Krishna <mailto:tus...@csail.mit.edu>> wrote: You can specify --random_seed=xxx in the command line. Yes numPacketsSent in networktest.cc

Re: [gem5-users] Question on Network_test (networktest.cc) to test GARNET

2012-04-29 Thread Tushar Krishna
anks for your time. > > Thanks, > Pavan > > On Sun, Apr 29, 2012 at 1:05 PM, Tushar Krishna wrote: > Hi Pavan, > A couple of things to note: > 1) 0.01 is an average injection rate. So a node *could* inject more than 10 > packets (but not a lot more). > The implement

Re: [gem5-users] Question on Network_test (networktest.cc) to test GARNET

2012-04-29 Thread Tushar Krishna
Hi Pavan, A couple of things to note: 1) 0.01 is an average injection rate. So a node *could* inject more than 10 packets (but not a lot more). The implementation is basically a bernoulli trial, where every cycle you generate a random number and decide to inject or not based on whether it is les

Re: [gem5-users] Replacing Garnet

2012-04-24 Thread Tushar Krishna
Take a look at src/mem/ruby/network/garnet (where all the garnet source files exist) and src/configs/ruby/Ruby.py (where garnet is instantiated). You should edit the SConscript file in the src/mem/ruby directory to make sure your simulator gets built. - Tushar On Apr 25, 2012, at 12:24 AM, Mono

Re: [gem5-users] #VNs in MOESI_Directory

2012-04-24 Thread Tushar Krishna
Hi Monobrata, To see the number of VNs required by each protocol, you should take a look at its .sm files. Take a look at src/mem/protocol/MOESI_CMP_directory-L1cache.sm, src/mem/protocol/MOESI_CMP_directory-L2cache.sm, src/mem/protocol/MOESI_CMP_directory-dir.sm and src/mem/protocol/MOESI_CMP_

Re: [gem5-users] NoC in ruby

2012-04-11 Thread Tushar Krishna
cc:ing the users list as this might be useful info... Hi Xuhao, The constructor for SimpleNetwork is actually being called from python in configs/ruby/Ruby.py Note that I am not very familiar with the python-C++ interface … The total number of vnets are defined in src/mem/ruby/network/Network.py

Re: [gem5-users] Issue Defining new Ruby Topology/ On-chip versus Off-chip

2012-04-08 Thread Tushar Krishna
there are references to multiple chips, and simulationg SMP/SCMPs, I was trying to convince myself otherwise. Malek On Sun, Apr 1, 2012 at 7:19 PM, Tushar Krishna wrote: Hi Malek, The "int" links just mean links internal to the network, and "ext" links just mean links connecting the

Re: [gem5-users] Ruby Network Tester

2012-04-05 Thread Tushar Krishna
Hi Nilay, Ah yes, I don't think that memory is being deallocated. Looking at memtest/memtest.cc after which networktest was modeled, I believe this needs to be done in the completeRequest(PacketPtr pkt) function right? -- Request *req = pkt->req; Ne

Re: [gem5-users] (garnet question) tester generates load only on 1st virtual network

2012-04-04 Thread Tushar Krishna
using PARSEC > benchmarks) config so this got me a bit puzzled for a while now. > > thanks, > dean > > > > On Tue, Apr 3, 2012 at 5:38 PM, Tushar Krishna wrote: > Hi Dean, > The number of vnets that get traffic ultimately depend on the coherence > protocol. Wh

Re: [gem5-users] (garnet question) tester generates load only on 1st virtual network

2012-04-03 Thread Tushar Krishna
Hi Dean, The number of vnets that get traffic ultimately depend on the coherence protocol. When you ran Simics, the coherence protocol you built will determine how many vnets are active and what kinds of traffic they carry. If you are using the GEMS network tester, the traffic injector code in T

Re: [gem5-users] Issue Defining new Ruby Topology/ On-chip versus Off-chip

2012-04-01 Thread Tushar Krishna
single > router through "ext_link" correct? > > However, the code for Crossbar seems to contradict this, because there > are N = len(nodes) int_links and ext_links created, where the Crossbar > simulates a pure CMP. > > This is all assuming I am using the MOESI_CMP_

Re: [gem5-users] (garnet question) deflection routing

2012-03-22 Thread Tushar Krishna
I am not too familiar with the current state of the debug flags. The ruby README might be outdated. Try to search for how the debug flags work within the other modules. On 03/22/2012 05:57 PM, Dean Michael Ancajas wrote: On Thu, Mar 22, 2012 at 3:41 PM, Tushar Krishna <mailto:

Re: [gem5-users] (garnet question) deflection routing

2012-03-22 Thread Tushar Krishna
ome back to the same router. cheers! dean On Thu, Mar 22, 2012 at 12:40 PM, Tushar Krishna <mailto:tus...@csail.mit.edu>> wrote: Hi Dean, The OutputUnit does not wake up when the flit has to leave the router (it only wakes up to receive credits). It is the switch th

Re: [gem5-users] (garnet question) deflection routing

2012-03-22 Thread Tushar Krishna
Hi Dean, The OutputUnit does not wake up when the flit has to leave the router (it only wakes up to receive credits). It is the switch that wakes up and schedules the output link. The SWallocator_d removes winning flits from their respective input VCs and places them in the switch buffer. The

Re: [gem5-users] Problem with GARNET and Network Tester

2012-03-21 Thread Tushar Krishna
the network. The > queueing delay for these packets will be very high in case of a deadlock in > the routing protocol. > > -- > Nilay > > On Tue, 20 Mar 2012, Tushar Krishna wrote: > >> Hi Nilay, Yes this is precisely the queueing delay stat. If the protocol

Re: [gem5-users] bug at NetworkLink_d pointers??

2012-03-20 Thread Tushar Krishna
Hi Dean, Looking at the code, I can see that NetworkLink_d has 2 constructors: one where just the id is passed, and is used when CreditLink_d links are created, and one where the network pointer is passed when NetworkLink_d is created. In the latter case, GarnetNetwork_d passes the "this" pointer

Re: [gem5-users] Problem with GARNET and Network Tester

2012-03-20 Thread Tushar Krishna
n waiting. I think this time > should be part of the queueing delay stat that is already present. What do > you think? > > -- > Nilay > > > On Mon, 19 Mar 2012, Tushar Krishna wrote: > >> Hi Nilay, >> Seems like the problem is deadlock in the Torus topolo

  1   2   >