From: James Bottomley Subject: Re: Massive power regression going 3.4->3.5 Date: Thu, 02 Aug 2012 08:20:01 +0100 Message-ID: <1343892001.2874.0.camel@dabdike.int.hansenpartnership.com> References: <1343477958.2891.6.camel@dabdike.int.hansenpartnership.com> <1343557599.2745.1.camel@dabdike.int.hansenpartnership.com> <201207291544.26334.rjw@sisk.pl> <201207292125.21376.rjw@sisk.pl> <1343641574.2905.2.camel@dabdike.int.hansenpartnership.com> <1343660041.2966.2.camel@dabdike.int.hansenpartnership.com> <86a9yh2oqe.fsf@sumi.keithp.com> <1343667940.5640.1.camel@dabdike.int.hansenpartnership.com> <864nop2jma.fsf@sumi.keithp.com> <1343719914.5640.8.camel@dabdike.int.hansenpartnership.com> <1343722002.3516.1.camel@dabdike.int.hansenpartnership.com> <1343723344_20808@CP5-2952> <1343727455.2930.0.camel@dabdike.int.hansenpartnership.com> <1343728466_21110@CP5-2952> <1343728630.12484.0.camel@dabdike.int.hansenpartnership.com> <1343729665_21195@CP5-2952> <1343762668_23120@CP5-2952> <1343808372.3047.1.camel@dabdike.int.hansenpartnership.com> <1343808986_25082@CP5-2952> <1343810704.2960.2.camel@dabdike.int.hansenpartnership.com> <1343811538_25213@CP5-2952> <1343813916.2960.23.camel@dabdike.int.hansenpartnership.com> <1343815571_25502@CP5-2952> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from bedivere.hansenpartnership.com (bedivere.hansenpartnership.com [66.63.167.143]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EB9B9EF13 for ; Thu, 2 Aug 2012 00:20:07 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: bwidawsk Cc: Ben Widawsky , linux-pm@vger.kernel.org, Greg Kroah-Hartman , dri-devel@lists.freedesktop.org, "Rafael J. Wysocki" List-Id: dri-devel@lists.freedesktop.org On Wed, 2012-08-01 at 22:08 -0700, bwidawsk wrote: > On 2012-08-01 03:06, Chris Wilson wrote: > > On Wed, 01 Aug 2012 10:38:36 +0100, James Bottomley > > wrote: > >> On Wed, 2012-08-01 at 09:58 +0100, Chris Wilson wrote: > >> > On Wed, 01 Aug 2012 09:45:04 +0100, James Bottomley > >> wrote: > >> > > On Wed, 2012-08-01 at 09:16 +0100, Chris Wilson wrote: > >> > > > On Wed, 01 Aug 2012 09:06:12 +0100, James Bottomley > >> wrote: > >> > > > > I got the attached to apply and it doesn't really improve > >> the idle power > >> > > > > much (12.5W). > >> > > > > >> > > > That's good to know. Next step is to try overriding > >> i915.semaphores. > >> > > > Can you please test with i915.semaphores=0 and > >> i915.semaphores=1? > >> > > > >> > > There's not much point doing i915_semaphores=1 since that's the > >> default > >> > > on gen 6 hardware, but i915_semaphores=0 recovers and idle power > >> of > >> > > ~6.5W > >> > > >> > It is only the default if iommu is off, and changing the default > >> > was one of the side-effects of the patch you bisected. > >> > > >> > Can you please login to the desktop, let it idle, record > >> > /sys/kernel/debug/dri/0/i915_cur_delayinfo and .../i915_drpc_info. > >> > Then trace-cmd record -e i915 sleep 10s, > >> > >> OK, what is trace-cmd? It looks similar to perf tools ... is that > >> it? > > > > Yes, it is roughly equivalent and you should be able to achieve the > > same > > with perf trace - except I haven't done it before so I don't have > > quick > > advice on how to drive it. :) > > -Chris > > Should be something like: > perf record -f -g -e i915:* -a I already sent the output of trace-cmd ... is that enough? James