HI??Stephan??
I think I ??m not speak this problem clearly
 I have configured gem5 as per-core DVFS in the 2-core platform. Orignally, I 
want to the two cores operating at different frequencies, e.g., one in 1GHz and 
the other in 750MHz.After running the benckmark ValStreamScale ,


command line: ./build/ARM/gem5.opt --debug-flags=DVFS,EnergyCtrl 
--debug-file=dfvs_debug.log --stats-file=ValStreamScale7505.2percore-stats.txt 
configs/example/fs.py -b ValStreamScale --cpu-type=AtomicSimpleCPU -n 2 
--machine-type=VExpress_EMM 
--kernel=/home/jinsong/gem5/linux-linaro-tracking-gem5/vmlinux 
--dtb-filename=/home/jinsong/gem5/linux-linaro-tracking-gem5/arch/arm/boot/dts/vexpress-v2p-ca15-tc1-gem5_dvfs_per_core_2cpus.dtb
 --disk-image=/home/jinsong/gem5/dist/disks/arm-ubuntu-natty-headless.img 
'--cpu-clock=[1 GHz,750 MHz,500 MHz]'



the statistical file shows that  there are actual two clock domains.
system.cpu_voltage_domain.voltage                   1                       # 
Voltage in Volts
system.cpu_clk_domain0.clock                     1000                       # 
Clock period in ticks
system.cpu_clk_domain1.clock                     1000                       # 
Clock period in ticks



 However, I cannot assign different clock frequency to them separately


system.cpu_clk_domain0.clock                     1000                       # 
Clock period in ticks
system.cpu_clk_domain1.clock                     1000                       # 
Clock period in ticks



I have tried to change the cpu clock by m5term,in this  fields 
/sys/devices/system/cpu/cpufreq/ ,but it does not work.


I have changed fs.py by following this link   
https://www.mail-archive.com/[email protected]/msg11068.html


So can you tell me how can I address this problem? 






thanks for any help!


Bing Liang


 



------------------ ???????? ------------------
??????: "Stephan Diestelhorst";<[email protected]>;
????????: 2015??6??2??(??????) ????3:58
??????: "gem5-users"<[email protected]>; 

????: Re: [gem5-users]?????? Running benchmarks in gem5 with DVFS



I am not sure I understand the problem.  If you have DVFS working (see
the link to the wiki) including per-core DVFS (see the earlier comments
regarding socket_id), then Linux should automatically adjust the CPU
frequency, if you select the right governor (for example "interactive"
or "ondemand").

That means that you then simply run your application and Linux will do
things automatically.  If you want to control DVFS from the application
directly, then you need to tell Linux to do so, for example have the
application write to the right fields in
/sys/devices/system/cpu/cpufreq/*

--
Sincerely,
  Stephan

Stephan Diestelhorst
Staff Engineer,
ARM Research - Systems
+44 (0)1223 405662

On Monday 01 June 2015 15:43:26 ?????G?? wrote:
> thank you very much for your reply!
> I want to run a benchmark in the fs mode,but I don't konw how to add DVFS to
> each core. Could you help me?
>
> ------------------ ???????? ------------------
> ??????: "Stephan Diestelhorst";<[email protected]>;
> ????????: 2015??6??1??(??????) ????7:05
> ??????: "gem5-users"<[email protected]>;
> ????: Re: [gem5-users] Running benchmarks in gem5 with DVFS
>
> Hi Bing Liang,
>   I am not sure what you mean with "finished the DVFS experiments".  If
> you followed the tutorial, then now is the time to add some workloads to
> the disk image and start them and see what happens to DVFS.
>
> I suppose this depends on which workloads you want to run.
>
> --
> Sincerely,
>   Stephan
>
> Stephan Diestelhorst
> Staff Engineer,
> ARM Research - Systems
> +44 (0)1223 405662
>
> On Monday 01 June 2015 09:38:41 ?????G?? wrote:
> > Hello ??everyone??
> >
> >   I want to run a benchmark  to  evaluate DVFS in the gem5 fs mode. I have
> >
> > finished the  DVFS experiments.Now,I want to run a benchmark under it.What
> > should I do next?Which command should I use?
> >
> > thanks for any help!
> >
> > Bing Liang
>
> -- 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.
>
> ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
> Registered in England & Wales, Company No:  2557590 ARM Holdings plc,
> Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in
> England & Wales, Company No:  2548782
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users


-- 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.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No:  2548782

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

Reply via email to