Hello, I am trying to simulate the interconnection network using the Network_test protocol. My question is on the file networktest.cc that is responsible for generating and sending the packets. I understand that if I use --fixed-pkts and --maxpackets options together I enforce each cpu node to only inject maxpackets number of packets. So even before the simulation, if simCycles is sufficiently large I know that each node will inject maxpackets number of packets. I wanted the number of packets injected by each node to be random. So I did not use --fixed-pkts and --maxpackets options.
Consider the following case. I gave the injection rate to be 0.01 and simCycles to be 1000. I did not use --fixed-pkts and --maxpackets options. As a result at the end of simulation each node injected different number of packets. But, some nodes injected more packets than 1000*0.01 = 10 packets. This is where I am confused. How can a node inject more packets than the product of injectionrate and simCycles even though the maxpackets option is not enabled? Thanks for your time. Thanks, Pavan
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users