On 15 April 2015 at 10:55, Xunlei Pang xlpang@126.com wrote:
From: Xunlei Pang pang.xunlei@linaro.org
Add new spreading-tasks.json in doc/examples.
It create 2 threads made of a 1st phase with small load (10% as an example) followed by a phase with a large load (70% as an example). Each phase lasts 6sec to let system stabilize.
Signed-off-by: Xunlei Pang pang.xunlei@linaro.org
doc/examples/spreading-tasks.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 doc/examples/spreading-tasks.json
diff --git a/doc/examples/spreading-tasks.json b/doc/examples/spreading-tasks.json new file mode 100644 index 0000000..844db44 --- /dev/null +++ b/doc/examples/spreading-tasks.json @@ -0,0 +1,26 @@ +{
"tasks" : {
"thread" : {
"instance" : 2,
"loop" : -1,
"phases" : {
"light" : {
"loop" : 600,
"run" : 1000,
"timer" : { "ref" : "unique", "period" : 10000 }
},
"heavy" : {
"loop" : 600,
"run" : 7000,
"timer" : { "ref" : "unique", "period" : 10000 }
}
}
}
},
"global" : {
"duration" : 60,
"default_policy" : "SCHED_OTHER",
"calibration" : "CPU0"
}
+}
Acked-by: Vincent Guittot vincent.guittot@linaro.org
-- 1.9.1