equivalent) and it completed the process. Attached is the output at
print_level 5.
Post by Weizheng XuDear all,
I simulated the gem5 with full system mode and the command is "sudo
build/ALPHA/gem5.opt configs/example/fs.py
--script=./configs/boot/canneal_8c_simsmall.rcS --cpu-type=detailed
--num-cpu=8 --caches --l2cache --num-l2caches=2 --l1d_size=32kB
--l1i_size=32kB --l2_size=8MB --l1d_assoc=4 --l1i_assoc=4 --l2_assoc=16
--cacheline_size=64 --mem-type=NVMainMemory
--nvmain-config=../nvmain/Config/RRAM_ISSCC_2012_4GB.config -F 5000000000
-I 2000000000â and get the stats.txt like below.
Then I use "python GEM5ToMcPAT.py stats.txt config.json template-x.xmlâ to
transfer the output files of gem5 to the available input of McPAT, named as
mcat-out.xml (the input of McPAT) here. But there have some warning here
like this"Reading GEM5 stats from: stats.txt
Warning (stats): system.iocache.tags.avg_refs is nan. Setting it to 0
Warning (stats): system.iocache.avg_blocked_cycles::no_mshrs is nan. Setting it to 0
Warning (stats): system.iocache.avg_blocked_cycles::no_targets is nan. Setting it to 0
Warning (stats): system.cpu0.kern.mode_switch_good::user is nan. Setting it to 0
Warning (stats): system.cpu0.kern.mode_switch_good::idle is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedSwi is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedRxIdle is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedRxOk is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedRxDesc is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedTxOk is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedTxIdle is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedTxDesc is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedRxOrn is nan. Setting it to 0
Warning (stats): system.tsunami.ethernet.coalescedTotal is nan. Setting it to 0
Warning (stats): system.l2.avg_blocked_cycles::no_mshrs is nan. Setting it to 0
Warning (stats): system.l2.avg_blocked_cycles::no_targets is nan. Setting it to 0
âŠ...
I donât know how to solve this warning and guess this is not the problem
here which lead to the error below. So I ignore them.
Then I use"./mcpat -infile mcpat-out.xml â to run the McPAT, and can not
get the output of McPAT. The error also shown as "McPAT (version 0.8 of
Aug, 2010) is computing the target processor...
some value(s) of
number_of_cores/number_of_L2s/number_of_L3s/number_of_NoCs is/are not
correct!â
Ps: I use the ubuntu14.04 LTS system and the McPAT in gem5/ext/mcpat file
All helps appreciate!
The output file of gem5 is too big to put here. You can get it with this
link
https://drive.google.com/drive/folders/13yTj7gVtvi-mUjFUB16jgg2sAqmwSe3-?usp=sharing.
The template is used for transfer and the result of transferred(input of
McPAT tools) are listed here. Sorry to bother you guys.
Best wishes,
weizheng
åéïŒ
Hi,
The template seems good.
Possibly the problem is after the parser.
The best way is to create your own parser.
Share the output file in order to check what it is wrong.
Best Regards,
Georgios Bousdras
PhD Researcher â Embedded Systems
Dear all,
I have add the template I used for McPAT as the attachment. But I still
have the same problem here. I have check the repository of the person who
help me before https://github.com/H2020-COSSIM/cMcPAT, but I did not find
the template in his files. I am not sure how can I change the template
because when I change the value of number of cores and others, they have
the same problem.
Any help appreciate.
Best wishes,
weizheng
<template-xeon.xml>
Dear Weizheng,
you are using a quite old version of McPAT. Current version is 1.3. It
would be better if you used that one.
Now concerning your issues. You need to make sure that the system that you
are trying to simulate in gem5 matches with the template that you are
trying to use in McPAT. It is assumed that you need to make changes in the
template xml file to match it with the gem5 system. Check the proper
instructions on how to do that.
You can also check the modified McPAT and conversion scripts in my
repository here: https://github.com/H2020-COSSIM/cMcPAT
Best regards,
Andreas
On Mon, Sep 24, 2018 at 11:10 PM Weizheng Xu <
Post by Weizheng XuDear all,
I use gem5 get the full system simulation results and want to use McPAT
to get the power model. I use the Gem5ToMcpat.py and template_xeon.xml
gotten from website to translate the stats.txt to the output.xml, which can
be read as input by McPAT. But when I use this output.xml as a input for
McPAT (I use command ./mcpat -infile
/home//Desktop/test/gem5/ext/mcpat/out.xml in the terminal to run the
"McPAT (version 0.8 of Aug, 2010) is computing the target processor...
some value(s) of
number_of_cores/number_of_L2s/number_of_L3s/number_of_NoCs is/are not
correct!â
I tried to change these values in the template_xeon.xml but still failed
with this problem.
I really donât know how to solve this problem.
PS: I use ubuntu16.04 LTS and gem5. I use the McPAT provided in the
gem5/ext file and with version of 0.8
Any help appreciated,
thanks
Weizheng
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users