Re: [gem5-users] DVFS on gem5

2012-02-17 Thread Chun Zhang
Hi, In my project I need to dump out the power profile (with time) for some benchmarks. In that case, I think I need to dump out the GEM5 statistics to McPAT for power calculation every a few cycles. As I'm very new to GEM5, could anybody let me know where to start for dumping GEM5 statistics

Re: [gem5-users] DVFS on gem5

2012-02-17 Thread Simone Corbetta
I think you should make modifications to the Python script that makes GEM5 execute, such that every N cycles you dump statistics to a new file, reset statistics and get back to execution. Probably some hints can be found in the configs/example directory under GEM5, which contain execution scripts.

Re: [gem5-users] DVFS on gem5

2012-02-17 Thread Chun Zhang
Hi all, I've checked the scripts under configs/example and configs/common. However, I didn't find the option or related functions to dump the statistics every N cycles. I do try the checkpoints option, but the output is not the same as in m5out/stats.txt. Could anybody let me know how I can dump

Re: [gem5-users] name 'Port' is not defined after update

2012-02-17 Thread Mahmood Naderan
Seems that Port in cpu_side = Port(Port on side closer to CPU) mem_side = Port(Port on side closer to MEM) has been changed to : cpu_side = SlavePort(Port on side closer to CPU) mem_side = MasterPort(Port on side closer to MEM) now fixed On 2/16/12, Mahmood Naderan mahmood...@gmail.com

[gem5-users] What is parent in Param.System

2012-02-17 Thread Mahmood Naderan
Hi, Another problem fter updating to the latest revision: Using saved variables file /home/mahmood/gem5/build/variables/X86_SE NameError: name 'Parent' is not defined: File /home/mahmood/gem5/SConstruct, line 1008: exports = 'env') File /usr/lib/scons/SCons/Script/SConscript.py, line

[gem5-users] num_cpus not available in BaseCache.py

2012-02-17 Thread Mahmood Naderan
Hi, What happened to this line: system.l2.num_cpus = options.num_cpus seem sthat BaseCache.py has no longer num_cpus field. So what does this mean? For a cmp simulation what is the resolution? -- // Naderan *Mahmood; ___ gem5-users mailing list

[gem5-users] (no subject)

2012-02-17 Thread Meeran Mohideeen
Hi... I am trying to run an ALPHA CMP simulation with two cores with ruby memory component When i try to run the simulation using ./build/ALPHA_FS/gem5.opt configs/example/ruby_fs.py -n 2 --l1i_size=16kB --l1d_size=16kB --l2_size=2MB --num-l2caches=1 --topology=Mesh --timing

Re: [gem5-users] num_cpus not available in BaseCache.py

2012-02-17 Thread Mahmood Naderan
in the previous versions, num_cpus shows how many cores share that cache (in my first post, L2). If it is no longer available, does that mean, L2 is shared among all cores? No need to explicitly specify that? On 2/17/12, Nilay Vaish ni...@cs.wisc.edu wrote: Because it is not available any

Re: [gem5-users] (no subject)

2012-02-17 Thread Gabriel Michael Black
You should really put a subject on this so people who would be interested will see it when scanning through their mail. This sounds like a bug in one of the simulation scripts. I vaguely remember a recent change where there was a redundant copy of the system parameter being used with one

Re: [gem5-users] ISA style question: bitfields.isa vs. types.hh

2012-02-17 Thread Gabriel Michael Black
The Alpha way of doing things was first and things which are patterned off of it do things that way. The other way (using fields defined on ExtMachInst in types.hh) was introduced for x86, I believe, because you can't readily take bitfields from a structure using shifts and masks. I prefer

[gem5-users] Trouble running X86 in FS mode

2012-02-17 Thread Ankita (Garg) Goel
Hi, I have been using X86_FS for a while now. Just upgraded to the new version that has combined FS and SE mode. However, now I am unable to boot into Linux. The command I used is: # build/X86/gem5.opt configs/example/fs.py --cpu-type=[detailed|timing] --kernel=x86_64-vmlinux-2.6.28.4-smp

Re: [gem5-users] Trouble running X86 in FS mode

2012-02-17 Thread Gabriel Michael Black
I'm not aware of anybody else having this problem. Does it hang, return an error from gem5, return an error from the kernel on the terminal, or? Did you try building from scratch by deleting the entire build directory? Sometimes stray files can survive longer than they're supposed to and

[gem5-users] Run multiple workloads on the same cpu

2012-02-17 Thread Heba Saadeldeen
Hi, I am trying to run multiple workloads on the same cpu. But I got that error: 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001 panic: same statistic name used twice!

Re: [gem5-users] (no subject)

2012-02-17 Thread Meeran Mohideeen
I checked all the .py files within the src/mem/ruby folder... But i dont see any flaw in them (upto my knowledege)... I will try checking the cc files also... [Thank you for mentioning my mistake... i actually forgot and will see to it the subject is included always] On Sat, Feb 18, 2012 at 3:30