Re: Issues with ondemand governor

2010-11-29 Thread David C Niemi
Dave Jones wrote: > On Mon, Nov 29, 2010 at 10:38:52AM -0500, Nicolas Pitre wrote: > > On Mon, 29 Nov 2010, David C Niemi wrote: > > > > > I certainly have no objections to it going into the Linaro tree, though > > > I was hoping to get it into the main kernel tree too. > > > > What might p

Re: Issues with ondemand governor

2010-11-29 Thread David C Niemi
I certainly have no objections to it going into the Linaro tree, though I was hoping to get it into the main kernel tree too. DCN Christian Robottom Reis wrote: > On Mon, Nov 22, 2010 at 11:09:03AM -0500, David C Niemi wrote: > >> The general problem here is that the ondemand governor is aimed

Re: Issues with ondemand governor

2010-11-29 Thread Dave Jones
On Mon, Nov 29, 2010 at 10:38:52AM -0500, Nicolas Pitre wrote: > On Mon, 29 Nov 2010, David C Niemi wrote: > > > I certainly have no objections to it going into the Linaro tree, though > > I was hoping to get it into the main kernel tree too. > > What might prevent it from going into mainli

Re: Issues with ondemand governor

2010-11-29 Thread Nicolas Pitre
On Mon, 29 Nov 2010, David C Niemi wrote: > I certainly have no objections to it going into the Linaro tree, though > I was hoping to get it into the main kernel tree too. What might prevent it from going into mainline at the moment, if anything? > Christian Robottom Reis wrote: > > On Mon, Nov

Re: Issues with ondemand governor

2010-11-29 Thread Vishwanath Sripathy
Nicolas, Can you pls merge this patch into Linaro tree? Vishwa On Sat, Nov 27, 2010 at 4:08 AM, Christian Robottom Reis wrote: > On Mon, Nov 22, 2010 at 11:09:03AM -0500, David C Niemi wrote: >> The general problem here is that the ondemand governor is aimed more at >> power savings than perform

Re: Issues with ondemand governor

2010-11-26 Thread Christian Robottom Reis
On Mon, Nov 22, 2010 at 11:09:03AM -0500, David C Niemi wrote: > The general problem here is that the ondemand governor is aimed more at > power savings than performance. In cases where the ondemand governor > performs worse than the performance governor, the "sampling_down_factor" > tunable is of

Re: Issues with ondemand governor

2010-11-25 Thread Thomas Renninger
On Thursday 25 November 2010 13:05:49 Vishwanath Sripathy wrote: > Thanks David. > If I would like to fine tune up_threshold and sampling_down_factor for > say OMAP platform, is there any way to do it in kernel itself? > I know these are configurable via sysfs entries. But if I want to > optimize t

Re: Issues with ondemand governor

2010-11-25 Thread Vishwanath Sripathy
Thanks David. If I would like to fine tune up_threshold and sampling_down_factor for say OMAP platform, is there any way to do it in kernel itself? I know these are configurable via sysfs entries. But if I want to optimize them in kernel itself, is there anyway? I see that default values are set in

Re: Issues with ondemand governor

2010-11-25 Thread David C Niemi
Thanks for running the tests, Vishwa. Your results are what I'd expect but it's good to see independent confirmation. In my benchmarks I saw 95-100% of the performance governor's performance, but the conditions were more favorable and the original ondemand governor was "only" degrading performan

Re: Issues with ondemand governor

2010-11-24 Thread Vishwanath Sripathy
Amit, On Tue, Nov 23, 2010 at 8:22 PM, Amit Kucheria wrote: > Vishwa, > > Have you had a chance to do some usetime tests with these changes? I did test USB performance with this and I see ondmeand is 90% close to performance. > > It would be interesting to measure the power consumption with and >

Re: Issues with ondemand governor

2010-11-23 Thread Amit Kucheria
Vishwa, Have you had a chance to do some usetime tests with these changes? It would be interesting to measure the power consumption with and without these changes. /Amit On Tue, Nov 23, 2010 at 5:59 PM, Vishwanath Sripathy wrote: > Thanks David for the inputs. > I tried your patch. In addition

Re: Issues with ondemand governor

2010-11-23 Thread Vishwanath Sripathy
Thanks David for the inputs. I tried your patch. In addition to that I reduced transition_latency. With these 2 changes, I do see much better results (worst case performance of ondemand is 88%). Vishwa On Mon, Nov 22, 2010 at 9:39 PM, David C Niemi wrote: > The general problem here is that the

Re: Issues with ondemand governor

2010-11-22 Thread David C Niemi
The general problem here is that the ondemand governor is aimed more at power savings than performance. In cases where the ondemand governor performs worse than the performance governor, the "sampling_down_factor" tunable is often useful. I submitted the patch to add this tunable a few weeks ago

Issues with ondemand governor

2010-11-22 Thread Vishwanath Sripathy
Hi, I was trying to investigate performance issues that we were seeing with some usecases like Video playback on OMAP Platforms with ondemand governor. As part of this, I found a tool called cpufreq-bench (http://lwn.net/Articles/339862) which can be used determine the performance impact of ondema