Query regarding the sniper-McPat integration

92 views
Skip to first unread message

rahul shrivastava

unread,
Dec 29, 2014, 2:41:47 AM12/29/14
to snip...@googlegroups.com
Hi,

I am trying to simulate a 3 core system, each core being on separate socket. I am running my multithreaded(3 threads) sample application where each thread just computes a "for loop" for some fixed number of iterations. Each core is running at 2660 MHz. In one of the threads lets say thread A, before starting the "for loop", I decrease the frequency of the core in which thread A is scheduled to 1700 MHz.
After this, I run the simulation and check the xml file which is fed to McPat. In the generated xml file, the frequency of the core in which thread A was scheduled is still set to default 2660 MHz. This seems a bit confusing to me. Could you please shed some light on my following questions

1) If I dynamically change the frequency of the cores from program, multiple times, how would Sniper sim communicate this change of frequency to McPat.
2) Above all, is it even necessary for McPat to know the frequency change that is happening in the simulation?



Regards
Rahul 

rahul shrivastava

unread,
Jan 2, 2015, 12:42:51 AM1/2/15
to snip...@googlegroups.com
Hi,

Looking at the script mcpat.py, it seems that mcpat XML is generated by just using sim.cfg and sim.out, but as I said earlier that sim.out has no mention of the number of times the frequency is changed. So, does Sniper Sim has some conservative assumptions about the DVFS functionality?

Regards
Rahul

Wim Heirman

unread,
Jan 2, 2015, 3:57:53 AM1/2/15
to snip...@googlegroups.com
Rahul,

mcpat.py does not know about frequency changes, it always uses the initial frequency. So you should not use this script when also using DVFS. The alternative energystats.py script regularly runs McPAT during the simulation, and does use the current frequency at each point in time. So you should use that instead.

Regards,
Wim


--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages