Hi weizheng,

I used your mcpat-out.xml in our cMcPAT (and I guess that any McPATv1.3 is
equivalent) and it completed the process. Attached is the output at
print_level 5.

Best,
Andreas

On Mon, Oct 22, 2018 at 10:11 PM Weizheng Xu <
[email protected]> wrote:

> 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.
>
>
> Best wishes,
> weizheng
>
> 在 Oct 18, 2018,2:54 AM,Georgios S. Bousdras <[email protected]>
> 写道:
>
> 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
>
>
> On 17 Oct 2018, at 00:16, Weizheng Xu <[email protected]>
> wrote:
>
> 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>
>
> 在 Sep 25, 2018,7:10 AM,Andreas Brokalakis <[email protected]> 写道:
>
> 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 <
> [email protected]> wrote:
>
>> Dear 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), I got the error shown as following:
>> "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
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
McPAT (version 1.3 of Feb, 2015) is computing the target processor...
 

McPAT (version 1.3 of Feb, 2015) results  (current print level is 5)
*****************************************************************************************
  Technology 65 nm
  Interconnect metal projection= aggressive interconnect technology projection
  Core clock Rate(MHz) 2000

*****************************************************************************************
Processor: 
  Area = 539.806 mm^2
  Peak Power = 516.546 W
  Total Leakage = 152.182 W
  Peak Dynamic = 364.364 W
  Subthreshold Leakage = 145.424 W
  Subthreshold Leakage with power gating = 59.0703 W
  Gate Leakage = 6.75844 W
  Runtime Dynamic = 37.8719 W

  Total Cores: 8 cores 
  Device Type= ITRS high performance device type
    Area = 504.142 mm^2
    Peak Dynamic = 359.336 W
    Subthreshold Leakage = 140.705 W
    Subthreshold Leakage with power gating = 56.3836 W
    Gate Leakage = 6.72068 W
    Runtime Dynamic = 37.8719 W

  Total L2s: 
  Device Type= ITRS high performance device type
    Area = 35.6639 mm^2
    Peak Dynamic = 5.02798 W
    Subthreshold Leakage = 4.71847 W
    Subthreshold Leakage with power gating = 2.68667 W
    Gate Leakage = 0.0377659 W
    Runtime Dynamic = 2.73578e-09 W

