[PATCH v2 0/2] Small tasks workload

2014-11-19 Thread pi-cheng.chen
This set adds a script to tune parameters in JSON files and fixes all trailing commas in example JSON files. changes v1 to v2: merge example6.json into example2.json pi-cheng.chen (2): Add a script to tune parameters in json file. Fix all trailing commas in /doc/examples/* doc/examples/brow

[PATCH v2 1/2] rt-app: Add a script to tune parameters in json file

2014-11-19 Thread pi-cheng.chen
This scripts strips all comments in the input JSON file, modifies the parameters according to commnad line arguments, and write the content to a new JSON file. Signed-off-by: Pi-Cheng Chen --- doc/tune_json.py | 138 +++ 1 file changed, 138 ins

[PATCH v2 2/2] Fix all trailing commas in /doc/examples/*

2014-11-19 Thread pi-cheng.chen
Add key "instance" in example2.json so that the file is flexible to generate workload with multiple small tasks. Fix all trailing commas in /doc/examples/* so that those JSON file could be tuned by tune_json.py script. A trailing comma in mp3.json needs to be removed manually since it's added by w

Re: [PATCH 2/3] rt-app: Add a basic json file for small task workload

2014-11-19 Thread Pi-Cheng Chen
On 19 November 2014 16:32, Vincent Guittot wrote: > On 12 November 2014 02:49, pi-cheng.chen wrote: >> A JSON file to describe a workload with several 10% loading small tasks. > Hi Pi-Cheng, > > Your example6.json is quite similar to example 2. Please add an > "instance" : 1, in example2.json ins

Re: [PATCH 2/3] rt-app: Add a basic json file for small task workload

2014-11-19 Thread Vincent Guittot
On 12 November 2014 02:49, pi-cheng.chen wrote: > A JSON file to describe a workload with several 10% loading small tasks. Hi Pi-Cheng, Your example6.json is quite similar to example 2. Please add an "instance" : 1, in example2.json instead of creating a new example Regards, Vincent > > Signed-o