[gem5-users] DVFS in vanilla linux kernels

2021-10-21 Thread Carlos Andres Lara Niño via gem5-users
Hi all, I've been toying with the DVFS example in https://www.gem5.org/documentation/learning_gem5/part2/arm_dvfs_support/ with a v21 distro of GEM5. I got it working despite some small version variations... This is the command I use to launch the simulation: ./build/ARM/gem5.opt \

[gem5-users] Dvfs-gem5

2020-05-20 Thread faridehziaee via gem5-users
Hi,I'm working on gem5 .my question1) I could run mcpat but I didn't know how to compute power and performance from resultmy question2)I need to run DVFS on full-system-arm . I fount this site"http://www.m5sim.org/Running_gem5"and this  paprer"Introducing DVFS-Management in a

[gem5-users] DVFS-GEm5

2020-05-20 Thread FARIDEH ZIAEE via gem5-users
Hi, I'm working on gem5 . my question1) I could run mcpat but I didn't know how to compute power and performance from result my question2) I need to run DVFS on full-system-arm . I fount this site" http://www.m5sim.org/Running_gem5"and this paprer"Introducing DVFS-Management in a Full-System

Re: [gem5-users] DVFS

2019-02-28 Thread Serhat Gesoglu
of nevethetha ganesan [nevethetha2...@gmail.com] Sent: 26 February 2019 05:36 To: gem5-users@gem5.org Subject: [gem5-users] DVFS Hello, I tried to enable dvfs in gem5 simulator. I defined four voltages for four clusters. In the config.ini file I am getting the output as dvfs enabled. But in th

[gem5-users] DVFS

2019-02-25 Thread nevethetha ganesan
Hello, I tried to enable dvfs in gem5 simulator. I defined four voltages for four clusters. In the config.ini file I am getting the output as dvfs enabled. But in the clockDomain attribute in the config.ini file i m getting the output as clock = 1 1 3 4 i can't understand what it means? Kindly

[gem5-users] DVFS support in Garnet

2017-02-02 Thread Monobrata Debnath
Hello Gem5 Team, I need to implement DVFS support in Garnet. Can anyone suggest a possible way? Thanks, Monobrata ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-17 Thread Nimish Girdhar
...@tamu.edu Reply-To: gem5 users mailing list gem5-users@gem5.org Date: Wednesday, 15 April 2015 20:04 To: gem5 users mailing list gem5-users@gem5.org Subject: Re: [gem5-users] DVFS with self defined policies on gem5 Okay.Actually I am making the decision of what frequency which core has

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-16 Thread Nimish Girdhar
To: gem5 users mailing list gem5-users@gem5.org Subject: Re: [gem5-users] DVFS with self defined policies on gem5 Okay.Actually I am making the decision of what frequency which core has to run, inside the cpu... So I guess I have to somehow communicate this to the dvfs handler which doesn't

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-16 Thread Nimish Girdhar
April 2015 20:04 To: gem5 users mailing list gem5-users@gem5.org Subject: Re: [gem5-users] DVFS with self defined policies on gem5 Okay.Actually I am making the decision of what frequency which core has to run, inside the cpu... So I guess I have to somehow communicate this to the dvfs

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-16 Thread Stephan Diestelhorst
...@tamu.edumailto:nimi...@tamu.edu Reply-To: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org Date: Wednesday, 15 April 2015 20:04 To: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org Subject: Re: [gem5-users] DVFS with self defined policies on gem5 Okay

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-15 Thread Nimish Girdhar
Thanks Yahia for sharing that. Can you explain a bit more as I don't have much experience with that. Let's say I have some algo to decide the cpu freq in gem5 SRC/CPU/O3/commit_impl.hh... How can I set the file you mentioned to that freq from here?? Thanks, On Apr 15, 2015 2:53 AM, Yahia

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-15 Thread Yahia Benmoussa
Hello, Setting the required frequency in /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed should not be in gem5 sources files. It can be done in a program (written in C, shell script or any other language) and running under Linux in FS mode. Regards Yahia 2015-04-15 16:55 GMT+02:00 Nimish

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-15 Thread Nimish Girdhar
Okay.Actually I am making the decision of what frequency which core has to run, inside the cpu... So I guess I have to somehow communicate this to the dvfs handler which doesn't look so clean Is there any other way around or hack anybody has done?? On Apr 15, 2015 10:14 AM, Yahia

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-15 Thread Andreas Hansson
-users] DVFS with self defined policies on gem5 Okay.Actually I am making the decision of what frequency which core has to run, inside the cpu... So I guess I have to somehow communicate this to the dvfs handler which doesn't look so clean Is there any other way around or hack anybody

