[gem5-users] Re: RISCV Power/Energy Estimation

2023-05-09 Thread Andreas Brokalakis via gem5-users
Dear Choi,

there seems to be a problem with your results. If you see the Runtime
Dynamic results, it mentions that they are either inf or nan. This means
that in the xml file that was produced from the python script, the runtime
statistics have not been written properly.
As such McPAT does not compute the dynamic power consumption based on the
runtime statistics produced by the gem5 simulation. It only computes a
maximum power draw (something like a TDP value instead of a power value
related to the program that you are actually running).

To correct this error you need to check the stats.txt file and the python
script to see whether the version of gem5 that you are using somehow has
modified the syntax or structure of the stats.txt file and therefore you
need to account for these changes when you parse it with the python script.

Best regards,
Andreas



On Tue, May 9, 2023 at 7:35 PM 최순원 via gem5-users 
wrote:

> Dear Νικόλαος Ταμπουρατζής,
>
> Your description is perfect. I was able to get "mcpatOutput.txt" without
> any problem like this.
> [image: image.png]
>
> If you don't mind, can I ask you two more questions?
>
> 1) How can I get the total power consumption of the processor from the
> output file information?
>
> 2) Can I see the your "mcpatOutput.txt" file? I want to compare with my
> output file.
>
> Thanks for your time.
>
> Best regards,
> Choi
>
> 2023년 5월 10일 (수) 오전 12:56, Νικόλαος Ταμπουρατζής <
> ntampourat...@ece.auth.gr>님이 작성:
>
>> Dear Soonwon,
>>
>> I had used McPAT v1.3. Specifically, you can do the following:
>>
>> 1) git clone https://github.com/H2020-COSSIM/cMcPAT.git
>>
>> 2) cd cMcPAT/mcpat
>>
>>
>> 3) make all
>>
>> 4) cd cMcPAT/Scripts (here you can see the GEM5ToMcPAT.py).
>> Usage: GEM5toMcPAT.py [options]  > (json)>  -o 
>>
>> Example GEM5ToMcPAT.py $GEM5/m5out/stats.txt $GEM5/m5out/config.json
>> cMcPAT/mcpat/ProcessorDescriptionFiles/ARM_AtomicSimpleCPU_template.xml -o
>> cMcPAT/mcpatNode.xml
>>
>> To be noticed to replace the correct of the above paths and the
>> mcpatNode.xml will be produced.
>>
>>
>> 5) Run McPAT using the mcpatNode.xml from step 4: cMcPAT/mcpat/mcpat
>> -infile cMcPAT/mcpatNode.xml -print_level 1 > cMcPAT/mcpatOutput.txt
>>
>> You may use print_level from 1 to 5 (more detailed output).
>>
>> In the above example I have used a generic
>> ARM_AtomicSimpleCPU_template.xml an I tested using the latest gem5 version
>> (v22.1). You may change it according your ARM processor.
>>
>> Best regards,
>> Nikos
>>
>> Quoting 최순원 via gem5-users :
>>
>> Hello, I read your question, “RISCV Power/Energy Estimation”.
>>
>> I’m sorry because It is not a answer to your question.
>>
>> You said that “I got power/energy estimations of ARM and X86 ISAs through
>> McPAT.”.
>> I want to measure a ARM core’s power consumption.
>> I got the gem5 simulations results, “stats.txt”, but I can’t see the
>> power consumption of cpu.
>>
>> Can you tell me how you got the CPU power consumption?
>>
>> Best regards,
>> Soonwon Choi
>>
>>
>>
>> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org


[gem5-users] Re: Regarding Power consumption in gem5

2020-12-08 Thread Andreas Brokalakis via gem5-users
Hi Ayush,

if you want you may check my version of McPAT (based on v1.3 with some
improvements) and the conversion tool that I include. I have not checked if
the latest version of gem5 made any changes to the outputs that it
produces, otherwise it should be fine.
This is the repository: https://github.com/kingmouf/cmcpat .

Best regards,
Andreas

On Tue, Dec 8, 2020 at 12:59 PM Ayush Kumar Varshney via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
> I am new here and just started with gem5. I wanted to compute the power
> consumption for a simple two_level example for ARM architecture. I am using
> gem5-mcpat-parser , after
> following the steps on gem5-mcpat-parser, i get the following output
>
> gem5-mcpat-parser 2017
> [config.ini]: finished parsing!
> [stats.txt]: finished parsing!
> Parsing template...
> Warning: param system 'number_of_L2Directories' has a value of 0!
> Warning: param system 'Private_L2' has a value of 0!
> Warning: param system 'number_of_L2s' has a value of 0!
> Warning: param system 'number_of_L3s' has a value of 0!
> Warning: param system 'homogeneous_L3s' has a value of 0!
> Warning: stat system 'idle_cycles' has a value of 0!
> Warning: param system.core0 'x86' has a value of 0!
> Warning: some parameters missing to set properly 'pipeline_depth'!
> Warning: stat system.core0 'total_instructions' has a value of 0!
> Warning: stat system.core0 'branch_instructions' has a value of 0!
> Warning: stat system.core0 'branch_mispredictions' has a value of 0!
> Warning: stat system.core0 'store_instructions' has a negative value!
> Warning: stat system.core0 'committed_int_instructions' has a value of 0!
> Warning: stat system.core0 'committed_fp_instructions' has a value of 0!
> Warning: stat system.core0 'pipeline_duty_cycle' may have not been set!
> Warning: stat system.core0 'idle_cycles' has a value of 0!
> Warning: stat system.core0 'ROB_reads' has a value of 0!
> Warning: stat system.core0 'ROB_writes' has a value of 0!
> Warning: stat system.core0 'rename_reads' has a value of 0!
> Warning: stat system.core0 'rename_writes' has a value of 0!
> Warning: stat system.core0 'fp_rename_reads' has a value of 0!
> Warning: stat system.core0 'fp_rename_writes' has a value of 0!
> Warning: stat system.core0 'inst_window_reads' has a value of 0!
> Warning: stat system.core0 'inst_window_writes' has a value of 0!
> Warning: stat system.core0 'inst_window_wakeup_accesses' has a value of 0!
> Warning: stat system.core0 'fp_inst_window_reads' has a value of 0!
> Warning: stat system.core0 'fp_inst_window_writes' has a value of 0!
> Warning: stat system.core0 'fp_inst_window_wakeup_accesses' has a value of
> 0!
> Warning: stat system.core0 'int_regfile_reads' has a value of 0!
> Warning: stat system.core0 'int_regfile_writes' has a value of 0!
> Warning: stat system.core0 'float_regfile_reads' has a value of 0!
> Warning: stat system.core0 'function_calls' has a value of 0!
> Warning: stat system.core0 'ialu_accesses' has a value of 0!
> Warning: stat system.core0 'fpu_accesses' has a value of 0!
> Warning: stat system.core0 'mul_accesses' has a value of 0!
> Warning: stat system.core0 'cdb_alu_accesses' has a value of 0!
> Warning: stat system.core0 'cdb_mul_accesses' has a value of 0!
> Warning: stat system.core0 'cdb_fpu_accesses' has a value of 0!
> Warning: stat system.core0.itlb 'total_accesses' has a value of 0!
> Warning: stat system.core0.itlb 'total_misses' has a value of 0!
> Warning: stat system.core0.dtlb 'total_accesses' has a value of 0!
> Warning: stat system.core0.dtlb 'total_misses' has a value of 0!
> Warning: stat system.core0.dcache 'write_accesses' has a value of 0!
> Warning: stat system.core0.dcache 'write_misses' has a value of 0!
> Warning: stat system.core0.BTB 'read_accesses' has a value of 0!
> Warning: stat system.core0.BTB 'write_accesses' has a value of 0!
> Warning: stat system.L20 'read_accesses' has a value of 0!
> Warning: stat system.L20 'write_accesses' has a value of 0!
> Warning: stat system.L20 'read_misses' has a value of 0!
> Warning: stat system.L20 'write_misses' has a value of 0!
> Warning: param system.mc 'block_size' has a value of 0!
> Warning: param system.mc 'memory_channels_per_mc' has a value of 0!
> Warning: param system.mc 'number_ranks' has a value of 0!
> Warning: stat system.mc 'memory_accesses' has a value of 0!
> Warning: stat system.mc 'memory_reads' has a value of 0!
> Warning: stat system.mc 'memory_writes' has a value of 0!
> finish filling!
> Parsing was successful!
> -
> Fixing incorrect arguments from stats.txt and config.ini
> -
> system.core0 -> -100
> committed_fp_instructions -> 0
> rename_reads -> 0
> system.core0.dcache.write_misses -> 43
> system.core0.dcache.write_accesses -> 945
> itlb.total_accesses -> 0
> dtlb.total_accesses -> 0
> btb.write_accesses 

