Hi Abdul,

The comm monitor does not count the cycles between the failed attempt and retry 
as part of the specific packet’s latency. It will calculate latency as time 
between the request successfully sent (the curTick then stored in 
CommMonitorSenderState as trasmitTime variable) and the response received. It 
should be easy enough to hack it to maintain a variable in Comm Mon to save the 
‘sendFailedTick’, calculate the delay and add that to the latency calculated 
when response is received.

Radhika

From: gem5-users [mailto:[email protected]] On Behalf Of Abdul Mutaal
Sent: 01 May 2016 12:27
To: gem5 users mailing list
Subject: Re: [gem5-users] Measuring latency & bandwidth accurately

Hi Radhika,

Thanks for your answer.

My system consists of Traffic generator replaying some recorded traces. I would 
like to measure the latency & bandwidth of my system attached with traffic 
generator.

Just a side question - After running the trace I see that there is stat called 
'numRetries' and 'retryTicks' , which are the ticks wasted during back 
pressure. So my question is, does CommMonitor has the ability to count latency 
of packet if the packet experiences a back-pressure and retry is being done 
from traffic generator.

Thanks

2016-04-29 9:42 GMT+02:00 Radhika Jagtap 
<[email protected]<mailto:[email protected]>>:
Hi Abdul,

What do you mean by certain architecture? As you may know, CommMonitor is 
connected between two ports and so it (reliably and accurately) measures the 
latency and bandwidth statistics of requests between those two ports. I you 
want to measure these as seen by the application, you could connect the 
CommMonitor between the core and L1 data cache ports. If you are looking for 
characterizing, that is things like maximum bandwidth and static latency (ie 
round trip latency per single request is in flight), then running lmbench 
benchmarks could be useful .

Radhika

From: gem5-users 
[mailto:[email protected]<mailto:[email protected]>] On 
Behalf Of Abdul Mutaal
Sent: 25 April 2016 22:20
To: gem5 users mailing list
Subject: [gem5-users] Measuring latency & bandwidth accurately

Hi,

How can I accurately measure bandwidth & latency of certain architecture ? I am 
currently using CommMonitor. Is that reliable or is there any other method to 
measure accurately in gem5.



Thanks

--

Regards,
Abdul Mutaal


IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



--

Regards,
Abdul Mutaal


IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to