From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stratos Karafotis Subject: Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency Date: Tue, 09 Apr 2013 19:56:53 +0300 Message-ID: <51644855.1090300@semaphore.gr> References: <3060957.HxB12olH3c@vostro.rjw.lan> <515CBB98.4020607@semaphore.gr> <515F2AF3.9050709@semaphore.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <515F2AF3.9050709@semaphore.gr> Sender: cpufreq-owner@vger.kernel.org To: Viresh Kumar , "Rafael J. Wysocki" Cc: cpufreq@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-pm@vger.kernel.org On 04/05/2013 10:50 PM, Stratos Karafotis wrote: > Hi Viresh, > > On 04/04/2013 07:54 AM, Viresh Kumar wrote: >> Hi Stratos, >> >> Yes, your results show some improvements. BUT if performance is the only thing >> we were looking for, then we will never use ondemand governor but performance >> governor. >> >> I suspect this little increase in performance must have increased power numbers >> too (significantly). So, if you can get numbers in the form of power/performance >> with and without your patch, it will be great. >> >> -- >> viresh >> > > I run some more tests. I increased the number of iterations to 100 (from 20). > I also test for counter 1,000,000 (~4200us), 5,000,000 (~10000us), 15,000,000 (~30000us). > > This time, I also extracted statistics from cpufreq_stats driver. I think this will be an > indication for power consumption. Below the results and attached the program I used for to > get these numbers. Any comments would be appreciated. Thanks, Stratos