[gem5-users] Re: How to use custom gpu models with gem5 ?

2020-11-16 Thread Andreas Brokalakis via gem5-users
Hi, maybe you can check this work: https://github.com/ntampouratzis/ACSIM .
I believe that you may contact the author directly as I know it is still
being developed (although not publicly available at the moment).

Best regards,
Andreas

On Mon, Nov 16, 2020 at 11:45 AM hgedek--- via gem5-users <
gem5-users@gem5.org> wrote:

> Hi again,
>
> Thanks for replies and I learned so much about gem5. I was trying gem5 for
> a while to learn it. I have one question: is se mode or fs mode more
> suitable to test tlm & gpus & etc... ? Our own testing environment based on
> qemu and it runs ubuntu. So we can install gpu driver and test our hw model
> using tlm & systemc. I tested gem5 with ubuntu in fs mode but booting it
> took a huge time ( x86 ). I tried multiple times but I couldn't succeed. So
> I decided to test arm platform this week because it seems you have
> binaries. But before all which mode do you advice ?
>
> At the end we are looking for running an opengl code on gem5 based system
> and see triangles ! thats all.
>
> Thanks
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

[gem5-users] Re: How calculate power in mcpat

2020-08-17 Thread Andreas Brokalakis via gem5-users
Hi,

peak power refers to the peak dynamic + total leakage. Peak dynamic is
kinda like a TDP value, meaning that it is what a fully active circuit
would give you (let's call the scenario a power virus, not an actual
working code). When you execute a specific code on your simulator and use
the different statistics, McPAT computes the runtime dynamic power, which
is dependent on the actual code enabling or using different parts of the
circuit. Total leakage is the subthreshold leakage and gate leakage. These
are not actually dependent on the code you are executing but rather on your
device being powered on (that is why it is called static power). In the
end, the power consumed for a specific program is the dynamic power + total
leakage.

Best,
Andreas

On Sun, Aug 16, 2020 at 11:23 PM FARIDEH ZIAEE via gem5-users <
gem5-users@gem5.org> wrote:

> Hi,
>
>   According to the mcpat paper, it  calculates power with this Equation:
>
> total power= dynamic power + short-circuit power + leakage power
>
> when I ran mcpat , I couldn't understand which of paramets  are dynamic ,
> short-circuit and static(leakage) power in output-imcpat  .
>  Could someone guide me which parameters are static and short-circuit  and
> dynamic power ?
>
> Best Regards.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *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 = 391.232 mm^2  Peak Power = 778.824 W  Total Leakage = 179.53 W
> Peak Dynamic = 599.294 W  Subthreshold Leakage = 163.458 W  Subthreshold
> Leakage with power gating = 66.6128 W  Gate Leakage = 16.0724 W  Runtime
> Dynamic = 547.762 W*
>
> ___
> gem5-users mailing list -- gem5-users@gem5.org
> To unsubscribe send an email to gem5-users-le...@gem5.org
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Re: [gem5-users] gem5 gcn3 (GPU) power model

2020-04-08 Thread Andreas Brokalakis
Hi Dan,

in this repository: https://github.com/kingmouf/cmcpat  I have added a
modified version of McPAT (it details the changes) as well as necessary
templates and scripts to work with the November 2019 version of gem5. I
have not been able to track if the newest version of gem5 breaks any of the
conversion scripts.

gem5 and McPAT can work together... sort of. McPAT requires some low level
implementation details (e.g. lithography) that gem5 does not model. In
addition certain aspects of the design that gem5 models are embedded in the
code of gem5 itself and are not made directly available to output files
(though indirectly you may be able to figure out most). I'll try to guide
you a little bit if you use my approach - but you can use any other
approach and most of what I write will apply. In my repository you can find
a script to convert gem5 output to a proper input xml file for McPAT. The
following more or less describe the process:

1. Execute gem5 with the system that you are trying to model and gather the
results. You are going to need two files:
- config.json from where you will be able to draw configuration /
architectural information about the system you are modelling. This is
information that McPAT requires in order to build a circuit model of your
system.
- stats.txt that contain the statistics of the execution run and McPAT
requires in order to calculate power/energy based on circuit activity.

2. McPAT requires as input an xml file that describes the processor and
also the activities of each unit. You need to create a xml template file
that describes the processor and has some hardwired information that you
insert (that is the circuit level info that gem5 does not model at all) and
then provide the proper hooks for the conversion scripts that will read the
gem5 output files and fill the xml template with the proper numerical
values. McPAT provides some processor template files that can be your
starting point and in my repository you can find additional template files
for specific cases (e.g. ARM in order processors compatible with the ones
gem5 models). Please refer to these template files in order to get a grasp
on how you make them.
 - open for example inorder_arm.xml file.
 - Check for example this line: 
   Here you should specify the tech node that the processor is going to
be implemented. This is the kind of information that gem5 cannot provide.
Use your own based on what you are trying to do. Here I just used 28nm.
 - Check for example this line: 
   Here you should specify the overall number of cycles that your
program has taken in order to be executed. gem5 models this information and
it is located in the stats.txt file. For my test system, in the stats.txt
file there is a line:
   system.cpu.numCycles704089210
# number of cpu cycles simulated
   that has this information. So by placing the value "
stats.system.cpu.numCycles" in the template xml file, I instruct the
conversion script to retrieve the value from the stats.txt file and there
it should search for the system.cpu.numCycles entry.
 - Check for example this line: 
   Similarly to the previous example, this is an architectural
information, so I instruct the conversion script to fetch this value from
the config.json file and then retrieve the value from the
system->cpu->fetch2InputBufferSize entry.

3. Once a template xml file has been made you can call the conversion
script that upon execution will replace the directives with actual values.
It will produce an xml file that you can then use with McPAT.

While the process seems rather tedious, remember that you only need to do
this once per system you are modelling and then it is totally
straightforward.

I hoped I helped a little bit. Please check the documentation in my
repository as well.

Best,
Andreas

On Wed, Apr 8, 2020 at 5:39 PM Daniel Gerzhoy 
wrote:

> Hello,
>
> I'm wondering if there is a power model associated with the GPU model in
> the GCN3 branch.
>
> Actually is it still a branch? Or is it in the main gem5 branch now? I'm
> using the version that was in a separate branch a few months ago.
>
> Also if anyone could please point me at any documentation for using McPat
> or other power estimation with gem5 in general that would be very
> appreciated. I've found a little bit, but nothing comprehensive.
>
> Thanks,
>
> Dan Gerzhoy
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Possible website outage during changeover

2020-02-11 Thread Andreas Brokalakis
Hi Javed,

the site is https://www.gem5.org/

Best,
Andreas

On Tue, Feb 11, 2020 at 4:48 PM Javed Osmany 
wrote:

> Hi
>
>
>
> When I try to access http://new.gem5.org, I am getting
>
>
>
> *The Host is not resolvable,please make sure the URL is correct.*
>
>
>
> Is the above the correct URL for accessing the new GEM5 website?
>
>
>
> Tks in advance
>
>
>
> JO
>
>
>
>
>
> *From:* gem5-users [mailto:gem5-users-boun...@gem5.org] *On Behalf Of *Jason
> Lowe-Power
> *Sent:* 29 January 2020 16:50
> *To:* gem5 Developer List ; gem5 users mailing list <
> gem5-users@gem5.org>
> *Subject:* Re: [gem5-users] Possible website outage during changeover
>
>
>
> Hi all,
>
>
>
> The website has been moved over! Please let me know if you see any major
> problems. If you find content errors, etc. you can either file a bug report
> on https://gem5.atlassian.net/browse/GEM5 or create a changeset on
> gerrit:
> https://gem5.googlesource.com/public/gem5-website/+/refs/heads/master/README.md
>
>
>
> Cheers,
>
> Jason
>
>
>
> On Tue, Jan 28, 2020 at 3:41 PM Jason Lowe-Power 
> wrote:
>
> Hi all,
>
>
>
> In the next couple of hours, I'm going to be switching over our website
> from the current wiki (viewable in static form at http://old.gem5.org/)
> to the new website (http://new.gem5.org/). There may be some downtime as
> the DNS servers make the switch. Or, what's more likely, is there's some
> downtime because I break something :).
>
>
>
> Just FYI.
>
>
>
> Cheers,
>
> Jason
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] gem5 stable release proposal [PLEASE VOTE!]

2019-12-17 Thread Andreas Brokalakis
Hi Jason,

I think master should be stable.
I think gem5 should be released once per year.

Best,
Andreas

On Tue, Dec 17, 2019 at 10:30 AM Muhammet Abdullah Soytürk <
muhammetabdullahsoyt...@gmail.com> wrote:

> Hi Jason,
>
> For the first one, I think master should be stable.
>
> For the second one, I think gem5 should be released three times per year.
>
> Cheers,
> Muhammet
>
> Jason Lowe-Power , 16 Ara 2019 Pzt, 22:50 tarihinde
> şunu yazdı:
>
>> Hi all,
>>
>> As many of you have seen on gem5-dev, we are going to be adding a
>> "stable" version of gem5. Below is the current proposal. There are a
>> couple of points below where there has not been general consensus
>> reached. We would appreciate feedback *from everyone in the community*
>> on the points where a decision hasn't been made below. gem5 is a
>> community-driven project, and we need feedback to make sure we're
>> making community-focused decisions.
>>
>> We will be introducing a new "stable" branch type to gem5. We are
>> doing this for the following reasons:
>> - Provide a way for developers to communicate major changes to the
>> code. We will be providing detailed release notes for each stable
>> release.
>> - Increase our test coverage. At each stable release, we will test a
>> large number of "common" benchmarks and configurations and publicize
>> the current state of gem5.
>> - Provide a way for researchers to communicate to the rest of the
>> community information about their simulation infrastructure (e.g., in
>> a paper you can say which version of gem5 you used).
>>
>> On the stable version of gem5, we will provide bugfixes  until the
>> next release, but we will not make any API changes or add new
>> features.
>>
>> We would like your feedback on the following two questions:
>>
>> **Which branch should be default?**
>>
>> We can either have the master branch in git be the "stable" or the
>> "development" branch. If master is the stable branch, then it's easier
>> for users to get the most recent stable branch. If master is the
>> development branch, it's more familiar and easier for most developers.
>> Either way, we will be updating all of the documentation to make it
>> clear.
>>
>> Please let us know which you prefer by replying "I think master should
>> be stable" or "I think master should be development".
>>
>> **How often should we create a new gem5 release?**
>>
>> We can have a gem5 release once per year (likely in April) or three
>> times per year (April, August, and December). Once per year means that
>> if you use the stable branch you will get updates less frequently.
>> Three times per year will mean there are more releases to choose from
>> (but a newer release should always be better). On the development
>> side, I don't think one will be more work than the other. Once per
>> year means more backporting, and three times per year means more
>> testing and time spent on releases.
>>
>> Please let us know which you prefer by replying "I think gem5 should
>> be released once per year" or "I think gem5 should be released three
>> times per year."
>>
>>
>>
>>
>> A couple of notes to everyone who's been following the discussion on
>> the gem5-dev mailing list:
>> - We have dropped the proposal for major vs minor releases. Note that
>> there was some pushback on having only major releases when this was
>> proposed on the gem5 roadmap, but it sounded like the consensus was to
>> drop minor releases for now.
>> - We will still allow feature branches *in rare circumstances*. This
>> will be by request only (send mail to gem5-dev if you would like to
>> discuss adding a new branch), and the goal will be integration within
>> a few months. All code review will still happen in the open on gerrit.
>> The benefits will be
>> 1) rebases won't be required as you can just make changes to the head
>> of the branch
>> 2) many features take more than a few months to implement, so if it's
>> not ready by a release it can be pushed to the next
>> 3) large changes won't be hidden in AMD or Arm-specific repositories
>> and *anyone* will be able to request a branch.
>>
>> Thanks everyone for the discussions so far! It would be most useful to
>> hear back by the end of the week. However, I don't expect any concrete
>> actions will be taken until after the holidays.
>>
>> Cheers,
>> Jason
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] errors compiling gem5 with GCC 9.2.1 (Ubuntu 19.10)

2019-11-07 Thread Andreas Brokalakis
Hi Jason,

I applied the patch and tested with gcc v7 and it compiles ok without boost.

Best,
Andreas

On Thu, Nov 7, 2019 at 3:14 AM Jason Lowe-Power  wrote:

> Andreas, could you check to make sure this changeset fixes the problem for
> you (at least the boost problem).
>
> https://gem5-review.googlesource.com/c/public/gem5/+/22624
>
> GCC fixes coming soon (I hope).
>
> Cheers,
> Jason
>
> On Tue, Nov 5, 2019 at 6:41 PM Gabe Black  wrote:
>
>> Basically, sc_peq.hh needs to include the actual bits of TLM that it's
>> using, not blanketly including tlm.h. tlm.h is the externally facing header
>> which non-gem5 aware code would include, but since sc_peq.hh is gem5 aware,
>> it can include specific gem5 headers and avoid bringing in bind.hpp with
>> the wider tlm.h net.
>>
>> On Tue, Nov 5, 2019 at 6:36 PM Jason Lowe-Power 
>> wrote:
>>
>>> Hey Gabe,
>>>
>>> I (well, Hoa) was able to track this down a little bit. See the
>>> traceback below. It looks like since Gem5ToTlmBridge is a SimObject, it's
>>> compiled in by default pulling in the tlm header file.
>>>
>>> In file included from build/X86/systemc/ext/tlm:24:0,
>>>  from build/X86/systemc/ext/tlm.h:22,
>>>  from build/X86/systemc/tlm_bridge/sc_peq.hh:41,
>>>  from build/X86/systemc/tlm_bridge/gem5_to_tlm.hh:75,
>>>  from build/X86/python/_m5/param_Gem5ToTlmBridge64.cc:9:
>>> build/X86/systemc/ext/systemc:37:10: fatal error: boost/bind.hpp: No
>>> such file or directory
>>>  #include 
>>>   ^~~~
>>> compilation terminated.
>>>
>>> It would be great to fix this. It's been bugging me for a while that
>>> boost has become a required dependency. I'm not sure what is needed and
>>> what isn't. With some guidance we can take a stab at fixing this.
>>>
>>> Thanks,
>>> Jason
>>>
>>> On Mon, Nov 4, 2019 at 1:47 PM Gabe Black  wrote:
>>>
>>>> I agree with Ciro, but will add that things should work with version 7
>>>> and boost is not supposed to be a dependency. The systemc standard *claims*
>>>> that boost is not required, just specifying some macros that resolve to
>>>> boost code. Unfortunately in reality, the Accellera implementation includes
>>>> boost directly, and their tests (which we try to pass) break if we don't do
>>>> that too. The headers are set up in such a way that that include *should*
>>>> be isolated though, unless you've included one of the top level systemc
>>>> includes like  or . That way gem5 itself doesn't require
>>>> boost, and if you're using systemc, you'd need it even if you were using
>>>> Accellera instead.
>>>>
>>>> If you can identify where that include is coming from, we should fix
>>>> that as soon as possible.
>>>>
>>>> Gabe
>>>>
>>>> On Mon, Nov 4, 2019 at 1:30 PM Ciro Santilli 
>>>> wrote:
>>>>
>>>>> On Mon, Nov 4, 2019 at 8:09 PM Andreas Brokalakis 
>>>>> wrote:
>>>>> >
>>>>> > Hi all,
>>>>> >
>>>>> > I am trying to compile gem5 cloned from the official repository on
>>>>> Ubuntu 19.10 with gcc 9.2.1 installed. I keep on getting errors that make
>>>>> practically the compilation process impossible.
>>>>> >
>>>>> > The first errors were about implicitly-declared things all over the
>>>>> code. I managed to workaround them by adding the option
>>>>> -Wno-error=deprecated-copy . Then there were errors all over the place
>>>>> about redundant move in return statement. The only way I managed to
>>>>> workaround this was by falling back on gcc 7.
>>>>> >
>>>>>
>>>>> Things break for every new major GCC version due to more strict error
>>>>> checking, patches that fix them without ignoring errors are welcome
>>>>> :-)
>>>>>
>>>>> > After that there was an error about not finding boost/bind.hpp .
>>>>> Installing boost is not a documented dependency and I only found this on
>>>>> gem5-dev mailing list:
>>>>> https://www.mail-archive.com/gem5-dev@gem5.org/msg28734.html
>>>>> >
>>>>> > From my understanding this is a dependency for when building
>>>>> 