Re: [gem5-users] DVFS with self defined policies on gem5

2015-04-15 Thread Yahia Benmoussa
Hello, You have to enable userspace governor in your kernel then you can scale the CPU frequency by setting /sys/devices/system/cpu/cpu*/cpufreq/scaling_setspeed file. It should work. Regards. Yahia 2015-04-15 4:00 GMT+02:00 Nimish Girdhar nimi...@tamu.edu: Hello all, I am working on a

[gem5-users] DVFS with self defined policies on gem5

2015-04-14 Thread Nimish Girdhar
Hello all, I am working on a project where I have to use DVFS to change the frequency of cores based on my evaluation of some counters that I inserted in the gem5 o3 cpu src code. I followed the guidelines given on http://www.m5sim.org/Running_gem5#Experimenting_with_DVFS . But with these steps,

Re: [gem5-users] DVFS enabled with ARM detailed CPU

2015-04-06 Thread Stephan Diestelhorst
Hi Giorgos, Am Samstag, 4. April 2015, 20:18:26 schrieb Giorgos Kopanas: I am trying to make Gem5 work with the DVFS as explained in the website. While running in Atomic Simple it is working as intended but when I change the cpu type to arm_detailed the simulation crushes during boot. The

Re: [gem5-users] DVFS enabled with ARM detailed CPU

2015-04-06 Thread Giorgos Kopanas
Hello, I was running through the developing branch. The stable version works. Thank you, Giorgos 2015-04-06 16:46 GMT+03:00 Stephan Diestelhorst stephan.diestelho...@arm.com: Hi Giorgos, Am Samstag, 4. April 2015, 20:18:26 schrieb Giorgos Kopanas: I am trying to make Gem5 work with the

Re: [gem5-users] DVFS enabled with ARM detailed CPU

2015-04-06 Thread Stephan Diestelhorst
Hi On Monday 06 April 2015 15:55:01 Giorgos Kopanas wrote: I was running through the developing branch. The stable version works. Great news; the volatility regarding uncacheable in the main branch should hopefully settle soon (with the patches mentioned). Thanks, Stephan -- IMPORTANT

[gem5-users] DVFS enabled with ARM detailed CPU

2015-04-04 Thread Giorgos Kopanas
Dear All, I am trying to make Gem5 work with the DVFS as explained in the website. While running in Atomic Simple it is working as intended but when I change the cpu type to arm_detailed the simulation crushes during boot. The message that is shown is the following: gem5.opt:

[gem5-users] DVFS in SE mode

2015-01-30 Thread Bigel Hadi via gem5-users
Dear users I am using SE mode to simulate my project. There are some reasons that I could not use FS simulation mode. Is there a way to run DVFS during the simulation time? I searched the mailing list, but I could not find any solution. Thanks, Hadi

Re: [gem5-users] DVFS does not seem to work on ARM full system simulation

2014-12-25 Thread Guru Prasad via gem5-users
Hi Rahul, I followed the instructions given here http://www.m5sim.org/Running_gem5#Experimenting_with_DVFS, and was able to run and test DVFS. You may also want to read a similar question http://comments.gmane.org/gmane.comp.emulators.m5.users/17881 that I had posed earlier. Hope this helps.

[gem5-users] DVFS does not seem to work on ARM full system simulation

2014-12-24 Thread rahul shrivastava via gem5-users
Hi, I performing 4 core ARM full system simulation to test dvfs functionality. However, when I login through m5term and check for cpufreq governor, the directory doesn't exist. Here is the output for cpu3 *root@gem5sim:/sys/devices/system/cpu/cpu3# lsonline subsystem topology uevent*

