Hi,
On 19 July 2015 at 11:27, Leo Yan leo.yan@linaro.org wrote:
On Tue, Jul 14, 2015 at 12:46:56PM +0530, Amit Kucheria wrote:
Replacing the list address with one specific for scheduler tools.
Thanks, Amit. Could someone help answer below questions?
Thanks, Leo Yan
On Tue, Jul 14, 2015 at 12:27 PM, Leo Yan leo.yan@linaro.org wrote:
Hi all,
I saw the energy model related patches have been posted [1], so i'd like to ask some questions for the tool rt-app:
I downloaded rt-app from the address [2];
For the case "rt-app [4]: mp3 playback use-case model", is it the same one with doc/examples/mp3-long.json?
Yes, that's should be the one that has been used by Morten
- For the case "rt-app [4]: 5 ~[6,13,19,25,31,38,44,50]% periodic (2ms) tasks for 30s", i have not seen there have .json scripts for these cases; so could you help point where i can get related scripts?
In order to create the different use cases described above, you can either create the json file from scratch or you can use the tune_json.py script As an example, ./doc/tune_json.py -f doc/examples/template.json --period 2000 --instance 5 --load 6 will create a workload.json file with 5 tasks with a load of 6% on a period of 2000us
Then, you will have to update manually the duration which is 6 seconds by default and tune_json.py can't update it for now... We are going to add this option
i read the case doc/examples/tutorial/example3.json, its comments say "starts with a 10% load during 1sec (100 loops) and then increase 90% for the next sec (100 loops)".
it's confused me due i cannot calculate the same workload with the comment clarified. For the phase "light", it only specifies the flow as run 1ms + timer 30ms, so the workload only have 1/30 = 3.33%; for the phase "heavy", it will get workload = 4/30 = 13.33%;
Could you help confirm if i wrongly understand this case?
It looks like the comments are no more aligned with the events of the json file. the run events should be 3000 for the light phase and 27000 for the heavy phase. I'm going to fix that
Regards, Vincent
{ /* * Simple use case which starts with a 10% load during 1sec (100 loops) * and then increase to 90% for the next sec (100 loops) */ "tasks" : { "thread0" : { "instance" : 12, "loop" : 1, "phases" : { "light" : { "loop" : 10, "run" : 1000, "timer" : { "ref" : "unique", "period" : 30000 } }, "heavy" : { "loop" : 10, "run" : 4000, "timer" : { "ref" : "unique", "period" : 30000 } } } } }, "global" : { "logdir" : "./", "log_basename" : "rt-app3", "ftrace" : true, "gnuplot" : true } }
[1] http://thread.gmane.org/gmane.linux.power-management.general/62093 [2] https://github.com/scheduler-tools/rt-app.git exp/eas_v5
Thanks, Leo Yan
Sched-tools mailing list Sched-tools@lists.linaro.org https://lists.linaro.org/mailman/listinfo/sched-tools