[gem5-users] errors compiling gem5 with GCC 9.2.1 (Ubuntu 19.10)

2019-11-04 Thread Andreas Brokalakis
Hi all,

I am trying to compile gem5 cloned from the official repository on Ubuntu
19.10 with gcc 9.2.1 installed. I keep on getting errors that make
practically the compilation process impossible.

The first errors were about implicitly-declared things all over the code. I
managed to workaround them by adding the option -Wno-error=deprecated-copy
. Then there were errors all over the place about redundant move in return
statement. The only way I managed to workaround this was by falling back on
gcc 7.

After that there was an error about not finding boost/bind.hpp . Installing
boost is not a documented dependency and I only found this on gem5-dev
mailing list: https://www.mail-archive.com/gem5-dev@gem5.org/msg28734.html

>From my understanding this is a dependency for when building something that
requires interaction with SystemC. Should it be there when building
mainline versions of GEM5? Also it is not documented and maybe instructions
on building gem5 should be updated (they are already very old).

Best,
Andreas
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Reg McPAT-GEM5

2019-03-07 Thread Andreas Brokalakis
Well, you have to do it and be specially careful about it. If there are
still errors after that, we will need to review the conversion process. :)

Best,
Andreas

On Thu, Mar 7, 2019 at 6:59 PM karunya ganesh 
wrote:

> No sir... I have not done it!
>
> Karunya
>
> On Thu, Mar 7, 2019, 10:28 PM Andreas Brokalakis  wrote:
>
>> All right, so you need to properly adjust the xml template that you are
>> using. Have you edited the template.xml file to match your gem5
>> configuration?
>>
>> On Thu, 7 Mar 2019, 18:31 karunya ganesh, 
>> wrote:
>>
>>> I am using Gem5 Garnet2.0 version sir. I am trying to run an 8*8 Garnet
>>> Network with mesh topology sir.
>>>
>>> On Thu, Mar 7, 2019, 9:34 PM Andreas Brokalakis >> wrote:
>>>
>>>> Hi,
>>>> first of all does the template xml match the processor that you are
>>>> trying to simulate in GEM5? Can you please tell me which version of GEM5
>>>> you are using? Also what type of simulation are you performing?
>>>>
>>>> Best,
>>>> Andreas
>>>>
>>>> On Tue, Mar 5, 2019 at 3:30 PM karunya ganesh 
>>>> wrote:
>>>>
>>>>> hello sir,
>>>>> i tried it but still ending up with error sir
>>>>>
>>>>> Command that i executed ::   python GEM5ToMcPAT.py stats.txt
>>>>> config.json template.xml
>>>>> Reading GEM5 stats from: stats.txt
>>>>> Warning (stats): system.mem_ctrls00.avgQLat is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls00.avgBusLat is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls00.avgMemAccLat is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls00.readRowHitRate is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls00.writeRowHitRate is nan.
>>>>> Setting it to 0
>>>>> Warning (stats): system.mem_ctrls00.avgGap is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls00.pageHitRate is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls01.avgQLat is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls01.avgBusLat is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls01.avgMemAccLat is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls01.readRowHitRate is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls01.writeRowHitRate is nan.
>>>>> Setting it to 0
>>>>> Warning (stats): system.mem_ctrls01.avgGap is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls01.pageHitRate is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls02.avgQLat is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls02.avgBusLat is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls02.avgMemAccLat is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls02.readRowHitRate is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls02.writeRowHitRate is nan.
>>>>> Setting it to 0
>>>>> Warning (stats): system.mem_ctrls02.avgGap is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls02.pageHitRate is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls03.avgQLat is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls03.avgBusLat is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls03.avgMemAccLat is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls03.readRowHitRate is nan. Setting
>>>>> it to 0
>>>>> Warning (stats): system.mem_ctrls03.writeRowHitRate is nan.
>>>>> Setting it to 0
>>>>> Warning (stats): system.mem_ctrls03.avgGap is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls03.pageHitRate is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): system.mem_ctrls04.avgQLat is nan. Setting it to 0
>>>>> Warning (stats): system.mem_ctrls04.avgBusLat is nan. Setting it
>>>>> to 0
>>>>> Warning (stats): 

Re: [gem5-users] Reg McPAT-GEM5

2019-03-07 Thread Andreas Brokalakis
All right, so you need to properly adjust the xml template that you are
using. Have you edited the template.xml file to match your gem5
configuration?

On Thu, 7 Mar 2019, 18:31 karunya ganesh,  wrote:

> I am using Gem5 Garnet2.0 version sir. I am trying to run an 8*8 Garnet
> Network with mesh topology sir.
>
> On Thu, Mar 7, 2019, 9:34 PM Andreas Brokalakis 
>> Hi,
>> first of all does the template xml match the processor that you are
>> trying to simulate in GEM5? Can you please tell me which version of GEM5
>> you are using? Also what type of simulation are you performing?
>>
>> Best,
>> Andreas
>>
>> On Tue, Mar 5, 2019 at 3:30 PM karunya ganesh 
>> wrote:
>>
>>> hello sir,
>>> i tried it but still ending up with error sir
>>>
>>> Command that i executed ::   python GEM5ToMcPAT.py stats.txt config.json
>>> template.xml
>>> Reading GEM5 stats from: stats.txt
>>> Warning (stats): system.mem_ctrls00.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls00.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls00.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls00.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls00.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls00.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls00.pageHitRate is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls01.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls01.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls01.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls01.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls01.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls01.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls01.pageHitRate is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls02.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls02.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls02.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls02.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls02.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls02.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls02.pageHitRate is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls03.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls03.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls03.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls03.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls03.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls03.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls03.pageHitRate is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls04.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls04.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls04.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls04.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls04.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls04.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls04.pageHitRate is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls05.avgQLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls05.avgBusLat is nan. Setting it to 0
>>> Warning (stats): system.mem_ctrls05.avgMemAccLat is nan. Setting it
>>> to 0
>>> Warning (stats): system.mem_ctrls05.readRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls05.writeRowHitRate is nan. Setting
>>> it to 0
>>> Warning (stats): system.mem_ctrls05.avgGap is nan. Setting it to 0
>>> Warning (stats): system.mem_ct