[gem5-users] DVFS and energy controllers

2014-12-05 Thread Guru Prasad via gem5-users
Hi, I followed the sample code provided in commit 6bbb7ae309 to set up DVFS. This got rid of the warning in Gem5 warn: Existing EnergyCtrl, but no enabled DVFSHandler found. However, the kernel still reports saying [0.366079] gem5_energy_ctrl_mc: gem5_mc_init: No energy controller found Is

Re: [gem5-users] DVFS and energy controllers

2014-12-05 Thread Guru Prasad via gem5-users
Just to follow up, I modified config/example/fs.py to contain the following test_sys.cpu_clk_domain = SrcClockDomain() test_sys.cpu_clk_domain.clock = ['1GHz','700MHz','400MHz','230MHz'] test_sys.cpu_clk_domain.domain_id = 0 test_sys.cpu_clk_domain.voltage_domain =

Re: [gem5-users] DVFS and energy controllers

2014-12-05 Thread Stephan Diestelhorst via gem5-users
Hi Guru, On Friday 05 December 2014 16:42:52 Guru Prasad via gem5-users wrote: I followed the sample code provided in commit 6bbb7ae309 to set up DVFS. Great! This got rid of the warning in Gem5 warn: Existing EnergyCtrl, but no enabled DVFSHandler found. However, the kernel still reports

Re: [gem5-users] DVFS and energy controllers

2014-12-05 Thread Guru Prasad via gem5-users
Stephan, Thanks. It works perfectly. Apologize for missing it in the documentation. Regards Guru On Fri, Dec 5, 2014 at 11:55 AM, Stephan Diestelhorst via gem5-users gem5-users@gem5.org wrote: Hi Guru, On Friday 05 December 2014 16:42:52 Guru Prasad via gem5-users wrote: I followed

Re: [gem5-users] DVFS in x86 arch | A valid RSDP was not found

2014-09-28 Thread Lokesh Jindal via gem5-users
On 09/18/2014 12:02 PM, Lokesh Jindal wrote: RSDP PTR in x86 FS simulation : A valid RSDP was not found Hello, I am very new to gem5. I am trying to run x86 FS simulation with a linux kernel(v2.6.28.4)compiled with ACPI enabled. I am seeing the following error: /ACPI Error (tbxfroot-0219): A

Re: [gem5-users] DVFS in Quiesce states

2014-03-24 Thread Stephan Diestelhorst
Srini, kudos for making per-core DVFS work! A quick head¹s up: we are also working on (per-core) DVFS support and are just polishing those patches for consumption, should hopefully have them ready within a week or two. On the main question, I have no hard opinion, but wonder what the reasoning

Re: [gem5-users] DVFS in Quiesce states

2014-03-24 Thread Srinivasan Narayanamoorthy
Hi Stephan, Thanks for the response. I think I understand what you are saying about DVFS, but for switching cpu models, I thought it is a must to wake the cpu (from quiesce()) since a drain needs to be done. Please let me know if I am missing something here. Thanks Srini On 03/24/14,

[gem5-users] DVFS in Quiesce states

2014-03-23 Thread Srinivasan Narayanamoorthy
Hi all, I have implemented a per-core DVFS in gem5, mimicking an on-demand governer. My question here is if the cpu is in quiesce state(TC is suspended) while DVFS routine is scheduled, should I wakeup() the suspended TC?. Similarly while doing a drain and switching to a different cpu model,

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] DVFS on gem5

2012-02-15 Thread Patrick
Xiao, One of my colleagues at Notre Dame, Sheng Li, was working on a tool called McPAT for power analysis. I believe that it has been shown to work with gem5. This might be useful for you. Last I heard, Li and McPAT had moved to HP: http://www.hpl.hp.com/research/mcpat/. Patrick La Fratta On

Re: [gem5-users] DVFS on gem5

2012-02-15 Thread Simone Corbetta
As Patrick said, to enable DVFS with GEM5 simulation, you have to plug a power model. McPAT can be used to generate power estimates according to the statistics collected from a cycle-accurate simulation with GEM5 (you need also to translate GEM5 output statistics to XML format as required by