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,