Re: [gem5-users] Reg McPAT-GEM5

2019-03-07 Thread Andreas Brokalakis
t; Warning (stats): system.mem_ctrls16.readRowHitRate is nan. Setting it
> to 0
> Warning (stats): system.mem_ctrls16.writeRowHitRate is nan. Setting it
> to 0
> Warning (stats): system.mem_ctrls16.avgGap is nan. Setting it to 0
> Warning (stats): system.mem_ctrls16.pageHitRate is nan. Setting it to 0
> Reading config from: config.json
> Reading McPAT template from: template.xml
> Traceback (most recent call last):
>   File "GEM5ToMcPAT.py", line 181, in 
> main()
>   File "GEM5ToMcPAT.py", line 53, in main
> dumpMcpatOut(opts.out)
>   File "GEM5ToMcPAT.py", line 66, in dumpMcpatOut
> confValue = getConfValue(conf)
>   File "GEM5ToMcPAT.py", line 117, in getConfValue
> if x not in currConf[0]:
> TypeError: argument of type 'int' is not iterable
>
>
> On Tue, Mar 5, 2019 at 12:49 PM Andreas Brokalakis 
> wrote:
>
>> Try this one: https://github.com/H2020-COSSIM/cMcPAT . Not really sure
>> if an update in gem5 has broken anything (if it has please report it back
>> to me)
>>
>> On Tue, Mar 5, 2019 at 7:43 AM nevethetha ganesan <
>> nevethetha2...@gmail.com> wrote:
>>
>>> Hello,
>>> I need to take the power statistics in gem5. Please help if anyone has
>>> McPAT that is compatible with latest version of  gem5. I am using gem5 with
>>> garnet 2.0 version.
>>> ___
>>> gem5-users mailing list
>>> gem5-users@gem5.org
>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Reg McPAT-GEM5

2019-03-04 Thread Andreas Brokalakis
Try this one: https://github.com/H2020-COSSIM/cMcPAT . Not really sure if
an update in gem5 has broken anything (if it has please report it back to
me)

On Tue, Mar 5, 2019 at 7:43 AM nevethetha ganesan 
wrote:

> Hello,
> I need to take the power statistics in gem5. Please help if anyone has
> McPAT that is compatible with latest version of  gem5. I am using gem5 with
> garnet 2.0 version.
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Gem5 and McPAT error

2018-10-23 Thread Andreas Brokalakis
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 <
weizhengxu2...@u.northwestern.edu> 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 50
> -I 20” 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 
> 写道:
>
> 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 
> 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
>
>
>
> 
>
> 在 Sep 25, 2018,7:10 AM,Andreas Brokalakis  写道:
>
> 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 sy

Re: [gem5-users] Gem5 and McPAT error

2018-10-18 Thread Andreas Brokalakis
Dear Weizheng,

you can find the templates here:
https://github.com/H2020-COSSIM/cMcPAT/tree/master/mcpat/ProcessorDescriptionFiles

Here you can find the conversion script:
https://github.com/H2020-COSSIM/cMcPAT/tree/master/Scripts (note that it
has changes compared to the one you are using)

Lastly, you can find in the repository a newer version of McPAT, which is a
modified 1.3 version.

In any case, it is kinda hard to understand why you have this problem if
you do not share your stats (as well as config.json file), the template and
the output file. Also keep in mind that while a conversion may be legit,
McPAT does not support all possible combinations of systems that gem5 may
support. For example, we modified McPAT because the atomic simple CPU
models that gem5 could support, where not acceptable for McPAT (for example
McPAT will always assume that you have a certain uarch structures). In some
cases we also found that the conversion tool that you have used, didn't
work properly with newer versions of gem5 and under certain circumstances
it would replace a value with a 'nan' number. Of course this caused
problems similar to the ones you are reporting. I would suggest looking
thoroughly to the output.xml file and check that all values that you are
trying to convert using stats.txt and config.json data are properly
converted and there is no problem there.

Best,
Andreas

On Wed, Oct 17, 2018 at 1:16 AM Weizheng Xu <
weizhengxu2...@u.northwestern.edu> 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
>
>
>
>
> 在 Sep 25, 2018,7:10 AM,Andreas Brokalakis  写道:
>
> 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 <
> weizhengxu2...@u.northwestern.edu> 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
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Gem5 and McPAT error

2018-09-25 Thread Andreas Brokalakis
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 <
weizhengxu2...@u.northwestern.edu> 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
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Discussion About Interfacing with McPAT

2018-07-23 Thread Andreas Brokalakis
Hi Yi Shen,

there are a few things to consider here. First, gem5 and McPAT work on
different levels. gem5 does not include and circuit information nor
anything else beyond architectural stuff. On the other hand McPAT requires
information that gem5 is simply not in a position to provide. That is why
you have basic templates. They are used to provide the information that is
missing from gem5 and that there is no point in leaving at "default value".
For example, what is considered the default value of the implementation
technology of a chip? What is the default value of the process? What is the
default value of an implementation style? These are things that you
consider when using a template. If you are trying to model an embedded
low-power processor, it is different than a high performance part.

Apparently, if certain "default" values work for you, then it is ok. If you
want to avoid templates, then you can use certain inputs (e.g. when calling
your conversion program, a user can specify this kind of information).

Furthermore, you should consider that certain parts of information may not
be applicable. For example, when we were writing such a conversion tool,
one of the struggles was to make sure that the default assumptions of both
tools were a match. gem5 may assume a certain structure of memory hierarchy
that McPAT may not (example: minimum size of a cache or even the presence
of a cache) and also gem5 may or may not report certain values depending on
the simulation type. So if you leave default values without having a
template to specify certain things and force them on your own, things may
break and the value of the final results will be questionable.

Best,
Andreas

On Fri, Jul 20, 2018 at 7:04 PM, Yi Shen  wrote:

> Hi all,
>
>
>
> I am thinking about writing a inclusive template that could effectively
> translate gem5 output to McPAT input. The idea is simple. This template
> includes all McPAT inputs and how to get them from gem5 outputs
> (config.json & stats.txt) as well as the xml structure. And every CPU core
> is treated as heterogeneous. For one gem5 simulation, the gem5 output may
> not contain all inputs to McPAT. And a good parser would be able to parse
> all available gem5 outputs to McPAT and leave the missing pieces default.
>
>
>
> But since everyone is working with templates, I am suspicious if this idea
> legit. Is there any caveat prevents people from implementing such an
> one-for-all template? What would be foreseeable difficulties apart from the
> sheer labor?
>
>
>
> By the way, I am not sure if  I should send this email to gem5-dev. This
> email seems very different from other stuffs there.
>
>
>
> Thank you,
>
> Yi Shen
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Install Java in Linux Image

2018-06-29 Thread Andreas Brokalakis
Hi Boyang,

