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 冰兲轌地 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";<stephan.diestelho...@arm.com>; > 发送时间: 2015年6月1日(星期一) 晚上7:05 > 收件人: "gem5-users"<gem5-users@gem5.org>; > 主题: 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 冰兲轌地 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 > gem5-users@gem5.org > 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 gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users