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

2015-03-10 Thread Pi-Cheng Chen
On Thu, Mar 5, 2015 at 7:20 PM, Amit Kucheria wrote: > On Thu, Mar 5, 2015 at 3:49 PM, Vincent Guittot > wrote: >> On 19 November 2014 at 14:14, pi-cheng.chen wrote: >>> + >>> +if __name__ == '__main__': >>> +tmp = 'tmp.json' >> >> your tmp file should be a bit more unique than tmp.json. I c

Re: [PATCH] rt-app: Add IO-bounded and memory-bounded events

2014-12-03 Thread Pi-Cheng Chen
On 3 December 2014 at 17:24, Ivan T. Ivanov wrote: > > On Wed, 2014-12-03 at 15:08 +0800, Pi-Cheng Chen wrote: >> On 2 December 2014 at 19:04, Vincent Guittot guit...@linaro.org> wrote: >> > On 2 December 2014 at 08:21, pi-cheng.chen c...@linaro.org> wrote: >>

Re: [PATCH] rt-app: Add IO-bounded and memory-bounded events

2014-12-02 Thread Pi-Cheng Chen
On 2 December 2014 at 19:04, Vincent Guittot wrote: > On 2 December 2014 at 08:21, pi-cheng.chen wrote: >> Add 2 new kind of event for running a memory or a io bounded load. >> "mem" name for a load is memory bounded, and "iorun" name for a load is io >> bounded. The default file to be written to

Re: [PATCH] rt-app: Add IO-bounded and memory-bounded events

2014-12-02 Thread Pi-Cheng Chen
On 2 December 2014 at 19:02, Ivan T. Ivanov wrote: > > On Tue, 2014-12-02 at 15:21 +0800, pi-cheng.chen wrote: >> Add 2 new kind of event for running a memory or a io bounded load. >> "mem" name for a load is memory bounded, and "iorun" name for a load is io >> bounded. The default file to be writ

Re: [PATCH] Add IO-bounded and memory-bounded events

2014-12-01 Thread Pi-Cheng Chen
On 2 December 2014 at 15:09, Viresh Kumar wrote: > On 2 December 2014 at 12:34, pi-cheng.chen wrote: >> Add 2 new kind of event for running a memory or a io bounded load. >> "mem" name for a load is memory bounded, and "iorun" name for a load is io >> bounded. The default file to be written to cr

Re: [PATCH] idlestat: Replace asserts with proper error handlings

2014-11-26 Thread Pi-Cheng Chen
a way to terminate execution in > case input data processing fails. This leaves the user in the black > regarding the reason why the tool terminated (and possibly dumped a > core file). > Replace the abnormal termination with displaying error message and > terminating th

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: [RFC] rt-app: add script to generate small task workloads

2014-11-09 Thread Pi-Cheng Chen
On 6 November 2014 16:14, Vincent Guittot wrote: > On 22 October 2014 03:39, pi-cheng.chen wrote: >> Some examples to use the script to generate small tasks workloads: >> 1. to generate a workload with 4 threads, 10% load and 30ms period >> $ ./small_task_gen -t 4 -l 10 -p 3 > > The period unit s

Re: [PATCH v3] idlestat: Allocate struct cpufreq_pstate dynamically

2014-10-21 Thread Pi-Cheng Chen
ng >>>> intel_pstate >>>> driver. >>>> >>>> Changes v2 to v3: >>>> Initialize struct cpufreq_pstates with initial P-state of all CPUs and >>>> beginning timestamp before trace acquisition and close all P-states with >>

Re: [PATCH v2] idlestat: Allocate struct cpufreq_pstate dynamically

2014-09-23 Thread Pi-Cheng Chen
On 10 September 2014 21:17, Daniel Lezcano wrote: > On 09/10/2014 03:08 PM, Pi-Cheng Chen wrote: >> >> On 10 September 2014 17:15, Daniel Lezcano >> wrote: >>> >>> On 09/10/2014 09:33 AM, pi-cheng.chen wrote: >>>> >>>> >>>

Re: [PATCH v2] idlestat: Allocate struct cpufreq_pstate dynamically

2014-09-10 Thread Pi-Cheng Chen
ruct cpufreq_pstate was not allocated. >> >> Allocate struct cpufreq_pstate dynamically when getting frequency >> information from trace file instead of parsing available frequencies >> from sysfs >> >> Changes v1 to v2: >> Sort the cpufreq_pstate list when parsing eve

Re: [PATCH idlestat] Add -o option to save output report to a file

2014-08-20 Thread Pi-Cheng Chen
On 21 August 2014 09:43, Daniel Lezcano wrote: > On 08/19/2014 09:22 AM, pi-cheng.chen wrote: >> >> Currently the serial terminal connected to the boards running idlestat are >> restricted to be at least 80 characters wide to output the report. >> Otherwise >> idlestat quits with message "The term