you can download the linux kernel images that we have built for our gem5 (
https://github.com/H2020-COSSIM) that have the following : a Gentoo Base
system for x86_64 and BusyBox for ARM processors (there are also other
kernels included). For these two images, we have installed Java JRE7 that
you can use to compile and execute java apps. The link is here:
http://kition.mhl.tuc.gr:8000/f/a16324207b/

We have not actually installed Java we have prepared everything that is
required and then copied everything to the images. It works. Installing
Java with everything that is required was a dead end. Maybe we missed
something, but this is what we did and everything works (we have run
extended Java applications on those systems).

Best,
Andreas


On Fri, Jun 29, 2018 at 4:42 AM, Boyang Xu <6172...@gmail.com> wrote:

> Hi erveyrone,
>
>
> I am installing Java in linux image in gem5 but failed. At first, I tried
> to install JRE [1] provided in URL [2] into the Linux image [3] following
> the instructions [4], but failed.
>
> The error is as follow:
>
>
> root@panlab-macpro:/usr/lib/jvm# update-java-alternatives -s java-7-sun
>> bash: update-java-alternatives: command not found
>> root@panlab-macpro:/usr/lib/jvm# java -version
>> qemu: fatal: Segmentation fault (core dumped)
>
>
>
> And then I tried to install JRE [1] into the image [5] downloaded from the
> URL [6] following the instructions [4] but still failed.
>
> The error is as follow:
>
>
> root@panlab-macpro:/usr/lib/jvm# java -version
>> qemu: fatal: Segmentation fault (core dumped)
>
>
>
> After installing qemu with the instruction [7], still failed again.
>
> The error is as follow.
>
>
>
>> root@panlab-macpro:/# java -version
>> Java HotSpot(TM) Embedded Client VM warning: Can't detect initial thread
>> stack location - find_vma failed
>> Error occurred during initialization of VM
>> Could not reserve enough space for object heap
>> Error: Could not create the Java Virtual Machine.
>> Error: A fatal exception has occurred. Program will exit.
>
>
>
> I google this error but failed to solve it. Besides, I am wondering if it
> is possible to install Java into the other images except the one [5]?
>
> Any suggestion and help on the installation of Java in gem5 is welcomed.
> Thanks a lot!
>
>
>
>
>
> [1]  ejre-7u60-fcs-b19-linux-arm-vfp-sflt-client_headless-07_
> may_2014.tar.gz
>
> [2]  https://www.mail-archive.com/gem5-users@gem5.org/msg10291.html
>
> [3]  aarch32-ubuntu-natty-headless.img
>
> [4]  http://gem5.org/DaCapo_benchmarks
>
> [5]  arm-ubuntu-natty-headless-java.img
>
> [6]  http://www.gem5.org/dist/current/arm/arm-system-dacapo-
> 2011-08.tgz
>
> [7]  sudo apt-get install qemu
>
> Best Regards,
> Boyang Xu
>
> A graduate student in UVIC
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Gem5 - McPAT, fs_big.little.py Stats.txt to XML

2018-06-15 Thread Andreas Brokalakis
Hi George,

in order to make this work you need to start with a proper template that
can handle the bigLITTLE architecture. Then from stats.txt you will get the
proper numerical values that are associated with you simulation (i.e.
utilization factors) and from the gem5 config json file you'll get several
microarchitectural info that have to be passed also to the template xml. So
your work starts primarily with McPAT in trying to compile a proper
template that most resembles the system that you are trying to simulate in
gem5. Then the script is not that difficult. You can also try our
conversion scripts that I think handle some cases (e.g. atomic cpus) that
the conversion you mentioned does not handle. Check it here:
https://github.com/H2020-COSSIM/cMcPAT

I repeat though, that your work starts with the proper template file.

Another option if you want to avoid McPAT is a tool developed by Chalmers
University in the same project (COSSIM) that models the power consumption
of ARM bigLITTLE according to the instruction mix. I think the most
relevant paper is this one:
https://ieeexplore.ieee.org/abstract/document/8106950/ and you can contact
the authors for more as for all I know they have not released the code in a
public repository.

Best,
Andreas

On Thu, Jun 14, 2018 at 5:06 PM, Georgios S. Bousdras <
georgios.bousd...@ulb.ac.be> wrote:

> Hi,
>
> I want to measure the power of a fs_bigLITTLE system using McPAT.
> Is there any method to convert the stats.txt to the proper xml file?
> I tried this script https://github.com/Ayymoose/gem5-mcpat-parser but It
> gives me error at the template.xml.
> Is it possible to convert it manually ?
> If you know a different program expect McPAT let me know.
>
> Best Regards,
> George
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Simulating parallel, distributed, networked and heterogeneous systems

2018-03-12 Thread Andreas Brokalakis
Hi Biruk,

yes you can do that. You may use the GUI just for the overall initial setup
and then you can edit the cGEM5 paameters to your will (go to
~/COSSIM/gem5/run.sh script that is produced by the GUI and enter the exact
configuration that you want).

Best,
Andreas

On Mon, Mar 12, 2018 at 6:27 AM, Biruk Yirga <birukj...@gmail.com> wrote:

> Hi Andreas
> I am trying to run COSSIM on terminal level instead of USING the GUI,
> in order to add additional behavior on the cGEM5 with additional commands.
> Could you have any clue to do this in an easy way ?
> Thanks for your help in advance.
> Biruk
> UST student
> ETRI
> Daejeon Korea
>
>
> On Thu, Feb 1, 2018 at 11:28 PM, Andreas Brokalakis <kingm...@gmail.com>
> wrote:
>
>> Dear all,
>>
>> at the recent gem5 workshop (ARM Research Summit), we presented COSSIM
>> Simulation Framework ( http://gem5.org/ARM_Research_S
>> ummit_2017_Workshop#COSSIM ). Today, we are officially releasing the
>> framework along with all the source code, required documentation and
>> examples. You can find all required repositories here:
>> https://github.com/H2020-COSSIM .
>>
>> Briefly, COSSIM interconnects gem5 with a network simulator (OMNET++)
>> through the IEEE 1516 HLA protocol. As such it enables the simulation of
>> whichever combination of systems along with a multitude of possible network
>> topologies and connections. Since the HLA is an IP-based protocol, all
>> interconnections between gem5 instances and the network simulator can run
>> independently and even in different machines, thus making the overall
>> simulation distributed. Additionally there is a GUI that can be used to
>> instrument the simulation and the network traffic and interactions can also
>> be visualized. Lastly, a custom version of McPAT is included interconnected
>> with gem5 and featuring certain enhancements and additional xml templates.
>>
>> We have already completed simulations comprising of several hundreds of
>> nodes (using a mix of ARM and x86 nodes) and the solution proposed scales
>> well.The framework implements all the required synchronization mechanisms
>> for correct execution. We have validated the simulator with three real
>> world applications and several benchmarks.
>>
>> Our project presents many similarities with dist-gem5 and many starking
>> differences. At this point we are evaluating those similarities and
>> differences and would very much appreciate and welcome any feedback
>> especially from the people working on dist-gem5. Any possible collaboration
>> towards a mutual goal would be highly interesting for us.
>>
>> We should note that the code we are releasing is based on the October
>> 2017 stable gem5 version.
>>
>> If you want to download and use the framework, please visit the github
>> repository listed above. There are scripts available that automate the
>> process to install and setup everything. If you want to avoid this process
>> and quickly evaluate the framework, we have also made available a Virtual
>> Machine based on Ubuntu 14.04 that has everything up and running.
>>
>> We thank you in advance and wait for your feedback and comments!
>>
>> Best regards,
>> Andreas Brokalakis
>>
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
>
> --
>
> *Biruk Yirga Nidaw **브루크 이르가 느다우*
>
>  < bir...@etri.re.kr >, birukj...@gmail.com
>
> *ET**R**I*  *한국전자통신연구원*
>
> Electronics and Telecommunications Research Institute
>
> Basic Research Center for Software, Building 07-floor 5 office No. 548
>
> 218, Gajeong-ro, Yuseong-gu, Daejeon, 305-700, KOREA *Tel: 010-3133-3008*
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] The simulation in two nodes with different ISA i.e. X86 and ARM

2018-02-06 Thread Andreas Brokalakis
If a networked (dual or more nodes) system is to be simulated, COSSIM that
extends gem5, does support heterogeneous system simulation out of the box.
You may want to try it out: https://github.com/H2020-COSSIM

Best,
Andreas

On Tue, Feb 6, 2018 at 6:03 PM, Mohammad Alian 
wrote:

> I don't think it's possible in dual mode, but using dist-gem5 you should
> be able to do that. However, it's not supported out of the box and you need
> to tweak the scripts to simulate a heterogeneous system.
>
> Best,
> Mohammad
>
> On Mon, Feb 5, 2018 at 12:41 PM, Boyang Xu  wrote:
>
>> Hi, all
>>
>> I would like to know wether GEM5 supports  the simulation in two nodes
>> with different ISAs, i.e. X86 and ARM?
>>
>> Because I want to run bench in a two-nodes gem5, but the nodes have
>> different ISA and system, such as  X86 and ARM, Android and Linux.
>> --
>> Best Regards,
>> Boyang Xu
>>
>> A graduate student in UVIC
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] The simulation in two nodes with different ISA i.e. X86 and ARM