*****************************************************************************************
Core:
      Area = 63.0178 mm^2
      Peak Dynamic = 44.917 W
      Subthreshold Leakage = 17.5882 W
      Subthreshold Leakage with power gating = 7.04795 W
      Gate Leakage = 0.840085 W
      Runtime Dynamic = 37.8719 W

      Instruction Fetch Unit:
        Area = 13.3026 mm^2
        Peak Dynamic = 6.54787 W
        Subthreshold Leakage = 2.15834 W
        Subthreshold Leakage with power gating = 0.89003 W
        Gate Leakage = 0.094432 W
        Runtime Dynamic = 3.06877 W

          Instruction Cache:
            Area = 3.82901 mm^2
            Peak Dynamic = 1.68753 W
            Subthreshold Leakage = 0.665397 W
            Subthreshold Leakage with power gating = 0.278253 W
            Gate Leakage = 0.0274371 W
            Runtime Dynamic = 0.0674506 W

          Branch Target Buffer:
            Area = 0.946863 mm^2
            Peak Dynamic = 0.0843991 W
            Subthreshold Leakage = 0.0901849 W
            Subthreshold Leakage with power gating = 0.0485736 W
            Gate Leakage = 0.00212441 W
            Runtime Dynamic = 0.0064217 W

          Branch Predictor:
            Area = 0.279233 mm^2
            Peak Dynamic = 0.0740148 W
            Subthreshold Leakage = 0.0552507 W
            Subthreshold Leakage with power gating = 0.0291987 W
            Gate Leakage = 0.00144552 W
            Runtime Dynamic = 0.0053149 W

              Global Predictor:
                Area = 0.0919946 mm^2
                Peak Dynamic = 0.0191883 W
                Subthreshold Leakage = 0.0197055 W
                Subthreshold Leakage with power gating = 0.0104397 W
                Gate Leakage = 0.000495847 W
                Runtime Dynamic = 0.00158708 W

              Local Predictor:
              L1_Local Predictor:
                Area = 0.0545159 mm^2
                Peak Dynamic = 0.0163803 W
                Subthreshold Leakage = 0.0100013 W
                Subthreshold Leakage with power gating = 0.005277 W
                Gate Leakage = 0.000280458 W
                Runtime Dynamic = 0.00139101 W

              L2_Local Predictor:
                Area = 0.0279555 mm^2
                Peak Dynamic = 0.00834983 W
                Subthreshold Leakage = 0.0050708 W
                Subthreshold Leakage with power gating = 0.00266635 W
                Gate Leakage = 0.000147753 W
                Runtime Dynamic = 0.000709093 W

              Chooser:
                Area = 0.0919946 mm^2
                Peak Dynamic = 0.0191883 W
                Subthreshold Leakage = 0.0197055 W
                Subthreshold Leakage with power gating = 0.0104397 W
                Gate Leakage = 0.000495847 W
                Runtime Dynamic = 0.00158708 W

              RAS:
                Area = 0.0127724 mm^2
                Peak Dynamic = 0.0109081 W
                Subthreshold Leakage = 0.000767647 W
                Subthreshold Leakage with power gating = 0.000375968 W
                Gate Leakage = 2.56146e-05 W
                Runtime Dynamic = 4.06415e-05 W

          Instruction Buffer:
            Area = 0.0791178 mm^2
            Peak Dynamic = 1.67741 W
            Subthreshold Leakage = 0.00576253 W
            Subthreshold Leakage with power gating = 0.00267498 W
            Gate Leakage = 0.00018516 W
            Runtime Dynamic = 0.0389129 W

          Instruction Decoder:
            Area = 7.75308 mm^2
            Peak Dynamic = 2.6634 W
            Subthreshold Leakage = 1.1189 W
            Subthreshold Leakage with power gating = 0.443085 W
            Gate Leakage = 0.0381395 W
            Runtime Dynamic = 0.0617862 W

      Renaming Unit:
        Area = 1.24 mm^2
        Peak Dynamic = 8.25131 W
        Subthreshold Leakage = 0.236699 W
        Subthreshold Leakage with power gating = 0.0957199 W
        Gate Leakage = 0.0255856 W
        Runtime Dynamic = 11.6942 W

          Int Front End RAT with 1 internal checkpoints:
            Area = 0.185063 mm^2
            Peak Dynamic = 5.1442 W
            Subthreshold Leakage = 0.00273136 W
            Subthreshold Leakage with power gating = 0.00138123 W
            Gate Leakage = 0.000106646 W
            Runtime Dynamic = 0.108134 W

          FP Front End RAT with 1 internal checkpoints:
            Area = 0.0262203 mm^2
            Peak Dynamic = 1.25615 W
            Subthreshold Leakage = 0.000877353 W
            Subthreshold Leakage with power gating = 0.000453103 W
            Gate Leakage = 5.24626e-05 W
            Runtime Dynamic = 0.0181622 W

          Free List:
            Area = 0.481389 mm^2
            Peak Dynamic = 0.25164 W
            Subthreshold Leakage = 0.00659346 W
            Subthreshold Leakage with power gating = 0.00366856 W
            Gate Leakage = 0.000203822 W
            Runtime Dynamic = 0.0111793 W

          FP Free List:
            Area = 0.131985 mm^2
            Peak Dynamic = 0.154875 W
            Subthreshold Leakage = 0.00365632 W
            Subthreshold Leakage with power gating = 0.00197195 W
            Gate Leakage = 0.000122342 W
            Runtime Dynamic = 0.00118312 W

      Load Store Unit:
        Area = 16.0655 mm^2
        Peak Dynamic = 6.91716 W
        Subthreshold Leakage = 2.57734 W
        Subthreshold Leakage with power gating = 1.03975 W
        Gate Leakage = 0.127566 W
        Runtime Dynamic = 3.08156 W

          Data Cache:
            Area = 13.0319 mm^2
            Peak Dynamic = 6.04766 W
            Subthreshold Leakage = 2.20454 W
            Subthreshold Leakage with power gating = 0.892119 W
            Gate Leakage = 0.095807 W
            Runtime Dynamic = 0.124325 W

          LoadQ:
            Area = 0.597754 mm^2
            Peak Dynamic = 0.254191 W
            Subthreshold Leakage = 0.0749804 W
            Subthreshold Leakage with power gating = 0.0296922 W
            Gate Leakage = 0.00332956 W
            Runtime Dynamic = 0.0227822 W

          StoreQ:
            Area = 0.597754 mm^2
            Peak Dynamic = 0.254191 W
            Subthreshold Leakage = 0.0749804 W
            Subthreshold Leakage with power gating = 0.0296922 W
            Gate Leakage = 0.00332956 W
            Runtime Dynamic = 0.0455644 W

      Memory Management Unit:
        Area = 0.839485 mm^2
        Peak Dynamic = 0.982217 W
        Subthreshold Leakage = 0.279585 W
        Subthreshold Leakage with power gating = 0.110716 W
        Runtime Dynamic = 7.23068 W

          Itlb:
            Area = 0.0930895 mm^2
            Peak Dynamic = 0.0167954 W
            Subthreshold Leakage = 0.0144293 W
            Subthreshold Leakage with power gating = 0.00571399 W
            Gate Leakage = 0.000629867 W
            Runtime Dynamic = 0.00298179 W

          Dtlb:
            Area = 0.331051 mm^2
            Peak Dynamic = 0.062644 W
            Subthreshold Leakage = 0.0423145 W
            Subthreshold Leakage with power gating = 0.0167565 W
            Gate Leakage = 0.00180917 W
            Runtime Dynamic = 0.00547322 W

      Execution Unit:
        Area = 23.104 mm^2
        Peak Dynamic = 22.2185 W
        Subthreshold Leakage = 5.94238 W
        Subthreshold Leakage with power gating = 2.37978 W
        Runtime Dynamic = 12.7967 W

          Register Files:
            Area = 9.35713 mm^2
            Peak Dynamic = 8.61495 W
            Subthreshold Leakage = 0.183607 W
            Subthreshold Leakage with power gating = 0.0927938 W
            Gate Leakage = 0.00649419 W
            Runtime Dynamic = 0.0680038 W

              Integer RF:
                Area = 4.67856 mm^2
                Peak Dynamic = 6.92342 W
                Subthreshold Leakage = 0.0918036 W
                Subthreshold Leakage with power gating = 0.0463969 W
                Gate Leakage = 0.00324709 W
                Runtime Dynamic = 0.0643155 W

              Floating Point RF:
                Area = 4.67856 mm^2
                Peak Dynamic = 1.69153 W
                Subthreshold Leakage = 0.0918036 W
                Subthreshold Leakage with power gating = 0.0463969 W
                Gate Leakage = 0.00324709 W
                Runtime Dynamic = 0.00368828 W

          Instruction Scheduler:
            Area = 2.50431 mm^2
            Peak Dynamic = 4.84345 W
            Subthreshold Leakage = 0.100503 W
            Subthreshold Leakage with power gating = 0.0463108 W
            Gate Leakage = 0.00390898 W
            Runtime Dynamic = 0.426836 W

              Instruction Window:
                Area = 0.497673 mm^2
                Peak Dynamic = 1.50883 W
                Subthreshold Leakage = 0.0358961 W
                Subthreshold Leakage with power gating = 0.0142149 W
                Gate Leakage = 0.00164666 W
                Runtime Dynamic = 0.136315 W

              FP Instruction Window:
                Area = 0.138043 mm^2
                Peak Dynamic = 0.412527 W
                Subthreshold Leakage = 0.0178333 W
                Subthreshold Leakage with power gating = 0.00706199 W
                Gate Leakage = 0.00084265 W
                Runtime Dynamic = 0.0110503 W

              ROB:
                Area = 1.86859 mm^2
                Peak Dynamic = 2.92209 W
                Subthreshold Leakage = 0.0467734 W
                Subthreshold Leakage with power gating = 0.0250339 W
                Gate Leakage = 0.00141967 W
                Runtime Dynamic = 0.279471 W

          Integer ALUs (Count: 6 ):
            Area = 0.672672 mm^2
            Peak Dynamic = 2.72645 W
            Subthreshold Leakage = 1.01603 W
            Subthreshold Leakage with power gating = 0.402349 W
            Gate Leakage = 0.0454759 W
            Runtime Dynamic = 0.187989 W

          Floating Point Units (FPUs) (Count: 2 ):
            Area = 9.71959 mm^2
            Peak Dynamic = 0.883753 W
            Subthreshold Leakage = 3.67022 W
            Subthreshold Leakage with power gating = 1.45341 W
            Gate Leakage = 0.164273 W
            Runtime Dynamic = 0.338883 W

          Complex ALUs (Mul/Div) (Count: 1 ):
            Area = 0.336336 mm^2
            Peak Dynamic = 0.327493 W
            Subthreshold Leakage = 0.508016 W
            Subthreshold Leakage with power gating = 0.201174 W
            Gate Leakage = 0.0227379 W
            Runtime Dynamic = 0.21939 W

          Results Broadcast Bus:
            Area Overhead = 0.0986178 mm^2
            Peak Dynamic = 3.37793 W
            Subthreshold Leakage = 0.24116 W
            Subthreshold Leakage with power gating = 0.0954995 W
            Gate Leakage = 0.0107939 W
            Runtime Dynamic = 0 W

*****************************************************************************************
L2
      Area = 17.8319 mm^2
      Peak Dynamic = 2.51399 W
      Subthreshold Leakage = 2.35924 W
      Subthreshold Leakage with power gating = 1.34333 W
      Gate Leakage = 0.018883 W
      Runtime Dynamic = 2.73578e-09 W

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

Reply via email to