| Dear 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. |
template-x.xml
Description: XML document
mcpat-out.xml
Description: XML document
Best wishes, weizheng
|
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