2018-02-06 Thread Andreas Brokalakis
Hi Boyang,

can you be a little bit more specific? Is the x86 and ARM node
interconnected somehow or they are separate and you want to compare the
results? Do they run the same application? Is it something like a
client-server application?

Best,
Andreas

On Mon, Feb 5, 2018 at 8:41 PM, Boyang Xu  wrote:

> Hi, all
>
> I would like to know wether GEM5 supports  the simulation in two nodes
> with different ISAs, i.e. X86 and ARM?
>
> Because I want to run bench in a two-nodes gem5, but the nodes have
> different ISA and system, such as  X86 and ARM, Android and Linux.
> --
> Best Regards,
> Boyang Xu
>
> A graduate student in UVIC
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Simulating parallel, distributed, networked and heterogeneous systems

2018-02-01 Thread Andreas Brokalakis
Dear all,

at the recent gem5 workshop (ARM Research Summit), we presented COSSIM
Simulation Framework (
http://gem5.org/ARM_Research_Summit_2017_Workshop#COSSIM ). Today, we are
officially releasing the framework along with all the source code, required
documentation and examples. You can find all required repositories here:
https://github.com/H2020-COSSIM .

Briefly, COSSIM interconnects gem5 with a network simulator (OMNET++)
through the IEEE 1516 HLA protocol. As such it enables the simulation of
whichever combination of systems along with a multitude of possible network
topologies and connections. Since the HLA is an IP-based protocol, all
interconnections between gem5 instances and the network simulator can run
independently and even in different machines, thus making the overall
simulation distributed. Additionally there is a GUI that can be used to
instrument the simulation and the network traffic and interactions can also
be visualized. Lastly, a custom version of McPAT is included interconnected
with gem5 and featuring certain enhancements and additional xml templates.

We have already completed simulations comprising of several hundreds of
nodes (using a mix of ARM and x86 nodes) and the solution proposed scales
well.The framework implements all the required synchronization mechanisms
for correct execution. We have validated the simulator with three real
world applications and several benchmarks.

Our project presents many similarities with dist-gem5 and many starking
differences. At this point we are evaluating those similarities and
differences and would very much appreciate and welcome any feedback
especially from the people working on dist-gem5. Any possible collaboration
towards a mutual goal would be highly interesting for us.

We should note that the code we are releasing is based on the October 2017
stable gem5 version.

If you want to download and use the framework, please visit the github
repository listed above. There are scripts available that automate the
process to install and setup everything. If you want to avoid this process
and quickly evaluate the framework, we have also made available a Virtual
Machine based on Ubuntu 14.04 that has everything up and running.

We thank you in advance and wait for your feedback and comments!

Best regards,
Andreas Brokalakis
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Simulation on multiple cores

2018-01-30 Thread Andreas Brokalakis
Yes, the simulation of a single system (be it single or multi-core) is
carried out on a single thread.

Best,
Andreas

On Mon, Jan 29, 2018 at 7:39 PM, Timon Evenblij 
wrote:

> Hi all,
>
> I have been reading into using multiple threads for a system simulation,
> but so far, the only existing option is dist-gem5, but this limits the
> parallel simulation to distributed systems if I am correct. Am I missing
> something or are all simulations where 1 (multicore or not) machine is
> simulated, simulated on a single thread?
>
> I have seen references to parallel-gem5 here and there (e.g.
> http://gem5.org/wiki/images/2/2d/Isca2017-dist-gem5.pdf ), but
> http://www.m5sim.org/Parallel_M5 seems to point out this is not fully
> functional?
>
> Is there anyone that could gave a quick overview?
>
> Best regards
>
>
> Timon
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Script to convert Gem5 output to McPAT

2018-01-26 Thread Andreas Brokalakis
Dear all,

here: https://github.com/H2020-COSSIM/cMcPAT  you can find a slightly
modified version of McPAT along with conversion scripts to connect GEM5 and
McPAT.

The differences between McPAT v1.3 and cMcPAT are documented. The
conversion scripts are based on the source code that you mention, however
they are modified and updated so that no errors arise from using the newer
versions of GEM5 or when using simpleCPU models that there are issues
between gem5 outputs and what McPAT requires. Additionally you can find xml
templates for McPAT that can be used when x86 and ARM simpleCPU models are
used in gem5.

Hope it proves useful.

Best,
Andreas

On Wed, Jan 24, 2018 at 4:25 PM, Gus Smith  wrote:

> You're going to have to debug the Python script and make changes yourself.
> I used that same tool and had some issues. In this specific instance, it
> looks like the statLine object (which I assume is a regex object) is not
> finding any matches in the line object (which I assume is a string). Thus,
> None is returned. When group() is called on None, that error is thrown.
>
> I didn't hit this specific issue with the script, but I did "fix" (not
> really a great fix) another issue. Feel free to apply the following patch.
>
> diff --git a/GEM5ToMcPAT.py b/GEM5ToMcPAT.py
> index 8db9674..8be8a32 100755
> --- a/GEM5ToMcPAT.py
> +++ b/GEM5ToMcPAT.py
> @@ -73,7 +73,11 @@ def dumpMcpatOut(outFile):
>  exprs[i] = str(eval(exprs[i]))
>  param.attrib['value'] = ','.join(exprs)
>  else:
> -param.attrib['value'] = str(eval(str(value)))
> +try:
> +param.attrib['value'] = str(eval(str(value)))
> +except:
> +print("error: " + str(value))
> +param.attrib['value'] = "0"
>
>  #replace stats with values from the GEM5 stats file
>  statRe = re.compile(r'stats\.([a-zA-Z0-9_:\.]+)')
>
> ​Good luck!​
>
> Gus Smith
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] multi-gem5

2018-01-12 Thread Andreas Brokalakis
Hi Biruk,

I am not sure exactly what you wish to accomplish. However the COSSIM
approach that I suggested uses gme5 nodes that are connected together
through a network simulator (OMNET++). As such you can do any network
topology you like. There is even a graphical user interface to setup
everything, so the entry effort is not that difficult. :)

You can find the online repository to download everything here:
https://github.com/ntampouratzis/COSSIM

Hope it helps!
Andreas

On Fri, Jan 12, 2018 at 12:43 PM, Biruk Yirga <birukj...@gmail.com> wrote:

> Hi Andeas
> recently I saw your COSSIM presentation on gem5 workshop.
> http://gem5.org/ARM_Research_Summit_2017_Workshop
>
> If I am correct, you solved the interaction of gem5 with the HOST.
> Your work is very giant to me even to understand,
> now I kindly request you ONLY about the gem5 Etherlink.cc communication
> procedure and some details related about it.
> this may shorten my accomplishment date to join my families.
> This is my 5th year out of family.
> thank you in advance.
> Biruk
> UST student
> ETRI
> Daejeon Korea
>
> On Mon, Jul 3, 2017 at 4:08 PM, Andreas Brokalakis <kingm...@gmail.com>
> wrote:
>
>> Hi Biruk,
>>
>> my group is developing a version of gem5 that most probably has all what
>> you want and more. We havent submitted it yet to the official repository,
>> but maybe we can work this out.
>>
>> Our approach uses normal gem5 and integrates it with OMNET++ through HLA.
>> The end result is an integrated package that connects whatever gem5 you
>> want (ARM, X86, etc) with whatever network (or hierarchies of networks) you
>> want. I think in our tests we have managed to make systems that have more
>> than 256 gem5 instances. Simulation is totally distributed. Each gem5 may
>> reside in the same machine or in a machine wherever on the network.
>>
>> I just went through the site of dist-gem5 and there are many similarities
>> in the approach, but I think ours is more generic. I'll need to get my
>> hands dirty with dist-gem5 for a better comparison.
>>
>> You can get some insight for our work if you go to the www.cossim.org
>> project webpage. I should stress though that the tool presented is based on
>> our effort but has even more integration with security tools, power tools
>> etc as in cossim we were targeting CPS systems.
>>
>> Best regards,
>> Andreas
>>
>> On Jul 3, 2017 06:02, "Biruk Yirga" <birukj...@gmail.com> wrote:
>>
>> Thank you, Mohammad,
>> I tried the dist-gem5 before, though it was not successful.
>> I thought multi-gem5 is less complicated than dist-gem5.
>> Could I use dis-gem procedure to run multi-gem5?
>> my intention is to create a networked gem5's that enables to communicate
>> with each other and with the host.
>>  regards
>> Biruk
>>
>> On Mon, Jul 3, 2017 at 12:34 AM, Mohammad Alian <m.alian1...@gmail.com>
>> wrote:
>>
>>> Hi Biruk,
>>>
>>> Please take a look at https://publish.illinois.edu/i
>>> csl-pdgem5/getting-started-with-dist-gem5/
>>>
>>> Best,
>>> Mohammad
>>>
>>> On Fri, Jun 30, 2017 at 1:05 PM, Biruk Yirga <birukj...@gmail.com>
>>> wrote:
>>>
>>>> Hello, all
>>>> I am still looking for how to run multi-gem5 system
>>>> and wants to know the relationship and difference among dist-gem5,
>>>> dg-gem5 and multi-gem5.
>>>> with Best
>>>> Biruk
>>>>
>>>> On Fri, Jun 30, 2017 at 2:26 AM, Biruk Yirga <birukj...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>> multi-gem5 is is a good solution in its approach for my work, but I am
>>>>> not able to run on a full system ARM architecture as usual system, is
>>>>> there any one who knows how to run mult-gem5 to have multiple networked
>>>>> simulations.
>>>>> I took changes made for multi-gem5, but I couldent build it using
>>>>> "~/gem5$ scons build/ARM/gem5.opt "
>>>>> it couldent reach to the changed scripts made for the multi-gem5.  it
>>>>> has stopped.
>>>>> I need any help from the community about multi-gem5
>>>>>
>>>>> --
>>>>>
>>>>> *Biruk Yirga Nidaw **브루크 이르가 느다우*
>>>>>
>>>>>  < bir...@etri.re.kr >, birukj...@gmail.com
>>>>>
>>>>> *ET**R**I*  *한국전자통신연구원*
>>>>>
>>>>> Electronics and Telecommuni

Re: [gem5-users] multi-gem5

2017-07-03 Thread Andreas Brokalakis
Hi Biruk,

my group is developing a version of gem5 that most probably has all what
you want and more. We havent submitted it yet to the official repository,
but maybe we can work this out.

Our approach uses normal gem5 and integrates it with OMNET++ through HLA.
The end result is an integrated package that connects whatever gem5 you
want (ARM, X86, etc) with whatever network (or hierarchies of networks) you
want. I think in our tests we have managed to make systems that have more
than 256 gem5 instances. Simulation is totally distributed. Each gem5 may
reside in the same machine or in a machine wherever on the network.

I just went through the site of dist-gem5 and there are many similarities
in the approach, but I think ours is more generic. I'll need to get my
hands dirty with dist-gem5 for a better comparison.

You can get some insight for our work if you go to the www.cossim.org
project webpage. I should stress though that the tool presented is based on
our effort but has even more integration with security tools, power tools
etc as in cossim we were targeting CPS systems.

Best regards,
Andreas

On Jul 3, 2017 06:02, "Biruk Yirga"  wrote:

Thank you, Mohammad,
I tried the dist-gem5 before, though it was not successful.
I thought multi-gem5 is less complicated than dist-gem5.
Could I use dis-gem procedure to run multi-gem5?
my intention is to create a networked gem5's that enables to communicate
with each other and with the host.
 regards
Biruk

On Mon, Jul 3, 2017 at 12:34 AM, Mohammad Alian 
wrote:

> Hi Biruk,
>
> Please take a look at https://publish.illinois.edu/i
> csl-pdgem5/getting-started-with-dist-gem5/
>
> Best,
> Mohammad
>
> On Fri, Jun 30, 2017 at 1:05 PM, Biruk Yirga  wrote:
>
>> Hello, all
>> I am still looking for how to run multi-gem5 system
>> and wants to know the relationship and difference among dist-gem5,
>> dg-gem5 and multi-gem5.
>> with Best
>> Biruk
>>
>> On Fri, Jun 30, 2017 at 2:26 AM, Biruk Yirga  wrote:
>>
>>> Hi all,
>>> multi-gem5 is is a good solution in its approach for my work, but I am
>>> not able to run on a full system ARM architecture as usual system, is
>>> there any one who knows how to run mult-gem5 to have multiple networked
>>> simulations.
>>> I took changes made for multi-gem5, but I couldent build it using
>>> "~/gem5$ scons build/ARM/gem5.opt "
>>> it couldent reach to the changed scripts made for the multi-gem5.  it
>>> has stopped.
>>> I need any help from the community about multi-gem5
>>>
>>> --
>>>
>>> *Biruk Yirga Nidaw **브루크 이르가 느다우*
>>>
>>>  < bir...@etri.re.kr >, birukj...@gmail.com
>>>
>>> *ET**R**I*  *한국전자통신연구원*
>>>
>>> Electronics and Telecommunications Research Institute
>>>
>>> Basic Research Center for Software, Building 07-floor 5 office No. 548
>>>
>>> 218, Gajeong-ro, Yuseong-gu, Daejeon, 305-700, KOREA *Tel:
>>> 010-3133-3008*
>>>
>>
>>
>>
>> --
>>
>> *Biruk Yirga Nidaw **브루크 이르가 느다우*
>>
>>  < bir...@etri.re.kr >, birukj...@gmail.com
>>
>> *ET**R**I*  *한국전자통신연구원*
>>
>> Electronics and Telecommunications Research Institute
>>
>> Basic Research Center for Software, Building 07-floor 5 office No. 548
>>
>> 218, Gajeong-ro, Yuseong-gu, Daejeon, 305-700, KOREA *Tel: 010-3133-3008*
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
>
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 

*Biruk Yirga Nidaw **브루크 이르가 느다우*

 < bir...@etri.re.kr >, birukj...@gmail.com

*ET**R**I*  *한국전자통신연구원*

Electronics and Telecommunications Research Institute

Basic Research Center for Software, Building 07-floor 5 office No. 548

218, Gajeong-ro, Yuseong-gu, Daejeon, 305-700, KOREA *Tel: 010-3133-3008*

___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] McPat in ext folder

2017-02-23 Thread Andreas Brokalakis
Hi,

shouldn't it be the other way around? Try to integrate it better with GEM5?
If McPAT is not ideal, then maybe some other power/energy estimator in its
place?

Best regards,
Andreas

On Thu, Feb 23, 2017 at 10:57 AM, Andreas Hansson 
wrote:

> Hi all,
>
> I would suggest we remove McPat as it is outdated and simply sitting there
> without any connection to gem5.
>
> Andreas
>
> From: gem5-users  on behalf of "Moussa,
> Ayman" 
> Reply-To: gem5 users mailing list 
> Date: Wednesday, 22 February 2017 at 15:36
> To: gem5 users mailing list 
> Subject: [gem5-users] McPat in ext folder
>
> I noticed that there McPat was in the ext folder and I ran the make file
> but when I tried to run McPat with one of the default xml files but it just
> segementation faults. Is it broken ?
> 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
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users