On Tue, Jul 28, 2015 at 10:11:26AM +0200, Vincent Guittot wrote:
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:
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
For more precious, the command should be: ./doc/tune_json.py -f doc/examples/spreading-tasks.json --period 2000 --instance 5 --load 6 --duration 20
We can use spreading-tasks.json as template, right? :)
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
Thanks for confirmation.
Thanks, Leo Yan